Open utterances-bot opened 2 years ago
Hello, many thanks for this excellent documentation.
Unfortunately I fail with the following step:
Test vip
ping <vip-ip>
There was no error before.
I think after creating the manifest /var/lib/rancher/k3s/server/manifests/kube-vip.yaml there's one step missing.
(I think the content of this manifest is correct and complete.)
Can you please advise how to fix the issue?
THX
Hi @cmonty14. There is no missing step. K3S has a function called autodeploy. Any file found in /var/lib/rancher/k3s/server/manifests will automatically be deployed to Kubernetes in a manner similar to kubectl apply. So check the logs of the k3s. If the kube-vip.yaml can be deployed by k3s check the logs of the kube-vip pod in the kube-system namespace.
@cmonty14 Yes it can be a loadbalancer too. If you carefully read my post it is under the Install kube-vip as network LoadBalancer
chapter. When I write this post I used an older version of k3s for that. Whit the update of the k3s version you need to update the kube-vip version so I straggly advice to use the latest version of the kube-vip.
Hi @devopstales, the latest version of kube-vip found on docker hub (as of this writing) is v0.4.2. Could you point us to where version 2.3.8 can be found?
Currently having some issues with the above setup. Observing
retrywatcher.go:130] "Watch failed" err="unknown (get services)
on the logs of kube-vip-cluster-xxx. Any clues?
Thanks.
@dleeha not 2.3.8 it is 0.3.8. I didn't see this error before but I thin you shod ask for help at https://github.com/kube-vip/kube-vip instead of here. I am not the maintainer of this software.
Install K3S with k3sup and kube-vip - devopstales
https://devopstales.github.io/kubernetes/k3s-etcd-kube-vip/