kubespray部署k8s

0.把外网的/usr/local/bin/*拷过来覆盖

1.把部署好的集群的

calicoctl
cni-plugins-linux-amd64-v0.8.1.tgz
kubeadm-v1.16.3-amd64
kubectl-v1.16.3-amd64
kubelet-v1.16.3-amd64

拷到/usr/local/bin/

2.修改yml文件,把Copy * 都删除掉

./extra_playbooks/roles/download/tasks/prep_kubeadm_images.yml
./extra_playbooks/roles/kubernetes/node/tasks/install.yml
./extra_playbooks/roles/kubernetes/node/tasks/install.yml
./roles/kubernetes/node/tasks/install.yml
./extra_playbooks/roles/kubernetes/master/tasks/main.yml
./roles/kubernetes/master/tasks/main.yml
/opt/kubespray-2.11.0/roles/download/tasks/prep_kubeadm_images.yml
./roles/kubernetes/client/tasks/main.yml
 ./extra_playbooks/roles/kubernetes/client/tasks/main.yml

 https://www.kubernetes.org.cn/5012.html

你可能感兴趣的:(kubespray部署k8s)