0

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

Tibebes. M
  • 6,940
  • 5
  • 15
  • 36
sfgroups
  • 18,151
  • 28
  • 132
  • 204

1 Answers1

3

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
prometherion
  • 2,119
  • 11
  • 22