mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 18:53:43 -04:00
* Add script to generate manifest (#504)
This commit is contained in:
committed by
Miek Gieben
parent
123a76c91e
commit
e8ebcd3cfd
@@ -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
|
||||
~~~
|
||||
|
||||
Reference in New Issue
Block a user