update manifest

pull/2856/head
Sandeep Rajan 2018-05-24 08:24:32 -04:00 committed by dlorenc
parent c7037c434b
commit 4bab1946d9
3 changed files with 8 additions and 2 deletions

View File

@ -19,4 +19,5 @@ data:
prometheus :9153 prometheus :9153
proxy . /etc/resolv.conf proxy . /etc/resolv.conf
cache 30 cache 30
reload
} }

View File

@ -1,4 +1,4 @@
apiVersion: apps/v1beta2 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: coredns name: coredns
@ -29,7 +29,7 @@ spec:
effect: NoSchedule effect: NoSchedule
containers: containers:
- name: coredns - name: coredns
image: registry.hub.docker.com/coredns/coredns:1.0.6 image: registry.hub.docker.com/coredns/coredns:1.1.3
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
resources: resources:
limits: limits:
@ -48,6 +48,9 @@ spec:
- containerPort: 53 - containerPort: 53
name: dns-tcp name: dns-tcp
protocol: TCP protocol: TCP
- containerPort: 9153
name: metrics
protocol: TCP
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /health path: /health

View File

@ -3,6 +3,8 @@ kind: Service
metadata: metadata:
name: kube-dns name: kube-dns
namespace: kube-system namespace: kube-system
annotations:
prometheus.io/scrape: "true"
labels: labels:
k8s-app: kube-dns k8s-app: kube-dns
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile