#10.96.0.10是init时的svc地址段
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 -i 10.96.0.10 >coredns.yml
kubectl apply -f coredns.yml

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code