2022-04-08 01:37:57 +08:00
|
|
|
---
|
2023-07-26 22:36:22 +08:00
|
|
|
- name: Kube-vip | Check cluster settings for kube-vip
|
2022-08-30 15:21:02 +08:00
|
|
|
fail:
|
|
|
|
msg: "kube-vip require kube_proxy_strict_arp = true, see https://github.com/kube-vip/kube-vip/blob/main/docs/kubernetes/arp/index.md"
|
|
|
|
when:
|
|
|
|
- kube_proxy_mode == 'ipvs' and not kube_proxy_strict_arp
|
|
|
|
- kube_vip_arp_enabled
|
|
|
|
|
2023-07-26 22:36:22 +08:00
|
|
|
- name: Kube-vip | Write static pod
|
2022-04-08 01:37:57 +08:00
|
|
|
template:
|
|
|
|
src: manifests/kube-vip.manifest.j2
|
|
|
|
dest: "{{ kube_manifest_dir }}/kube-vip.yml"
|
|
|
|
mode: 0640
|