Merge pull request #2158 from muawiakh/invalid-kube-dns-command

Problem: Invalid command to get kube-dns IP
This commit is contained in:
Troy McConaghy 2018-03-27 20:01:11 +02:00 committed by GitHub
commit f71818c837
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -74,12 +74,11 @@ vars.NODE_DNS_SERVER
IP of Kubernetes service(kube-dns), can be retrieved using
using CLI(kubectl) or k8s dashboard. This parameter is used by the Nginx gateway instance
to resolve the hostnames of all the services running in the k8s cluster.
The value defaults to `10.0.0.1`.
.. code::
# retrieval via commandline.
$ kubectl get services
$ kubectl get pods --namespace=kube-system -l k8s-app=kube-dns
.. _generate-config:

View File

@ -41,6 +41,6 @@ TM_GENESIS_TIME='0001-01-01T00:00:00Z'
TM_CHAIN_ID='test-chain-rwcPML'
# IP Address of the resolver(DNS server).
# i.e. IP of `kubernetes` service(kube-dns)
# Can be retrieved using `$ kubectl get svc`
# i.e. IP of `kube-dns`, can be retrieved using:
# $ kubectl get pods --namespace=kube-system -l k8s-app=kube-dns
NODE_DNS_SERVER='10.0.0.10'