简体   繁体   中英

Kube Proxy - IPVS proxier will not be used because the following required kernel modules are not loaded: [ip_vs_wrr ip_vs_sh]

I have setup Kubernetes 1.15 cluster on CentOS 7.6 server using IPVS. when I reboot the server kube-proxy changing to iptables mode. If I run modprobe -a ip_vs ip_vs_rr ip_vs_wrr ip_vs_sh nf_conntrack_ipv4 command and restart the kube-proxy on that node kube-proxy starting in IPVS mode.

What is the best way to fix this issue during the reboot?

Thanks

SR

Did you mark the required modules to load at boot time, automatically?

You can edit the file /etc/modules (or create a new file in /etc/modules-load.d ) containing names of required ones

ip_vs
ip_vs_rr
ip_vs_wrr
ip_vs_sh
nf_conntrack_ipv4

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM