This commit is contained in:
Megan O'Keefe 2019-12-15 16:23:13 -05:00
parent 1b57e37ee1
commit 900f9a1123

View file

@ -451,22 +451,9 @@ spec:
spec:
terminationGracePeriodSeconds: 5
restartPolicy: Always
# initContainers:
# - name: wait-frontend
# image: alpine:3.6
# command: ['sh', '-c', 'set -x; apk add --no-cache curl &&
# until timeout -t 2 curl -f "http://${FRONTEND_ADDR}"; do
# echo "waiting for http://${FRONTEND_ADDR}";
# sleep 2;
# done;']
# env:
# - name: FRONTEND_ADDR
# value: "frontend:80"
containers:
- name: main
# image: gcr.io/google-samples/microservices-demo/loadgenerator:v0.1.2
image: gcr.io/megandemo/loadgen:failcurl
imagePullPolicy: Always
env:
- name: FRONTEND_ADDR
value: "frontend:80"