This commit is contained in:
Jonas Forsberg 2021-11-06 09:18:54 +00:00
parent 8318cb3597
commit 00c8e92410

View File

@ -1,12 +1,18 @@
# Harvester 0.3.0 # Harvester 0.3.0
Q: KubeConfig doesn't work, not valid for kube-vip IP, only for some "random" IPs in flannel network. ## KubeConfig doesn't work, not valid for kube-vip IP, only for some "random" IPs in flannel network.
A: This can happen when cluster is restarted, maybe if rancher pods are restarted, can be fixed with: `kubectl annotate secrets -n cattle-system tls-rancher-internal listener.cattle.io/cn-<kube-vip>=<kube-vip>` This can happen when cluster is restarted, maybe if rancher pods are restarted, can be fixed with: `kubectl annotate secrets -n cattle-system tls-rancher-internal listener.cattle.io/cn-<kube-vip>=<kube-vip>`
<kube-vip> = cluster IP address
`<kube-vip> = cluster IP address`
`kubectl annotate secrets -n cattle-system tls-rancher-internal listener.cattle.io/cn-172.18.0.20=172.18.0.20` `kubectl annotate secrets -n cattle-system tls-rancher-internal listener.cattle.io/cn-172.18.0.20=172.18.0.20`
https://github.com/harvester/harvester/issues/1475 https://github.com/harvester/harvester/issues/1475
Q: Need to boot with no nomodeset on harvester 0.3.0 nodes ## Need to boot with no nomodeset on harvester 0.3.0 nodes
A: https://docs.harvesterhci.io/v0.3/troubleshooting/os/#how-to-permanently-edit-kernel-parameters https://docs.harvesterhci.io/v0.3/troubleshooting/os/#how-to-permanently-edit-kernel-parameters
```
mount -o remount,rw $(blkid -L COS_STATE) /run/initramfs/cos-state mount -o remount,rw $(blkid -L COS_STATE) /run/initramfs/cos-state
vim /run/initramfs/cos-state/grub2/grub.cfg vim /run/initramfs/cos-state/grub2/grub.cfg
```