kube-vip shoud fail if kube_proxy_strict_arp is false in arp mod (#9223)

* fix-kube-vip-strict-arp

* fix-kube-vip-strict-arp
This commit is contained in:
Kay Yan
2022-08-30 15:21:02 +08:00
committed by GitHub
parent de762400ad
commit b46ddf35fc
4 changed files with 17 additions and 2 deletions

View File

@@ -1,4 +1,11 @@
---
- name: kube-vip | Check cluster settings for kube-vip
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
- name: kube-vip | Write static pod
template:
src: manifests/kube-vip.manifest.j2