kubeadm init# 网络插件kubectl apply -f "https://cloud.weave.works/k8s/net?k8s-version=$(kubectl version | base64 | tr -d '\n')"# 查看 pod ipkubectl get pods -n kube-system -o wide
让 master 承担负载:
$ kubectl taint nodes --all node-role.kubernetes.io/master-
