Skip to content

Commit e7aa059

Browse files
committed
Set imagePullPolicy:IfNotPresent on kube-dns
1 parent 57aa3e6 commit e7aa059

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

deploy/addons/kube-dns/kube-dns-controller.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ spec:
4545
containers:
4646
- name: kubedns
4747
image: gcr.io/google_containers/k8s-dns-kube-dns-amd64:1.14.4
48+
imagePullPolicy: IfNotPresent
4849
resources:
4950
# TODO: Set memory limits when we've profiled the container for large
5051
# clusters, then set request = limit to keep this container in
@@ -96,6 +97,7 @@ spec:
9697
mountPath: /kube-dns-config
9798
- name: dnsmasq
9899
image: gcr.io/google_containers/k8s-dns-dnsmasq-nanny-amd64:1.14.4
100+
imagePullPolicy: IfNotPresent
99101
livenessProbe:
100102
httpGet:
101103
path: /healthcheck/dnsmasq
@@ -134,6 +136,7 @@ spec:
134136
mountPath: /etc/k8s/dns/dnsmasq-nanny
135137
- name: sidecar
136138
image: gcr.io/google_containers/k8s-dns-sidecar-amd64:1.14.4
139+
imagePullPolicy: IfNotPresent
137140
livenessProbe:
138141
httpGet:
139142
path: /metrics

0 commit comments

Comments
 (0)