mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-06 03:33:26 +00:00
rename default DNS domain to cluster.local
This commit is contained in:
@@ -54,8 +54,8 @@ DOCKER_OPTS=""
|
||||
ENABLE_CLUSTER_DNS=true
|
||||
# DNS_SERVER_IP must be a IP in PORTAL_NET range
|
||||
DNS_SERVER_IP="192.168.3.10"
|
||||
DNS_DOMAIN="kubernetes.local"
|
||||
DNS_DOMAIN="cluster.local"
|
||||
DNS_REPLICAS=1
|
||||
|
||||
# Optional: Enable setting flags for kube-apiserver to turn on behavior in active-dev
|
||||
#RUNTIME_CONFIG=""
|
||||
#RUNTIME_CONFIG=""
|
||||
|
@@ -31,7 +31,7 @@ spec:
|
||||
image: gcr.io/google_containers/kube2sky:1.4
|
||||
args:
|
||||
# entrypoint = "/kube2sky"
|
||||
- -domain=kubernetes.local
|
||||
- -domain=cluster.local
|
||||
- -kubecfg_file=/etc/dns_token/kubeconfig
|
||||
volumeMounts:
|
||||
- mountPath: /etc/dns_token
|
||||
@@ -43,7 +43,7 @@ spec:
|
||||
# entrypoint = "/skydns"
|
||||
- -machines=http://localhost:4001
|
||||
- -addr=0.0.0.0:53
|
||||
- -domain=kubernetes.local.
|
||||
- -domain=cluster.local.
|
||||
ports:
|
||||
- containerPort: 53
|
||||
name: dns
|
||||
|
Reference in New Issue
Block a user