Change docker image pulling policy from Always to IfNotPresent
Do not repeat pulling images when container recreate in magnum cluster. Change-Id: Iaa618309375cf17d6511ae371a6a15a3345d4d6d Story:2004644 Task:28595
This commit is contained in:
parent
40980e7bdb
commit
26c28a03d2
|
@ -99,7 +99,7 @@ spec:
|
|||
containers:
|
||||
- name: coredns
|
||||
image: ${_dns_prefix}coredns:1.0.1
|
||||
imagePullPolicy: Always
|
||||
imagePullPolicy: IfNotPresent
|
||||
args: [ "-conf", "/etc/coredns/Corefile" ]
|
||||
volumeMounts:
|
||||
- name: config-volume
|
||||
|
|
|
@ -331,7 +331,7 @@ spec:
|
|||
spec:
|
||||
containers:
|
||||
- image: ${CONTAINER_INFRA_PREFIX:-docker.io/grafana/}grafana:${GRAFANA_TAG}
|
||||
imagePullPolicy: Always
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: grafana
|
||||
env:
|
||||
- name: GF_SECURITY_ADMIN_PASSWORD
|
||||
|
|
|
@ -116,7 +116,7 @@ write_files:
|
|||
containers:
|
||||
- name: coredns
|
||||
image: coredns/coredns:007
|
||||
imagePullPolicy: Always
|
||||
imagePullPolicy: IfNotPresent
|
||||
args: [ "-conf", "/etc/coredns/Corefile" ]
|
||||
volumeMounts:
|
||||
- name: config-volume
|
||||
|
|
Loading…
Reference in New Issue