k8s
作者:互联网
1. docker环境
2. k8s环境
cat <<EOF > /etc/yum.repos.d/kubernetes.repo [kubernetes] name=Kubernetes baseurl=https://mirrors.aliyun.com/kubernetes/yum/repos/kubernetes-el7-x86_64/ enabled=1 gpgcheck=1 repo_gpgcheck=1 gpgkey=https://mirrors.aliyun.com/kubernetes/yum/doc/yum-key.gpg https://mirrors.aliyun.com/kubernetes/yum/doc/rpm-package-key.gpg EOF
yum install -y kubelet-1.17.3 kubeadm-1.17.3 kubectl-1.17.3
systemctl enable kubelet
systemctl start kubelet
systemctl status kubelet【正常情况启动不成功:一直启动中
systemctl enable docker.service
2. master
标签:1.17,aliyun,kubernetes,mirrors,yum,https,k8s 来源: https://www.cnblogs.com/yifanSJ/p/14853540.html