feat(k3s): replace nginx loadbalancer with kube-vip for control-plane HA
Deploys kube-vip as a DaemonSet on all k3s server nodes, advertising a VIP (192.168.20.2) via ARP. Eliminates the single-point-of-failure k3s-loadbalancer VM. - New kube_vip role: RBAC + DaemonSet templates, TLS SAN cert rotation - playbooks/kube-vip.yaml: migration playbook (serial=1, idempotent) - Updated k3s install tasks (server primary/secondary, agent) to use k3s_vip instead of the loadbalancer VM IP - Added k3s_vip: 192.168.20.2 to group_vars (below DHCP range .11-.250) Migration steps in playbook header comment.
This commit is contained in:
5
roles/kube_vip/vars/main.yaml
Normal file
5
roles/kube_vip/vars/main.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
kube_vip_version: "v0.8.9"
|
||||
kube_vip_interface: "eth0"
|
||||
kube_vip_manifests_dir: "/var/lib/rancher/k3s/server/manifests"
|
||||
kube_vip_static_pod_path: "/var/lib/rancher/k3s/agent/pod-manifests/kube-vip.yaml"
|
||||
Reference in New Issue
Block a user