启动docker服务
systemctl start docker.service
启动kube-apiserver服务
systemctl start kube-apiserver.service
启动etcd服务
systemctl start etcd.service
启动kube控制管理器
systemctl start kube-controller-manager.service
停止kube相关的服务,注意执行顺序
systemctl stop docker.service
systemctl stop kube-apiserver.service
systemctl stop etcd.service
systemctl stop kube-controller-manager.service
systemctl stop kube-scheduler.service
systemctl stop kube-proxy.service