删除已有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