Skip to content

Commit

Permalink
Release v0.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
NimJay committed Nov 22, 2022
1 parent 0974cec commit 4e53561
Show file tree
Hide file tree
Showing 12 changed files with 57 additions and 78 deletions.
6 changes: 1 addition & 5 deletions kustomize/base/adservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,12 @@ spec:
- all
privileged: false
readOnlyRootFilesystem: true
image: gcr.io/google-samples/microservices-demo/adservice:v0.4.1
image: gcr.io/google-samples/microservices-demo/adservice:v0.4.2
ports:
- containerPort: 9555
env:
- name: PORT
value: "9555"
- name: DISABLE_STATS
value: "1"
- name: DISABLE_TRACING
value: "1"
resources:
requests:
cpu: 200m
Expand Down
2 changes: 1 addition & 1 deletion kustomize/base/cartservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
- all
privileged: false
readOnlyRootFilesystem: true
image: gcr.io/google-samples/microservices-demo/cartservice:v0.4.1
image: gcr.io/google-samples/microservices-demo/cartservice:v0.4.2
ports:
- containerPort: 7070
env:
Expand Down
6 changes: 1 addition & 5 deletions kustomize/base/checkoutservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ spec:
- all
privileged: false
readOnlyRootFilesystem: true
image: gcr.io/google-samples/microservices-demo/checkoutservice:v0.4.1
image: gcr.io/google-samples/microservices-demo/checkoutservice:v0.4.2
ports:
- containerPort: 5050
readinessProbe:
Expand All @@ -64,10 +64,6 @@ spec:
value: "currencyservice:7000"
- name: CART_SERVICE_ADDR
value: "cartservice:7070"
- name: DISABLE_STATS
value: "1"
- name: DISABLE_TRACING
value: "1"
- name: DISABLE_PROFILER
value: "1"
resources:
Expand Down
4 changes: 1 addition & 3 deletions kustomize/base/currencyservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,13 @@ spec:
- all
privileged: false
readOnlyRootFilesystem: true
image: gcr.io/google-samples/microservices-demo/currencyservice:v0.4.1
image: gcr.io/google-samples/microservices-demo/currencyservice:v0.4.2
ports:
- name: grpc
containerPort: 7000
env:
- name: PORT
value: "7000"
- name: DISABLE_TRACING
value: "1"
- name: DISABLE_PROFILER
value: "1"
- name: DISABLE_DEBUGGER
Expand Down
4 changes: 1 addition & 3 deletions kustomize/base/emailservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,12 @@ spec:
- all
privileged: false
readOnlyRootFilesystem: true
image: gcr.io/google-samples/microservices-demo/emailservice:v0.4.1
image: gcr.io/google-samples/microservices-demo/emailservice:v0.4.2
ports:
- containerPort: 8080
env:
- name: PORT
value: "8080"
- name: DISABLE_TRACING
value: "1"
- name: DISABLE_PROFILER
value: "1"
readinessProbe:
Expand Down
8 changes: 3 additions & 5 deletions kustomize/base/frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
- all
privileged: false
readOnlyRootFilesystem: true
image: gcr.io/google-samples/microservices-demo/frontend:v0.4.1
image: gcr.io/google-samples/microservices-demo/frontend:v0.4.2
ports:
- containerPort: 8080
readinessProbe:
Expand Down Expand Up @@ -82,10 +82,8 @@ spec:
# # When not set, defaults to "local" unless running in GKE, otherwies auto-sets to gcp
# - name: ENV_PLATFORM
# value: "aws"
- name: DISABLE_TRACING
value: "1"
- name: DISABLE_PROFILER
value: "1"
- name: ENABLE_PROFILER
value: "0"
# - name: CYMBAL_BRANDING
# value: "true"
resources:
Expand Down
2 changes: 1 addition & 1 deletion kustomize/base/loadgenerator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ spec:
- all
privileged: false
readOnlyRootFilesystem: true
image: gcr.io/google-samples/microservices-demo/loadgenerator:v0.4.1
image: gcr.io/google-samples/microservices-demo/loadgenerator:v0.4.2
env:
- name: FRONTEND_ADDR
value: "frontend:80"
Expand Down
4 changes: 1 addition & 3 deletions kustomize/base/paymentservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,12 @@ spec:
- all
privileged: false
readOnlyRootFilesystem: true
image: gcr.io/google-samples/microservices-demo/paymentservice:v0.4.1
image: gcr.io/google-samples/microservices-demo/paymentservice:v0.4.2
ports:
- containerPort: 50051
env:
- name: PORT
value: "50051"
- name: DISABLE_TRACING
value: "1"
- name: DISABLE_PROFILER
value: "1"
- name: DISABLE_DEBUGGER
Expand Down
8 changes: 3 additions & 5 deletions kustomize/base/productcatalogservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,14 @@ spec:
- all
privileged: false
readOnlyRootFilesystem: true
image: gcr.io/google-samples/microservices-demo/productcatalogservice:v0.4.1
image: gcr.io/google-samples/microservices-demo/productcatalogservice:v0.4.2
ports:
- containerPort: 3550
env:
- name: COLLECTOR_SERVICE_ADDR
value: "opentelemetrycollector:4317"
- name: PORT
value: "3550"
- name: DISABLE_STATS
value: "1"
- name: DISABLE_TRACING
value: "1"
- name: DISABLE_PROFILER
value: "1"
readinessProbe:
Expand Down
4 changes: 1 addition & 3 deletions kustomize/base/recommendationservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
- all
privileged: false
readOnlyRootFilesystem: true
image: gcr.io/google-samples/microservices-demo/recommendationservice:v0.4.1
image: gcr.io/google-samples/microservices-demo/recommendationservice:v0.4.2
ports:
- containerPort: 8080
readinessProbe:
Expand All @@ -57,8 +57,6 @@ spec:
value: "8080"
- name: PRODUCT_CATALOG_SERVICE_ADDR
value: "productcatalogservice:3550"
- name: DISABLE_TRACING
value: "1"
- name: DISABLE_PROFILER
value: "1"
- name: DISABLE_DEBUGGER
Expand Down
6 changes: 1 addition & 5 deletions kustomize/base/shippingservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,12 @@ spec:
- all
privileged: false
readOnlyRootFilesystem: true
image: gcr.io/google-samples/microservices-demo/shippingservice:v0.4.1
image: gcr.io/google-samples/microservices-demo/shippingservice:v0.4.2
ports:
- containerPort: 50051
env:
- name: PORT
value: "50051"
- name: DISABLE_STATS
value: "1"
- name: DISABLE_TRACING
value: "1"
- name: DISABLE_PROFILER
value: "1"
readinessProbe:
Expand Down
81 changes: 42 additions & 39 deletions release/kubernetes-manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,12 @@ spec:
- all
privileged: false
readOnlyRootFilesystem: true
image: gcr.io/google-samples/microservices-demo/emailservice:v0.4.1
image: gcr.io/google-samples/microservices-demo/emailservice:v0.4.2
ports:
- containerPort: 8080
env:
- name: PORT
value: "8080"
- name: DISABLE_TRACING
value: "1"
- name: DISABLE_PROFILER
value: "1"
readinessProbe:
Expand Down Expand Up @@ -114,7 +112,7 @@ spec:
- all
privileged: false
readOnlyRootFilesystem: true
image: gcr.io/google-samples/microservices-demo/checkoutservice:v0.4.1
image: gcr.io/google-samples/microservices-demo/checkoutservice:v0.4.2
ports:
- containerPort: 5050
readinessProbe:
Expand All @@ -138,10 +136,6 @@ spec:
value: "currencyservice:7000"
- name: CART_SERVICE_ADDR
value: "cartservice:7070"
- name: DISABLE_STATS
value: "1"
- name: DISABLE_TRACING
value: "1"
- name: DISABLE_PROFILER
value: "1"
resources:
Expand Down Expand Up @@ -194,7 +188,7 @@ spec:
- all
privileged: false
readOnlyRootFilesystem: true
image: gcr.io/google-samples/microservices-demo/recommendationservice:v0.4.1
image: gcr.io/google-samples/microservices-demo/recommendationservice:v0.4.2
ports:
- containerPort: 8080
readinessProbe:
Expand All @@ -210,8 +204,6 @@ spec:
value: "8080"
- name: PRODUCT_CATALOG_SERVICE_ADDR
value: "productcatalogservice:3550"
- name: DISABLE_TRACING
value: "1"
- name: DISABLE_PROFILER
value: "1"
- name: DISABLE_DEBUGGER
Expand All @@ -237,6 +229,33 @@ spec:
port: 8080
targetPort: 8080
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- adservice.yaml
- cartservice.yaml
- checkoutservice.yaml
- currencyservice.yaml
- emailservice.yaml
- frontend.yaml
# - loadgenerator.yaml # During development, the loadgenerator module inside skaffold.yaml will be used.
- paymentservice.yaml
- productcatalogservice.yaml
- recommendationservice.yaml
- redis.yaml
- shippingservice.yaml
components:
# - ../kustomize/components/cymbal-branding
# - ../kustomize/components/google-cloud-operations
# - ../kustomize/components/memorystore
# - ../kustomize/components/network-policies
# - ../kustomize/components/service-accounts
# - ../kustomize/components/spanner
# - ../kustomize/components/container-images-tag
# - ../kustomize/components/container-images-tag-suffix
# - ../kustomize/components/container-images-registry
# - ../kustomize/components/native-grpc-health-check
---
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down Expand Up @@ -267,7 +286,7 @@ spec:
- all
privileged: false
readOnlyRootFilesystem: true
image: gcr.io/google-samples/microservices-demo/frontend:v0.4.1
image: gcr.io/google-samples/microservices-demo/frontend:v0.4.2
ports:
- containerPort: 8080
readinessProbe:
Expand Down Expand Up @@ -307,10 +326,8 @@ spec:
# # When not set, defaults to "local" unless running in GKE, otherwies auto-sets to gcp
# - name: ENV_PLATFORM
# value: "aws"
- name: DISABLE_TRACING
value: "1"
- name: DISABLE_PROFILER
value: "1"
- name: ENABLE_PROFILER
value: "0"
# - name: CYMBAL_BRANDING
# value: "true"
resources:
Expand Down Expand Up @@ -376,14 +393,12 @@ spec:
- all
privileged: false
readOnlyRootFilesystem: true
image: gcr.io/google-samples/microservices-demo/paymentservice:v0.4.1
image: gcr.io/google-samples/microservices-demo/paymentservice:v0.4.2
ports:
- containerPort: 50051
env:
- name: PORT
value: "50051"
- name: DISABLE_TRACING
value: "1"
- name: DISABLE_PROFILER
value: "1"
- name: DISABLE_DEBUGGER
Expand Down Expand Up @@ -444,16 +459,14 @@ spec:
- all
privileged: false
readOnlyRootFilesystem: true
image: gcr.io/google-samples/microservices-demo/productcatalogservice:v0.4.1
image: gcr.io/google-samples/microservices-demo/productcatalogservice:v0.4.2
ports:
- containerPort: 3550
env:
- name: COLLECTOR_SERVICE_ADDR
value: "opentelemetrycollector:4317"
- name: PORT
value: "3550"
- name: DISABLE_STATS
value: "1"
- name: DISABLE_TRACING
value: "1"
- name: DISABLE_PROFILER
value: "1"
readinessProbe:
Expand Down Expand Up @@ -512,7 +525,7 @@ spec:
- all
privileged: false
readOnlyRootFilesystem: true
image: gcr.io/google-samples/microservices-demo/cartservice:v0.4.1
image: gcr.io/google-samples/microservices-demo/cartservice:v0.4.2
ports:
- containerPort: 7070
env:
Expand Down Expand Up @@ -604,7 +617,7 @@ spec:
- all
privileged: false
readOnlyRootFilesystem: true
image: gcr.io/google-samples/microservices-demo/loadgenerator:v0.4.1
image: gcr.io/google-samples/microservices-demo/loadgenerator:v0.4.2
env:
- name: FRONTEND_ADDR
value: "frontend:80"
Expand Down Expand Up @@ -647,15 +660,13 @@ spec:
- all
privileged: false
readOnlyRootFilesystem: true
image: gcr.io/google-samples/microservices-demo/currencyservice:v0.4.1
image: gcr.io/google-samples/microservices-demo/currencyservice:v0.4.2
ports:
- name: grpc
containerPort: 7000
env:
- name: PORT
value: "7000"
- name: DISABLE_TRACING
value: "1"
- name: DISABLE_PROFILER
value: "1"
- name: DISABLE_DEBUGGER
Expand Down Expand Up @@ -715,16 +726,12 @@ spec:
- all
privileged: false
readOnlyRootFilesystem: true
image: gcr.io/google-samples/microservices-demo/shippingservice:v0.4.1
image: gcr.io/google-samples/microservices-demo/shippingservice:v0.4.2
ports:
- containerPort: 50051
env:
- name: PORT
value: "50051"
- name: DISABLE_STATS
value: "1"
- name: DISABLE_TRACING
value: "1"
- name: DISABLE_PROFILER
value: "1"
readinessProbe:
Expand Down Expand Up @@ -849,16 +856,12 @@ spec:
- all
privileged: false
readOnlyRootFilesystem: true
image: gcr.io/google-samples/microservices-demo/adservice:v0.4.1
image: gcr.io/google-samples/microservices-demo/adservice:v0.4.2
ports:
- containerPort: 9555
env:
- name: PORT
value: "9555"
- name: DISABLE_STATS
value: "1"
- name: DISABLE_TRACING
value: "1"
resources:
requests:
cpu: 200m
Expand Down

0 comments on commit 4e53561

Please sign in to comment.