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.
This commit is contained in:
Shaun Stanworth 2015-06-30 17:48:15 +01:00
parent 102a8a1e36
commit 74bb1b349a

View File

@ -70,7 +70,7 @@ coreos:
--allow_privileged=False \ --allow_privileged=False \
--v=2 \ --v=2 \
--cluster_dns=10.0.0.10 \ --cluster_dns=10.0.0.10 \
--cluster_domain=kubernetes.local \ --cluster_domain=${DNS_DOMAIN} \
--logtostderr=true \ --logtostderr=true \
--hostname-override=${HOSTNAME_OVERRIDE} \ --hostname-override=${HOSTNAME_OVERRIDE} \
--container-runtime=${KUBERNETES_CONTAINER_RUNTIME} --container-runtime=${KUBERNETES_CONTAINER_RUNTIME}