Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

https://devopstales.github.io/kubernetes/k3s-etcd-kube-vip/ #7

Open
utterances-bot opened this issue Feb 18, 2022 · 6 comments
Open

Comments

@utterances-bot
Copy link

Install K3S with k3sup and kube-vip - devopstales

https://devopstales.github.io/kubernetes/k3s-etcd-kube-vip/

Copy link

cmonty14 commented Feb 18, 2022

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

@devopstales
Copy link
Owner

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
Copy link

Hi @devopstales,

thanks for your reply.

When I was investigating this issue I found another deployment guide on YT.

Here there are some modifications to the manifest file.
This is documented here.

Do you confirm that latest kube-vip can load balance services, too?

@devopstales
Copy link
Owner

@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.

Copy link

dleeha commented Mar 5, 2022

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.

@devopstales
Copy link
Owner

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants