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 Mar 6, 2018
1 parent 9b86712 commit a5afebd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
7 changes: 4 additions & 3 deletions deploy/addons/coredns/coreDNS-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
9 changes: 5 additions & 4 deletions deploy/addons/coredns/coreDNS-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -44,9 +48,6 @@ spec:
- containerPort: 53
name: dns-tcp
protocol: TCP
- containerPort: 9153
name: metrics
protocol: TCP
livenessProbe:
httpGet:
path: /health
Expand Down
3 changes: 0 additions & 3 deletions deploy/addons/coredns/coreDNS-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,3 @@ spec:
- name: dns-tcp
port: 53
protocol: TCP
- name: metrics
port: 9153
protocol: TCP

0 comments on commit a5afebd

Please sign in to comment.