The Kubernetes default pull policy is IfNotPresent unless the image tag
is :latest in which case the default policy is Always. IfNotPresent
causes the Kubelet to skip pulling an image if it already exists [1]
[1] https://kind.sigs.k8s.io/docs/user/quick-start/
Change-Id: I83dac6165d2bbef165ca852dd03e5b76a5356f2f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
44492e0da74473460ff6a9f1323c5df3a2af943e)
image: busybox:1.28
command: ['sh', '-c', 'until nslookup cassandra; do echo waiting for cassandra to start ...; sleep 2; done']
containers:
- - image: "ollivier/clearwater-astaire:latest"
+ - image: "ollivier/clearwater-astaire"
name: astaire
ports:
- containerPort: 22
image: busybox:1.28
command: ['sh', '-c', 'until nslookup sprout; do echo waiting for sprout to start ...; sleep 2; done']
containers:
- - image: "ollivier/clearwater-bono:latest"
+ - image: "ollivier/clearwater-bono"
name: bono
ports:
- containerPort: 22
image: busybox:1.28
command: ['sh', '-c', 'until nslookup etcd; do echo waiting for etcd to start ...; sleep 2; done']
containers:
- - image: "ollivier/clearwater-cassandra:latest"
+ - image: "ollivier/clearwater-cassandra"
name: cassandra
ports:
- containerPort: 22
image: busybox:1.28
command: ['sh', '-c', 'until nslookup cassandra; do echo waiting for cassandra to start ...; sleep 2; done']
containers:
- - image: "ollivier/clearwater-chronos:latest"
+ - image: "ollivier/clearwater-chronos"
name: chronos
ports:
- containerPort: 22
image: busybox:1.28
command: ['sh', '-c', 'until nslookup sprout; do echo waiting for sprout to start ...; sleep 2; done']
containers:
- - image: "ollivier/clearwater-ellis:latest"
+ - image: "ollivier/clearwater-ellis"
name: ellis
ports:
- containerPort: 22
image: busybox:1.28
command: ['sh', '-c', 'until nslookup cassandra; do echo waiting for cassandra to start ...; sleep 2; done']
containers:
- - image: "ollivier/clearwater-homer:latest"
+ - image: "ollivier/clearwater-homer"
name: homer
ports:
- containerPort: 22
image: busybox:1.28
command: ['sh', '-c', 'until nslookup astaire; do echo waiting for astaire to start ...; sleep 2; done']
containers:
- - image: "ollivier/clearwater-homestead:latest"
+ - image: "ollivier/clearwater-homestead"
name: homestead
ports:
- containerPort: 22
image: busybox:1.28
command: ['sh', '-c', 'until nslookup homestead; do echo waiting for homestead to start ...; sleep 2; done']
containers:
- - image: "ollivier/clearwater-homestead-prov:latest"
+ - image: "ollivier/clearwater-homestead-prov"
name: homestead-prov
ports:
- containerPort: 22
"""
watch_timeout = 1200
metadata_name = "env-vars"
- test_image_name = "ollivier/clearwater-live-test:latest"
+ test_image_name = "ollivier/clearwater-live-test"
test_container_name = "live-test"
__logger = logging.getLogger(__name__)
image: busybox:1.28
command: ['sh', '-c', 'until nslookup cassandra; do echo waiting for cassandra to start ...; sleep 2; done']
containers:
- - image: "ollivier/clearwater-ralf:latest"
+ - image: "ollivier/clearwater-ralf"
name: ralf
ports:
- containerPort: 22
image: busybox:1.28
command: ['sh', '-c', 'until nslookup homestead; do echo waiting for homestead to start ...; sleep 2; done']
containers:
- - image: "ollivier/clearwater-sprout:latest"
+ - image: "ollivier/clearwater-sprout"
name: sprout
ports:
- containerPort: 22