标签:source kubectl eof /etc/ 阿里 install hub etc curl
dockerhub加速地址:
--registry-mirror=https://8mgus5o0.mirror.aliyuncs.com
Ubuntu添加阿里云kubernetes源:
# 添加可信密钥
curl -s http://mirrors.aliyun.com/kubernetes/apt/doc/apt-key.gpg | apt-key add -
#添加源地址
cat <<EOF > /etc/apt/sources.list.d/kubernetes.list
deb http://mirrors.aliyun.com/kubernetes/apt kubernetes-xenial main
EOF
#更新
apt-get update
#安装
apt-get install -y kubelet kubeadm kubectl
标签:source kubectl eof /etc/ 阿里 install hub etc curl
原文地址:https://www.cnblogs.com/ccorz/p/rong-qi-xiang-guan-yuan.html