Problem: Invalid command to get kube-dns IP

This commit is contained in:
Ahmed Muawia Khan 2018-03-27 19:44:00 +02:00
parent 3cf921b32d
commit 5162a0a163
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'