Skip to content

Commit

Permalink
update manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
rajansandeep authored and dlorenc committed May 30, 2018
1 parent c7037c4 commit 4bab194
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions deploy/addons/coredns/coreDNS-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ data:
prometheus :9153
proxy . /etc/resolv.conf
cache 30
reload
}
7 changes: 5 additions & 2 deletions deploy/addons/coredns/coreDNS-controller.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: apps/v1beta2
apiVersion: apps/v1
kind: Deployment
metadata:
name: coredns
Expand Down Expand Up @@ -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:
Expand All @@ -48,6 +48,9 @@ spec:
- containerPort: 53
name: dns-tcp
protocol: TCP
- containerPort: 9153
name: metrics
protocol: TCP
livenessProbe:
httpGet:
path: /health
Expand Down
2 changes: 2 additions & 0 deletions deploy/addons/coredns/coreDNS-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4bab194

Please sign in to comment.