Skip to content

Commit 8ff8577

Browse files
committed
Release v0.2.4
1 parent 641cef3 commit 8ff8577

File tree

1 file changed

+29
-13
lines changed

1 file changed

+29
-13
lines changed

release/kubernetes-manifests.yaml

Lines changed: 29 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ spec:
3333
terminationGracePeriodSeconds: 5
3434
containers:
3535
- name: server
36-
image: gcr.io/google-samples/microservices-demo/emailservice:v0.2.3
36+
image: gcr.io/google-samples/microservices-demo/*:v0.2.4
3737
ports:
3838
- containerPort: 8080
3939
env:
@@ -88,7 +88,7 @@ spec:
8888
serviceAccountName: default
8989
containers:
9090
- name: server
91-
image: gcr.io/google-samples/microservices-demo/checkoutservice:v0.2.3
91+
image: gcr.io/google-samples/microservices-demo/*:v0.2.4
9292
ports:
9393
- containerPort: 5050
9494
readinessProbe:
@@ -158,7 +158,7 @@ spec:
158158
terminationGracePeriodSeconds: 5
159159
containers:
160160
- name: server
161-
image: gcr.io/google-samples/microservices-demo/recommendationservice:v0.2.3
161+
image: gcr.io/google-samples/microservices-demo/*:v0.2.4
162162
ports:
163163
- containerPort: 8080
164164
readinessProbe:
@@ -219,7 +219,7 @@ spec:
219219
serviceAccountName: default
220220
containers:
221221
- name: server
222-
image: gcr.io/google-samples/microservices-demo/frontend:v0.2.3
222+
image: gcr.io/google-samples/microservices-demo/*:v0.2.4
223223
ports:
224224
- containerPort: 8080
225225
readinessProbe:
@@ -255,7 +255,7 @@ spec:
255255
value: "checkoutservice:5050"
256256
- name: AD_SERVICE_ADDR
257257
value: "adservice:9555"
258-
# # ENV_PLATFORM: One of: local, gcp, aws, azure, onprem
258+
# # ENV_PLATFORM: One of: local, gcp, aws, azure, onprem, alibaba
259259
# # When not set, defaults to "local" unless running in GKE, otherwies auto-sets to gcp
260260
# - name: ENV_PLATFORM
261261
# value: "aws"
@@ -316,7 +316,7 @@ spec:
316316
terminationGracePeriodSeconds: 5
317317
containers:
318318
- name: server
319-
image: gcr.io/google-samples/microservices-demo/paymentservice:v0.2.3
319+
image: gcr.io/google-samples/microservices-demo/*:v0.2.4
320320
ports:
321321
- containerPort: 50051
322322
env:
@@ -366,7 +366,7 @@ spec:
366366
terminationGracePeriodSeconds: 5
367367
containers:
368368
- name: server
369-
image: gcr.io/google-samples/microservices-demo/productcatalogservice:v0.2.3
369+
image: gcr.io/google-samples/microservices-demo/*:v0.2.4
370370
ports:
371371
- containerPort: 3550
372372
env:
@@ -424,7 +424,7 @@ spec:
424424
terminationGracePeriodSeconds: 5
425425
containers:
426426
- name: server
427-
image: gcr.io/google-samples/microservices-demo/cartservice:v0.2.3
427+
image: gcr.io/google-samples/microservices-demo/*:v0.2.4
428428
ports:
429429
- containerPort: 7070
430430
env:
@@ -479,9 +479,25 @@ spec:
479479
serviceAccountName: default
480480
terminationGracePeriodSeconds: 5
481481
restartPolicy: Always
482+
initContainers:
483+
- command:
484+
- /bin/sh
485+
- -exc
486+
- |
487+
echo "Init container pinging frontend: ${FRONTEND_ADDR}..."
488+
STATUSCODE=$(wget --server-response http://${FRONTEND_ADDR} 2>&1 | awk '/^ HTTP/{print $2}')
489+
if test $STATUSCODE -ne 200; then
490+
echo "Error: Could not reach frontend - Status code: ${STATUSCODE}"
491+
exit 1
492+
fi
493+
name: frontend-check
494+
image: gcr.io/google-samples/microservices-demo/*:v0.2.4
495+
env:
496+
- name: FRONTEND_ADDR
497+
value: "frontend:80"
482498
containers:
483499
- name: main
484-
image: gcr.io/google-samples/microservices-demo/loadgenerator:v0.2.3
500+
image: gcr.io/google-samples/microservices-demo/*:v0.2.4
485501
env:
486502
- name: FRONTEND_ADDR
487503
value: "frontend:80"
@@ -512,7 +528,7 @@ spec:
512528
terminationGracePeriodSeconds: 5
513529
containers:
514530
- name: server
515-
image: gcr.io/google-samples/microservices-demo/currencyservice:v0.2.3
531+
image: gcr.io/google-samples/microservices-demo/*:v0.2.4
516532
ports:
517533
- name: grpc
518534
containerPort: 7000
@@ -568,7 +584,7 @@ spec:
568584
serviceAccountName: default
569585
containers:
570586
- name: server
571-
image: gcr.io/google-samples/microservices-demo/shippingservice:v0.2.3
587+
image: gcr.io/google-samples/microservices-demo/*:v0.2.4
572588
ports:
573589
- containerPort: 50051
574590
env:
@@ -625,7 +641,7 @@ spec:
625641
spec:
626642
containers:
627643
- name: redis
628-
image: redis:alpine
644+
image: gcr.io/google-samples/microservices-demo/*:v0.2.4
629645
ports:
630646
- containerPort: 6379
631647
readinessProbe:
@@ -680,7 +696,7 @@ spec:
680696
terminationGracePeriodSeconds: 5
681697
containers:
682698
- name: server
683-
image: gcr.io/google-samples/microservices-demo/adservice:v0.2.3
699+
image: gcr.io/google-samples/microservices-demo/*:v0.2.4
684700
ports:
685701
- containerPort: 9555
686702
env:

0 commit comments

Comments
 (0)