ubuntu 1804 k8s

cat <<EOF > /etc/apt/sources.list.d/kubernetes.list
deb http://mirrors.aliyun.com/kubernetes/apt/ kubernetes-xenial main
EOF

 

curl -s https://mirrors.aliyun.com/kubernetes/apt/doc/apt-key.gpg | sudo apt-key add -

 

 

apt-get update

apt-get install kubelet
apt-get install kubeadm

apt-get install kubectl
apt-get install kubernetes-cni

 

posted @ 2020-08-07 10:42  fndefbwefsowpvqfx  阅读(107)  评论(0编辑  收藏  举报