Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump version and update manifest CoreDNS #2584

Merged
merged 1 commit into from
Mar 6, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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