From db1589d3ca97f7f0e37dec8491f405cdb5a4cc55 Mon Sep 17 00:00:00 2001 From: Sandeep Rajan Date: Thu, 1 Mar 2018 08:58:59 -0500 Subject: [PATCH] update manifest --- deploy/addons/coredns/coreDNS-configmap.yaml | 7 ++++--- deploy/addons/coredns/coreDNS-controller.yaml | 9 +++++---- deploy/addons/coredns/coreDNS-svc.yaml | 3 --- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/deploy/addons/coredns/coreDNS-configmap.yaml b/deploy/addons/coredns/coreDNS-configmap.yaml index 3ea82599dbd6..5f4edecf3840 100644 --- a/deploy/addons/coredns/coreDNS-configmap.yaml +++ b/deploy/addons/coredns/coreDNS-configmap.yaml @@ -11,11 +11,12 @@ data: errors log health - kubernetes cluster.local 10.0.0.0/24 { + kubernetes cluster.local in-addr.arpa ip6.arpa { pods insecure - upstream /etc/resolv.conf + upstream + fallthrough in-addr.arpa ip6.arpa } - prometheus + prometheus :9153 proxy . /etc/resolv.conf cache 30 } diff --git a/deploy/addons/coredns/coreDNS-controller.yaml b/deploy/addons/coredns/coreDNS-controller.yaml index acb4a0d043a7..b7d77d637987 100644 --- a/deploy/addons/coredns/coreDNS-controller.yaml +++ b/deploy/addons/coredns/coreDNS-controller.yaml @@ -9,6 +9,10 @@ metadata: addonmanager.kubernetes.io/mode: Reconcile spec: replicas: 1 + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 1 selector: matchLabels: k8s-app: kube-dns @@ -25,7 +29,7 @@ spec: effect: NoSchedule containers: - name: coredns - image: registry.hub.docker.com/coredns/coredns:1.0.2 + image: registry.hub.docker.com/coredns/coredns:1.0.6 imagePullPolicy: IfNotPresent resources: limits: @@ -44,9 +48,6 @@ spec: - containerPort: 53 name: dns-tcp protocol: TCP - - containerPort: 9153 - name: metrics - protocol: TCP livenessProbe: httpGet: path: /health diff --git a/deploy/addons/coredns/coreDNS-svc.yaml b/deploy/addons/coredns/coreDNS-svc.yaml index baee6b3ebe56..c53916af3da1 100644 --- a/deploy/addons/coredns/coreDNS-svc.yaml +++ b/deploy/addons/coredns/coreDNS-svc.yaml @@ -18,6 +18,3 @@ spec: - name: dns-tcp port: 53 protocol: TCP - - name: metrics - port: 9153 - protocol: TCP