make kube-vip LeaderElection variables configurable (#11021)

Signed-off-by: KubeKyrie <shaolong.qin@daocloud.io>
This commit is contained in:
kyrie
2024-03-25 17:24:57 +08:00
committed by GitHub
parent 01c86af77f
commit baf4842774
3 changed files with 15 additions and 4 deletions

View File

@@ -76,3 +76,11 @@ In addition, [load-balancing method](https://kube-vip.io/docs/installation/flags
```yaml
kube_vip_lb_fwdmethod: masquerade
```
If you want to adjust the parameters of [kube-vip LeaderElection](https://kube-vip.io/docs/installation/flags/#environment-variables):
```yaml
kube_vip_leaseduration: 30
kube_vip_renewdeadline: 20
kube_vip_retryperiod: 4
```