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
proxy . /etc/resolv.conf
cache 30
reload
}

View File

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

View File

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