Ubuntu 18.04 离线安装Kubernetes v1.11.1

root@ubuntugit03:/home/git/k8s.v1.11.1/nginx-ingress# kubeadm join 192.168.20.29:6443 –token octd7p.vmgmveemrf1xus10 –discovery-token-ca-cert-hash sha256:383cca31edd1d624959c21f86fb837c2ae20eace20702229adb454334b388b08 [preflight] running pre-flight checks [WARNING RequiredIPVSKernelModulesAvailable]: the IPVS proxier will not be used, because the following required kernel modules are not loaded: [ip_vs ip_vs_rr ip_vs_wrr ip_vs_sh] or no builtin kernel ipvs support: map[ip_vs_rr:{} ip_vs_wrr:{} ip_vs_sh:{} nf_conntrack_ipv4:{} ip_vs:{}] you can solve this problem with following methods: 1. Run ‘modprobe — ‘ to load missing kernel modules; 2. Provide the missing builtin kernel ipvs support

I0822 19:52:57.328622 28713 kernel_validator.go:81] Validating kernel version I0822 19:52:57.328938 28713 kernel_validator.go:96] Validating kernel config [WARNING SystemVerification]: docker version is greater than the most recently validated version. Docker version: 18.03.1-ce. Max validated version: 17.03 [discovery] Trying to connect to API Server “192.168.20.29:6443” [discovery] Created cluster-info discovery client, requesting info from “https://192.168.20.29:6443” [discovery] Requesting info from “https://192.168.20.29:6443” again to validate TLS against the pinned public key [discovery] Cluster info signature and contents are valid and TLS certificate validates against pinned roots, will use API Server “192.168.20.29:6443” [discovery] Successfully established connection with API Server “192.168.20.29:6443” [kubelet] Downloading configuration for the kubelet from the “kubelet-config-1.11” ConfigMap in the kube-system namespace Unauthorized

你好这个错误是什么原因呢?

菜鸟专家5年前 (2018-08-23)登录以回复