k3s-ansible/roles
Timothy Stewart 280cbd0283 feat(kube-vip): add endpoint override for the internal listening address
Add a kube_vip_endpoint variable so the address kube-vip binds and listens on
can differ from the announced apiserver_endpoint. This is useful for complex
routing and site-to-site tunnels where the VIP kube-vip advertises over ARP
differs from the address it listens on internally.

- roles/k3s_server/templates/vip.yaml.j2: use kube_vip_endpoint (defaulting to
  apiserver_endpoint) for the `address` env and for deriving `vip_subnet`
- roles/k3s_server/defaults/main.yml: add kube_vip_endpoint default (null)
- roles/k3s_server/meta/main.yml: add kube_vip_endpoint argument_spec
- inventory/sample/group_vars/all.yml: document the new sample variable
- README.md: document the kube_vip_endpoint option
- .github/scripts/test-kube-vip-manifest.py: extend regression test to cover the
  default (apiserver_endpoint) and the override case

Closes #221
2026-08-05 07:43:59 -05:00
..
download fix(ci): harden Molecule download and cleanup 2026-08-01 12:27:12 -05:00
k3s/node/defaults Replace hardcoded 'master' group name with 'group_name_master' variable (#337) 2023-07-21 16:37:57 -05:00
k3s_agent fix(token): escape percent signs used in k3s token (#682) 2026-08-02 19:27:17 +00:00
k3s_custom_registries Change to FQCN with ansible-lint fixer (#553) 2024-08-12 22:59:59 -05:00
k3s_server feat(kube-vip): add endpoint override for the internal listening address 2026-08-05 07:43:59 -05:00
k3s_server_post feat(metallb): add option to limit MetalLB layer2 announcements to specific interfaces (#696) 2026-08-05 02:48:24 -05:00
lxc Variable documentation (#606) 2024-11-06 10:27:19 -06:00
prereq feat(prereq): add toggle to disable swap on all cluster nodes (#698) 2026-08-05 07:39:00 -05:00
proxmox_lxc Variable documentation (#606) 2024-11-06 10:27:19 -06:00
raspberrypi Variable documentation (#606) 2024-11-06 10:27:19 -06:00
reset Change to FQCN with ansible-lint fixer (#553) 2024-08-12 22:59:59 -05:00
reset_proxmox_lxc Variable documentation (#606) 2024-11-06 10:27:19 -06:00