From 74bb1b349aa73ebd23a7b3274198c3990ce76a73 Mon Sep 17 00:00:00 2001 From: Shaun Stanworth Date: Tue, 30 Jun 2015 17:48:15 +0100 Subject: [PATCH] Respect DNS_DOMAIN setting in AWS+CoreOS Without this change, CoreOS minion nodes are unable to perform short-name DNS lookups by default, as the default value for `DNS_DOMAIN` is `cluster.local`, which doesn't match the hard-coded value here. --- cluster/aws/coreos/node.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/aws/coreos/node.yaml b/cluster/aws/coreos/node.yaml index a5d5486605d..286abdea1ac 100644 --- a/cluster/aws/coreos/node.yaml +++ b/cluster/aws/coreos/node.yaml @@ -70,7 +70,7 @@ coreos: --allow_privileged=False \ --v=2 \ --cluster_dns=10.0.0.10 \ - --cluster_domain=kubernetes.local \ + --cluster_domain=${DNS_DOMAIN} \ --logtostderr=true \ --hostname-override=${HOSTNAME_OVERRIDE} \ --container-runtime=${KUBERNETES_CONTAINER_RUNTIME}