add ability to specify default LB when using ipvs

This commit is contained in:
2024-12-21 15:33:15 +03:00
parent e2dabc8728
commit 46e057e41b
4 changed files with 10 additions and 3 deletions

View File

@@ -123,6 +123,7 @@ kube_apiserver_port: 6443 # (https)
# Kube-proxy proxyMode configuration.
# Can be ipvs, iptables
kube_proxy_mode: ipvs
kube_proxy_scheduler: lc
# configure arp_ignore and arp_announce to avoid answering ARP queries from kube-ipvs0 interface
# must be set to true for MetalLB, kube-vip(ARP enabled) to work
@@ -404,7 +405,6 @@ kubeadm_patches:
enabled: false
source_dir: "{{ inventory_dir }}/patches"
dest_dir: "{{ kube_config_dir }}/patches"
## Kubelet additional settings
kubelet_custom_flags:
- "--root-dir=/app/k8s/kubelet"
- "--root-dir=/app/k8s/kubelet"