Remove clusterIP: None in ims svc.yaml
[functest-kubernetes.git] / functest_kubernetes / ims / homestead-depl.yaml
index 2c44763..82ea0ce 100644 (file)
@@ -13,9 +13,15 @@ spec:
         service: homestead
         snmp: enabled
     spec:
+      initContainers:
+        - name: wait-on-cassandra
+          image: busybox:1.28
+          command: ['sh', '-c', 'until nslookup cassandra; do echo waiting for cassandra to start ...; sleep 2; done']
+        - name: wait-on-astaire
+          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"
-        imagePullPolicy: Always
+      - image: "ollivier/clearwater-homestead:hunter"
         name: homestead
         ports:
         - containerPort: 22
@@ -38,7 +44,7 @@ spec:
         volumeMounts:
         - name: homesteadlogs
           mountPath: /var/log/homestead
-      - image: busybox
+      - image: busybox:1.28
         name: tailer
         command: [ "tail", "-F", "/var/log/homestead/homestead_current.txt" ]
         volumeMounts: