Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kubeadm: fix RequiredIPVSKernelModulesAvailable warning message #74033

Commits on Feb 13, 2019

  1. 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
    bart0sh committed Feb 13, 2019
    Copy the full SHA
    09a2e49 View commit details
    Browse the repository at this point in the history