* Add script to generate manifest (#504)

This commit is contained in:
John Belamaric
2017-02-07 02:36:01 -05:00
committed by Miek Gieben
parent 123a76c91e
commit e8ebcd3cfd
3 changed files with 122 additions and 0 deletions

View File

@@ -128,4 +128,14 @@ all values. The labels that accept wildcards are:
* multiple wild cards are allowed in a single query.
* e.g. `A` Request `*.*.svc.zone.` or `SRV` request `*.*.*.*.svc.zone.`
## deploy.sh and coredns.yaml.sed
A convenience script to generate a manifest for running CoreDNS on a cluster that is currently
running standard kube-dns. It creates a ConfigMap and a CoreDNS deployment, then updates the
Kube-DNS service selector to use the CoreDNS deployment. It doesn't delete the kube-dns
deployment or replication controller - you'll have to do that manually.
~~~
$ ./deploy.sh 10.3.0.0/24 | kubectl apply -f -
$ kubectl delete --namespace=kube-system deployment kube-dns
~~~