yum install -y *rhsm* etcd kubernetes flannel
yum install -y vim wget

systemctl disable firewalld
systemctl stop firewalld
systemctl status firewalld

master:

systemctl enable etcd kube-apiserver kube-controller-manager kube-scheduler kubelet kube-proxy
systemctl start etcd kube-apiserver kube-controller-manager kube-scheduler kubelet kube-proxy
systemctl status etcd kube-apiserver kube-controller-manager kube-scheduler kubelet kube-proxy

node:
systemctl enable docker kubelet kube-proxy
systemctl start docker kubelet kube-proxy
systemctl status docker kubelet kube-proxy

Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐