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']
+ - name: wait-on-cassandra
+ image: {{ dockerhub_repo }}/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"
- imagePullPolicy: Always
+ - image: "{{ dockerhub_repo }}/ollivier/clearwater-astaire:hunter"
name: astaire
ports:
- containerPort: 22
preStop:
exec:
command: ["/bin/bash", "-c", "/usr/bin/pre-stop"]
- - image: busybox
+ - image: {{ dockerhub_repo }}/busybox:1.28
name: tailer
command: [ "tail", "-F", "/var/log/astaire/astaire_current.txt" ]
volumeMounts: