aboutsummaryrefslogtreecommitdiffstats
path: root/functest_kubernetes/ims/chronos-depl.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'functest_kubernetes/ims/chronos-depl.yaml')
-rw-r--r--functest_kubernetes/ims/chronos-depl.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/functest_kubernetes/ims/chronos-depl.yaml b/functest_kubernetes/ims/chronos-depl.yaml
index e5ec00c1..fd891f1a 100644
--- a/functest_kubernetes/ims/chronos-depl.yaml
+++ b/functest_kubernetes/ims/chronos-depl.yaml
@@ -15,6 +15,10 @@ spec:
service: chronos
spec:
terminationGracePeriodSeconds: 120
+ initContainers:
+ - name: wait-on-etcd
+ image: busybox:1.28
+ command: ['sh', '-c', 'until nslookup etcd; do echo waiting for etcd to start ...; sleep 2; done']
containers:
- image: "ollivier/clearwater-chronos:latest"
imagePullPolicy: Always