diff --git a/docs/server/source/production-deployment-template/node-config-map-and-secrets.rst b/docs/server/source/production-deployment-template/node-config-map-and-secrets.rst index 991cff6c..f5000a79 100644 --- a/docs/server/source/production-deployment-template/node-config-map-and-secrets.rst +++ b/docs/server/source/production-deployment-template/node-config-map-and-secrets.rst @@ -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: diff --git a/k8s/scripts/vars b/k8s/scripts/vars index 092af112..97609174 100644 --- a/k8s/scripts/vars +++ b/k8s/scripts/vars @@ -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'