删除已有pod

kubectl delete --namespace=kube-system deployment coredns

重新安装

wget https://raw.githubusercontent.com/coredns/deployment/master/kubernetes/coredns.yaml.sed
wget https://raw.githubusercontent.com/coredns/deployment/master/kubernetes/deploy.sh
chmod +x deploy.sh
./deploy.sh | kubectl apply -f -

发表评论

您的电子邮箱地址不会被公开。

Captcha Code