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

Kube-vip for Control plane only - A lot of restarts #29

Open
tardich opened this issue Mar 6, 2024 · 1 comment
Open

Kube-vip for Control plane only - A lot of restarts #29

tardich opened this issue Mar 6, 2024 · 1 comment

Comments

@tardich
Copy link

tardich commented Mar 6, 2024

Hello.

I'm on K8S 1.29 (from a RKE2 cluster), and running kube-vip as control plane only HA, and seeing a lot of pod restarts that translate of multiple access loss with the API, which is kind of annoying.

The deployment is rather simple. Values are:

image:
  tag: v0.7.1
env:
  vip_interface: bond0
  vip_leaderelection: true
  svc_enable: false
  cp_enable: true
  vip_leaseduration: 5
  vip_renewdeadline: 3
  vip_retryperiod: 1
[...]

DaemonSet is running, obviously, on control nodes only. The pods look like:

kube-vip-g7d2z 1/1 Running 9 (2m26s ago) 66m
kube-vip-h5vqt 1/1 Running 6 (10m ago) 66m
kube-vip-nkhpr 1/1 Running 5 (2m13s ago) 66m

Logs showing:

level=fatal msg="lost leadership, restarting kube-vip"

Any clue?

@thebsdbox
Copy link
Contributor

Is etcd/or the API server crashing a lot too? Also what is the infrastructure?

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

2 participants