update manifest
parent
c7037c434b
commit
4bab1946d9
|
@ -19,4 +19,5 @@ data:
|
|||
prometheus :9153
|
||||
proxy . /etc/resolv.conf
|
||||
cache 30
|
||||
reload
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue