k3s/pkg/util/ipvs
Ed Bartosh 09a2e49a94 kubeadm: fix RequiredIPVSKernelModulesAvailable warning message
RequiredIPVSKernelModulesAvailable warning confuses users suggesting
that the IPVS proxier will not be used, which is not always the case.

Made the warning message less confusing:

        [WARNING RequiredIPVSKernelModulesAvailable]:
The IPVS proxier may not be used because the following required kernel
modules are not loaded: [ip_vs_rr ip_vs_wrr ip_vs_sh]
or no builtin kernel ipvs support was found: map[ip_vs_wrr:{}
ip_vs_sh:{} nf_conntrack_ipv4:{} ip_vs:{} ip_vs_rr:{}].
However, these modules may be loaded automatically by kube-proxy for you
if they are available on your system.

To verify IPVS support:

   Run "lsmod | grep 'ip_vs\|nf_conntrack'" and verify each of the above
modules are listed.

If they are not listed, you can use the following methods to load them:

1. For each missing module run 'modprobe $modulename' (e.g., 'modprobe
ip_vs', 'modprobe ip_vs_rr', ...)
2. If 'modprobe $modulename' returns an error, you will need to install
the missing module support for your kernel.

Fixes: kubernetes/kubeadm#975
2019-02-13 22:54:34 +02:00
..
testing ipvs connection based graceful termination 2018-09-27 15:16:48 +08:00
BUILD kubeadm: fix RequiredIPVSKernelModulesAvailable warning message 2019-02-13 22:54:34 +02:00
OWNERS Merge pull request #72185 from dcbw/owners-label-sig-network 2019-02-08 10:36:16 -08:00
ipvs.go use 'nf_conntrack' instead of 'nf_conntrack_ipv4' for linux kernel >= 4.19 2018-11-05 10:33:31 +08:00
ipvs_linux.go [kube-proxy/ipvs] Protect Netlink calls with a mutex 2018-12-27 10:53:27 +01:00
ipvs_linux_test.go K8s SCTP support implementation for the first pull request 2018-08-27 05:56:27 +00:00
ipvs_test.go fix bugs introduced by ipvs graceful termination 2018-09-30 16:40:13 +08:00
ipvs_unsupported.go ipvs support graceful termination 2018-09-27 15:14:51 +08:00
kernelcheck_linux.go kubeadm: fix RequiredIPVSKernelModulesAvailable warning message 2019-02-13 22:54:34 +02:00
kernelcheck_linux_test.go use 'nf_conntrack' instead of 'nf_conntrack_ipv4' for linux kernel >= 4.19 2018-11-05 10:33:31 +08:00
kernelcheck_unsupported.go load kernel modules required by IPVS in kubeadm 2018-05-22 11:20:47 +08:00