Update coredns.md

pull/185/head
TrojanY 2018-04-17 12:17:08 +08:00 committed by GitHub
parent 30cb54565f
commit d8642f4a5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ Kubernetes集群中读取区zone数据。它实现了为Kubernetes的DNS
## 部署CoreDNS需要使用到官方的提供的两个文件 [deploy.sh](https://github.com/coredns/deployment/blob/master/kubernetes/deploy.sh)和[coredns.yaml.sed](https://github.com/coredns/deployment/blob/master/kubernetes/coredns.yaml.sed)
(这两个文件已经放入manifest的[coredns](/manifest/coredns)中)
(这两个文件已经放入manifest的[coredns](/manifests/coredns)中)
`deploy.sh` 是一个用于在已经运行kube-dns的集群中生成运行CoreDNS部署文件manifest的工具脚本。它使用
'coredns.yaml.sed'文件作为模板创建一个ConfigMap和CoreDNS的deployment, 然后更新集群中已有的kube-dns