K8S停止
CMD=stopsystemctl $CMD etcdecho "---------- $CMD: kube-apiserver --------"systemctl $CMD kube-apiserverecho "---------- $CMD: kube-controller-manager --------"systemctl $CMD kube-controller-managerech
·
CMD=stop
systemctl $CMD etcd
echo "---------- $CMD: kube-apiserver --------"
systemctl $CMD kube-apiserver
echo "---------- $CMD: kube-controller-manager --------"
systemctl $CMD kube-controller-manager
echo "---------- $CMD: kube-scheduler --------"
systemctl $CMD kube-scheduler
echo "---------- $CMD: kubelet--------"
systemctl $CMD kubelet
echo "---------- $CMD: kube-proxy--------"
systemctl $CMD kube-proxy
更多推荐
已为社区贡献7条内容
所有评论(0)