diff options
| author | Thibault Serot <thibserot@gmail.com> | 2015-12-30 23:48:00 +0100 |
|---|---|---|
| committer | Thibault Serot <thibserot@gmail.com> | 2016-02-21 18:55:06 +0100 |
| commit | 3a26a3eaffa596997f0f9742f6b1801936154f37 (patch) | |
| tree | 66cfe7c9cf0bbf35bf45d307c3c55737e2036a5b | |
| parent | 2aa062412ca3b71862b8c86fa1349b0f47447219 (diff) | |
Enabling DNS support in local-up-cluster.sh
| -rw-r--r-- | running-locally.md | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/running-locally.md b/running-locally.md index e5b1b40d..b30a7de6 100644 --- a/running-locally.md +++ b/running-locally.md @@ -175,7 +175,16 @@ One or more of the Kubernetes daemons might've crashed. Tail the logs of each in #### The pods fail to connect to the services by host names -The local-up-cluster.sh script doesn't start a DNS service. Similar situation can be found [here](http://issue.k8s.io/6667). You can start a manually. Related documents can be found [here](../../cluster/addons/dns/#how-do-i-configure-it) +To start the DNS service, you need to set the following variables: + +```sh +KUBE_ENABLE_CLUSTER_DNS=true +KUBE_DNS_SERVER_IP="10.0.0.10" +KUBE_DNS_DOMAIN="cluster.local" +KUBE_DNS_REPLICAS=1 +``` + +To know more on DNS service you can look [here](http://issue.k8s.io/6667). Related documents can be found [here](../../cluster/addons/dns/#how-do-i-configure-it) |
