diff --git a/kustomize/base/adservice.yaml b/kustomize/base/adservice.yaml index 6c80bb0c20b..cf24bc2afcc 100644 --- a/kustomize/base/adservice.yaml +++ b/kustomize/base/adservice.yaml @@ -41,7 +41,7 @@ spec: - ALL privileged: false readOnlyRootFilesystem: true - image: gcr.io/google-samples/microservices-demo/adservice:v0.7.0 + image: gcr.io/google-samples/microservices-demo/adservice:v0.8.0 ports: - containerPort: 9555 env: @@ -57,13 +57,13 @@ spec: readinessProbe: initialDelaySeconds: 20 periodSeconds: 15 - exec: - command: ["/bin/grpc_health_probe", "-addr=:9555"] + grpc: + port: 9555 livenessProbe: initialDelaySeconds: 20 periodSeconds: 15 - exec: - command: ["/bin/grpc_health_probe", "-addr=:9555"] + grpc: + port: 9555 --- apiVersion: v1 kind: Service diff --git a/kustomize/base/cartservice.yaml b/kustomize/base/cartservice.yaml index 6fd8fd82792..3dbe65c8280 100644 --- a/kustomize/base/cartservice.yaml +++ b/kustomize/base/cartservice.yaml @@ -41,7 +41,7 @@ spec: - ALL privileged: false readOnlyRootFilesystem: true - image: gcr.io/google-samples/microservices-demo/cartservice:v0.7.0 + image: gcr.io/google-samples/microservices-demo/cartservice:v0.8.0 ports: - containerPort: 7070 env: @@ -56,13 +56,13 @@ spec: memory: 128Mi readinessProbe: initialDelaySeconds: 15 - exec: - command: ["/bin/grpc_health_probe", "-addr=:7070", "-rpc-timeout=5s"] + grpc: + port: 7070 livenessProbe: initialDelaySeconds: 15 periodSeconds: 10 - exec: - command: ["/bin/grpc_health_probe", "-addr=:7070", "-rpc-timeout=5s"] + grpc: + port: 7070 --- apiVersion: v1 kind: Service diff --git a/kustomize/base/checkoutservice.yaml b/kustomize/base/checkoutservice.yaml index d830d72a051..f82e62189c3 100644 --- a/kustomize/base/checkoutservice.yaml +++ b/kustomize/base/checkoutservice.yaml @@ -40,15 +40,15 @@ spec: - ALL privileged: false readOnlyRootFilesystem: true - image: gcr.io/google-samples/microservices-demo/checkoutservice:v0.7.0 + image: gcr.io/google-samples/microservices-demo/checkoutservice:v0.8.0 ports: - containerPort: 5050 readinessProbe: - exec: - command: ["/bin/grpc_health_probe", "-addr=:5050"] + grpc: + port: 5050 livenessProbe: - exec: - command: ["/bin/grpc_health_probe", "-addr=:5050"] + grpc: + port: 5050 env: - name: PORT value: "5050" diff --git a/kustomize/base/currencyservice.yaml b/kustomize/base/currencyservice.yaml index 23e5b0b1af9..15f54de4f1a 100644 --- a/kustomize/base/currencyservice.yaml +++ b/kustomize/base/currencyservice.yaml @@ -41,7 +41,7 @@ spec: - ALL privileged: false readOnlyRootFilesystem: true - image: gcr.io/google-samples/microservices-demo/currencyservice:v0.7.0 + image: gcr.io/google-samples/microservices-demo/currencyservice:v0.8.0 ports: - name: grpc containerPort: 7000 @@ -51,11 +51,11 @@ spec: - name: DISABLE_PROFILER value: "1" readinessProbe: - exec: - command: ["/bin/grpc_health_probe", "-addr=:7000"] + grpc: + port: 7000 livenessProbe: - exec: - command: ["/bin/grpc_health_probe", "-addr=:7000"] + grpc: + port: 7000 resources: requests: cpu: 100m diff --git a/kustomize/base/emailservice.yaml b/kustomize/base/emailservice.yaml index 638d03efe84..760ae9de135 100644 --- a/kustomize/base/emailservice.yaml +++ b/kustomize/base/emailservice.yaml @@ -41,7 +41,7 @@ spec: - ALL privileged: false readOnlyRootFilesystem: true - image: gcr.io/google-samples/microservices-demo/emailservice:v0.7.0 + image: gcr.io/google-samples/microservices-demo/emailservice:v0.8.0 ports: - containerPort: 8080 env: @@ -51,12 +51,12 @@ spec: value: "1" readinessProbe: periodSeconds: 5 - exec: - command: ["/bin/grpc_health_probe", "-addr=:8080"] + grpc: + port: 8080 livenessProbe: periodSeconds: 5 - exec: - command: ["/bin/grpc_health_probe", "-addr=:8080"] + grpc: + port: 8080 resources: requests: cpu: 100m diff --git a/kustomize/base/frontend.yaml b/kustomize/base/frontend.yaml index 7c7913bacad..30c61badcd7 100644 --- a/kustomize/base/frontend.yaml +++ b/kustomize/base/frontend.yaml @@ -42,7 +42,7 @@ spec: - ALL privileged: false readOnlyRootFilesystem: true - image: gcr.io/google-samples/microservices-demo/frontend:v0.7.0 + image: gcr.io/google-samples/microservices-demo/frontend:v0.8.0 ports: - containerPort: 8080 readinessProbe: diff --git a/kustomize/base/loadgenerator.yaml b/kustomize/base/loadgenerator.yaml index 1536799c08d..568e934252c 100644 --- a/kustomize/base/loadgenerator.yaml +++ b/kustomize/base/loadgenerator.yaml @@ -67,7 +67,7 @@ spec: - ALL privileged: false readOnlyRootFilesystem: true - image: gcr.io/google-samples/microservices-demo/loadgenerator:v0.7.0 + image: gcr.io/google-samples/microservices-demo/loadgenerator:v0.8.0 env: - name: FRONTEND_ADDR value: "frontend:80" diff --git a/kustomize/base/paymentservice.yaml b/kustomize/base/paymentservice.yaml index 93ea78bc998..e229f6e1a93 100644 --- a/kustomize/base/paymentservice.yaml +++ b/kustomize/base/paymentservice.yaml @@ -41,7 +41,7 @@ spec: - ALL privileged: false readOnlyRootFilesystem: true - image: gcr.io/google-samples/microservices-demo/paymentservice:v0.7.0 + image: gcr.io/google-samples/microservices-demo/paymentservice:v0.8.0 ports: - containerPort: 50051 env: @@ -50,11 +50,11 @@ spec: - name: DISABLE_PROFILER value: "1" readinessProbe: - exec: - command: ["/bin/grpc_health_probe", "-addr=:50051"] + grpc: + port: 50051 livenessProbe: - exec: - command: ["/bin/grpc_health_probe", "-addr=:50051"] + grpc: + port: 50051 resources: requests: cpu: 100m diff --git a/kustomize/base/productcatalogservice.yaml b/kustomize/base/productcatalogservice.yaml index c73c6ef9065..fa8ed5805be 100644 --- a/kustomize/base/productcatalogservice.yaml +++ b/kustomize/base/productcatalogservice.yaml @@ -41,7 +41,7 @@ spec: - ALL privileged: false readOnlyRootFilesystem: true - image: gcr.io/google-samples/microservices-demo/productcatalogservice:v0.7.0 + image: gcr.io/google-samples/microservices-demo/productcatalogservice:v0.8.0 ports: - containerPort: 3550 env: @@ -50,11 +50,11 @@ spec: - name: DISABLE_PROFILER value: "1" readinessProbe: - exec: - command: ["/bin/grpc_health_probe", "-addr=:3550"] + grpc: + port: 3550 livenessProbe: - exec: - command: ["/bin/grpc_health_probe", "-addr=:3550"] + grpc: + port: 3550 resources: requests: cpu: 100m diff --git a/kustomize/base/recommendationservice.yaml b/kustomize/base/recommendationservice.yaml index 42bd8e81be3..a490c00c3ca 100644 --- a/kustomize/base/recommendationservice.yaml +++ b/kustomize/base/recommendationservice.yaml @@ -41,17 +41,17 @@ spec: - ALL privileged: false readOnlyRootFilesystem: true - image: gcr.io/google-samples/microservices-demo/recommendationservice:v0.7.0 + image: gcr.io/google-samples/microservices-demo/recommendationservice:v0.8.0 ports: - containerPort: 8080 readinessProbe: periodSeconds: 5 - exec: - command: ["/bin/grpc_health_probe", "-addr=:8080"] + grpc: + port: 8080 livenessProbe: periodSeconds: 5 - exec: - command: ["/bin/grpc_health_probe", "-addr=:8080"] + grpc: + port: 8080 env: - name: PORT value: "8080" diff --git a/kustomize/base/shippingservice.yaml b/kustomize/base/shippingservice.yaml index 2312e84191a..af5eab3e1bc 100644 --- a/kustomize/base/shippingservice.yaml +++ b/kustomize/base/shippingservice.yaml @@ -40,7 +40,7 @@ spec: - ALL privileged: false readOnlyRootFilesystem: true - image: gcr.io/google-samples/microservices-demo/shippingservice:v0.7.0 + image: gcr.io/google-samples/microservices-demo/shippingservice:v0.8.0 ports: - containerPort: 50051 env: @@ -50,11 +50,11 @@ spec: value: "1" readinessProbe: periodSeconds: 5 - exec: - command: ["/bin/grpc_health_probe", "-addr=:50051"] + grpc: + port: 50051 livenessProbe: - exec: - command: ["/bin/grpc_health_probe", "-addr=:50051"] + grpc: + port: 50051 resources: requests: cpu: 100m diff --git a/release/kubernetes-manifests.yaml b/release/kubernetes-manifests.yaml index 3013daeac6e..502c4987346 100644 --- a/release/kubernetes-manifests.yaml +++ b/release/kubernetes-manifests.yaml @@ -47,7 +47,7 @@ spec: - ALL privileged: false readOnlyRootFilesystem: true - image: gcr.io/google-samples/microservices-demo/emailservice:v0.7.0 + image: gcr.io/google-samples/microservices-demo/emailservice:v0.8.0 ports: - containerPort: 8080 env: @@ -57,12 +57,12 @@ spec: value: "1" readinessProbe: periodSeconds: 5 - exec: - command: ["/bin/grpc_health_probe", "-addr=:8080"] + grpc: + port: 8080 livenessProbe: periodSeconds: 5 - exec: - command: ["/bin/grpc_health_probe", "-addr=:8080"] + grpc: + port: 8080 resources: requests: cpu: 100m @@ -112,15 +112,15 @@ spec: - ALL privileged: false readOnlyRootFilesystem: true - image: gcr.io/google-samples/microservices-demo/checkoutservice:v0.7.0 + image: gcr.io/google-samples/microservices-demo/checkoutservice:v0.8.0 ports: - containerPort: 5050 readinessProbe: - exec: - command: ["/bin/grpc_health_probe", "-addr=:5050"] + grpc: + port: 5050 livenessProbe: - exec: - command: ["/bin/grpc_health_probe", "-addr=:5050"] + grpc: + port: 5050 env: - name: PORT value: "5050" @@ -186,17 +186,17 @@ spec: - ALL privileged: false readOnlyRootFilesystem: true - image: gcr.io/google-samples/microservices-demo/recommendationservice:v0.7.0 + image: gcr.io/google-samples/microservices-demo/recommendationservice:v0.8.0 ports: - containerPort: 8080 readinessProbe: periodSeconds: 5 - exec: - command: ["/bin/grpc_health_probe", "-addr=:8080"] + grpc: + port: 8080 livenessProbe: periodSeconds: 5 - exec: - command: ["/bin/grpc_health_probe", "-addr=:8080"] + grpc: + port: 8080 env: - name: PORT value: "8080" @@ -255,7 +255,7 @@ spec: - ALL privileged: false readOnlyRootFilesystem: true - image: gcr.io/google-samples/microservices-demo/frontend:v0.7.0 + image: gcr.io/google-samples/microservices-demo/frontend:v0.8.0 ports: - containerPort: 8080 readinessProbe: @@ -364,7 +364,7 @@ spec: - ALL privileged: false readOnlyRootFilesystem: true - image: gcr.io/google-samples/microservices-demo/paymentservice:v0.7.0 + image: gcr.io/google-samples/microservices-demo/paymentservice:v0.8.0 ports: - containerPort: 50051 env: @@ -373,11 +373,11 @@ spec: - name: DISABLE_PROFILER value: "1" readinessProbe: - exec: - command: ["/bin/grpc_health_probe", "-addr=:50051"] + grpc: + port: 50051 livenessProbe: - exec: - command: ["/bin/grpc_health_probe", "-addr=:50051"] + grpc: + port: 50051 resources: requests: cpu: 100m @@ -428,7 +428,7 @@ spec: - ALL privileged: false readOnlyRootFilesystem: true - image: gcr.io/google-samples/microservices-demo/productcatalogservice:v0.7.0 + image: gcr.io/google-samples/microservices-demo/productcatalogservice:v0.8.0 ports: - containerPort: 3550 env: @@ -437,11 +437,11 @@ spec: - name: DISABLE_PROFILER value: "1" readinessProbe: - exec: - command: ["/bin/grpc_health_probe", "-addr=:3550"] + grpc: + port: 3550 livenessProbe: - exec: - command: ["/bin/grpc_health_probe", "-addr=:3550"] + grpc: + port: 3550 resources: requests: cpu: 100m @@ -492,7 +492,7 @@ spec: - ALL privileged: false readOnlyRootFilesystem: true - image: gcr.io/google-samples/microservices-demo/cartservice:v0.7.0 + image: gcr.io/google-samples/microservices-demo/cartservice:v0.8.0 ports: - containerPort: 7070 env: @@ -507,13 +507,13 @@ spec: memory: 128Mi readinessProbe: initialDelaySeconds: 15 - exec: - command: ["/bin/grpc_health_probe", "-addr=:7070", "-rpc-timeout=5s"] + grpc: + port: 7070 livenessProbe: initialDelaySeconds: 15 periodSeconds: 10 - exec: - command: ["/bin/grpc_health_probe", "-addr=:7070", "-rpc-timeout=5s"] + grpc: + port: 7070 --- apiVersion: v1 kind: Service @@ -584,7 +584,7 @@ spec: - ALL privileged: false readOnlyRootFilesystem: true - image: gcr.io/google-samples/microservices-demo/loadgenerator:v0.7.0 + image: gcr.io/google-samples/microservices-demo/loadgenerator:v0.8.0 env: - name: FRONTEND_ADDR value: "frontend:80" @@ -627,7 +627,7 @@ spec: - ALL privileged: false readOnlyRootFilesystem: true - image: gcr.io/google-samples/microservices-demo/currencyservice:v0.7.0 + image: gcr.io/google-samples/microservices-demo/currencyservice:v0.8.0 ports: - name: grpc containerPort: 7000 @@ -637,11 +637,11 @@ spec: - name: DISABLE_PROFILER value: "1" readinessProbe: - exec: - command: ["/bin/grpc_health_probe", "-addr=:7000"] + grpc: + port: 7000 livenessProbe: - exec: - command: ["/bin/grpc_health_probe", "-addr=:7000"] + grpc: + port: 7000 resources: requests: cpu: 100m @@ -691,7 +691,7 @@ spec: - ALL privileged: false readOnlyRootFilesystem: true - image: gcr.io/google-samples/microservices-demo/shippingservice:v0.7.0 + image: gcr.io/google-samples/microservices-demo/shippingservice:v0.8.0 ports: - containerPort: 50051 env: @@ -701,11 +701,11 @@ spec: value: "1" readinessProbe: periodSeconds: 5 - exec: - command: ["/bin/grpc_health_probe", "-addr=:50051"] + grpc: + port: 50051 livenessProbe: - exec: - command: ["/bin/grpc_health_probe", "-addr=:50051"] + grpc: + port: 50051 resources: requests: cpu: 100m @@ -821,7 +821,7 @@ spec: - ALL privileged: false readOnlyRootFilesystem: true - image: gcr.io/google-samples/microservices-demo/adservice:v0.7.0 + image: gcr.io/google-samples/microservices-demo/adservice:v0.8.0 ports: - containerPort: 9555 env: @@ -837,13 +837,13 @@ spec: readinessProbe: initialDelaySeconds: 20 periodSeconds: 15 - exec: - command: ["/bin/grpc_health_probe", "-addr=:9555"] + grpc: + port: 9555 livenessProbe: initialDelaySeconds: 20 periodSeconds: 15 - exec: - command: ["/bin/grpc_health_probe", "-addr=:9555"] + grpc: + port: 9555 --- apiVersion: v1 kind: Service