Update kubedns to 1.14.2. (#1526)

* Update kubedns to 1.14.2.

* Also change integration test to cover the naked "kubernetes" domain.
pull/1539/head
dlorenc 2017-05-26 10:15:38 -07:00 committed by GitHub
parent 37f6985499
commit 99be45d40c
2 changed files with 5 additions and 5 deletions

View File

@ -44,7 +44,7 @@ spec:
optional: true optional: true
containers: containers:
- name: kubedns - name: kubedns
image: gcr.io/google_containers/k8s-dns-kube-dns-amd64:1.14.1 image: gcr.io/google_containers/k8s-dns-kube-dns-amd64:1.14.2
resources: resources:
# TODO: Set memory limits when we've profiled the container for large # TODO: Set memory limits when we've profiled the container for large
# clusters, then set request = limit to keep this container in # clusters, then set request = limit to keep this container in
@ -76,7 +76,7 @@ spec:
args: args:
- --domain=cluster.local. - --domain=cluster.local.
- --dns-port=10053 - --dns-port=10053
- --config-dir=/kube-dns-config - --config-map=kube-dns
- --v=2 - --v=2
env: env:
- name: PROMETHEUS_PORT - name: PROMETHEUS_PORT
@ -95,7 +95,7 @@ spec:
- name: kube-dns-config - name: kube-dns-config
mountPath: /kube-dns-config mountPath: /kube-dns-config
- name: dnsmasq - name: dnsmasq
image: gcr.io/google_containers/k8s-dns-dnsmasq-nanny-amd64:1.14.1 image: gcr.io/google_containers/k8s-dns-dnsmasq-nanny-amd64:1.14.2
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /healthcheck/dnsmasq path: /healthcheck/dnsmasq
@ -131,7 +131,7 @@ spec:
- name: kube-dns-config - name: kube-dns-config
mountPath: /etc/k8s/dns/dnsmasq-nanny mountPath: /etc/k8s/dns/dnsmasq-nanny
- name: sidecar - name: sidecar
image: gcr.io/google_containers/k8s-dns-sidecar-amd64:1.14.1 image: gcr.io/google_containers/k8s-dns-sidecar-amd64:1.14.2
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /metrics path: /metrics

View File

@ -59,7 +59,7 @@ func testClusterDNS(t *testing.T) {
} }
dnsByteArr, err := kubectlRunner.RunCommand([]string{"exec", podName, dnsByteArr, err := kubectlRunner.RunCommand([]string{"exec", podName,
"nslookup", "kubernetes.default"}) "nslookup", "kubernetes"})
dnsOutput := string(dnsByteArr) dnsOutput := string(dnsByteArr)
if err != nil { if err != nil {
return &commonutil.RetriableError{Err: err} return &commonutil.RetriableError{Err: err}