This repository has been archived by the owner on Dec 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Online Boutique v0.8.0 with grpc
probes
#13
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Deployment Complete for PR-13! 🎉View in HumanitecDeployment ID: cebcd0f15dd9ee723c7218f3e8ad95fe0845b722 Domains:frontend: jacobschamplinstoltenbergcruickshank.newapp.io Deployment diffDeployment diff:{
"modules": {
"add": null,
"remove": [],
"update": {
"frontend": [
{
"from": "",
"op": "replace",
"path": "/spec/containers/frontend/image",
"value": "gcr.io/google-samples/microservices-demo/frontend:v0.8.0"
},
{
"from": "",
"op": "add",
"path": "/spec/containers/frontend/variables/CYMBAL_BRANDING",
"value": "false"
},
{
"from": "",
"op": "add",
"path": "/spec/containers/frontend/variables/FRONTEND_MESSAGE",
"value": ""
}
]
}
},
"shared": null
}
Score OutputScore Output:{
"id": "cebcd0f15dd9ee723c7218f3e8ad95fe0845b722",
"metadata": {
"env_id": "pr-13-frontend",
"name": "Auto-generated (SCORE)",
"url": "https://app.humanitec.io/orgs/my-trial/apps/onlineboutique/envs/pr-13-frontend/draft/cebcd0f15dd9ee723c7218f3e8ad95fe0845b722",
"created_by": "s-9d271151-e949-4548-81ed-e7c652fecbb8",
"created_at": "2023-08-16T16:50:43.041052136Z",
"last_modified_at": "2023-08-16T16:50:43.041052136Z"
},
"modules": {
"add": {
"frontend": {
"externals": {
"dns": {
"type": "dns"
}
},
"profile": "humanitec/default-module",
"spec": {
"containers": {
"frontend": {
"id": "frontend",
"image": "gcr.io/google-samples/microservices-demo/frontend:v0.8.0",
"liveness_probe": {
"headers": {
"Cookie": "shop_session-id=x-liveness-probe"
},
"path": "/_healthz",
"port": 8080,
"type": "http"
},
"readiness_probe": {
"headers": {
"Cookie": "shop_session-id=x-readiness-probe"
},
"path": "/_healthz",
"port": 8080,
"type": "http"
},
"variables": {
"AD_SERVICE_ADDR": "${modules.adservice.service.name}:9555",
"CART_SERVICE_ADDR": "${modules.cartservice.service.name}:7070",
"CHECKOUT_SERVICE_ADDR": "${modules.checkoutservice.service.name}:5050",
"CURRENCY_SERVICE_ADDR": "${modules.currencyservice.service.name}:7000",
"CYMBAL_BRANDING": "false",
"ENABLE_PROFILER": "0",
"FRONTEND_MESSAGE": "",
"PAYMENT_SERVICE_ADDR": "${modules.paymentservice.service.name}:50051",
"PORT": "8080",
"PRODUCT_CATALOG_SERVICE_ADDR": "${modules.productcatalogservice.service.name}:3550",
"RECOMMENDATION_SERVICE_ADDR": "${modules.recommendationservice.service.name}:8080",
"SHIPPING_SERVICE_ADDR": "${modules.shippingservice.service.name}:50051"
}
}
},
"ingress": {
"rules": {
"externals.dns": {
"http": {
"/": {
"port": 80,
"type": "prefix"
}
}
}
}
},
"service": {
"ports": {
"grpc": {
"container_port": 8080,
"protocol": "TCP",
"service_port": 80
}
}
}
}
}
}
}
} |
Deployment Complete for PR-13! 🎉View in HumanitecDeployment ID: ed2e16dc4756497b550ff3537af282c30cd06e57 Domains:frontend: jacobschamplinstoltenbergcruickshank.newapp.io Deployment diffDeployment diff:{
"modules": {
"add": null,
"remove": [],
"update": {
"frontend": [
{
"from": "",
"op": "replace",
"path": "/spec/containers/frontend/image",
"value": "gcr.io/google-samples/microservices-demo/frontend:v0.8.0"
},
{
"from": "",
"op": "add",
"path": "/spec/containers/frontend/variables/CYMBAL_BRANDING",
"value": "false"
},
{
"from": "",
"op": "add",
"path": "/spec/containers/frontend/variables/FRONTEND_MESSAGE",
"value": ""
}
]
}
},
"shared": null
}
Score OutputScore Output:{
"id": "ed2e16dc4756497b550ff3537af282c30cd06e57",
"metadata": {
"env_id": "pr-13-frontend",
"name": "Auto-generated (SCORE)",
"url": "https://app.humanitec.io/orgs/my-trial/apps/onlineboutique/envs/pr-13-frontend/draft/ed2e16dc4756497b550ff3537af282c30cd06e57",
"created_by": "s-9d271151-e949-4548-81ed-e7c652fecbb8",
"created_at": "2023-08-16T16:55:45.289014928Z",
"last_modified_at": "2023-08-16T16:55:45.289014928Z"
},
"modules": {
"add": {
"frontend": {
"externals": {
"dns": {
"type": "dns"
}
},
"profile": "humanitec/default-module",
"spec": {
"containers": {
"frontend": {
"id": "frontend",
"image": "gcr.io/google-samples/microservices-demo/frontend:v0.8.0",
"liveness_probe": {
"headers": {
"Cookie": "shop_session-id=x-liveness-probe"
},
"path": "/_healthz",
"port": 8080,
"type": "http"
},
"readiness_probe": {
"headers": {
"Cookie": "shop_session-id=x-readiness-probe"
},
"path": "/_healthz",
"port": 8080,
"type": "http"
},
"variables": {
"AD_SERVICE_ADDR": "${modules.adservice.service.name}:9555",
"CART_SERVICE_ADDR": "${modules.cartservice.service.name}:7070",
"CHECKOUT_SERVICE_ADDR": "${modules.checkoutservice.service.name}:5050",
"CURRENCY_SERVICE_ADDR": "${modules.currencyservice.service.name}:7000",
"CYMBAL_BRANDING": "false",
"ENABLE_PROFILER": "0",
"FRONTEND_MESSAGE": "",
"PAYMENT_SERVICE_ADDR": "${modules.paymentservice.service.name}:50051",
"PORT": "8080",
"PRODUCT_CATALOG_SERVICE_ADDR": "${modules.productcatalogservice.service.name}:3550",
"RECOMMENDATION_SERVICE_ADDR": "${modules.recommendationservice.service.name}:8080",
"SHIPPING_SERVICE_ADDR": "${modules.shippingservice.service.name}:50051"
}
}
},
"ingress": {
"rules": {
"externals.dns": {
"http": {
"/": {
"port": 80,
"type": "prefix"
}
}
}
}
},
"service": {
"ports": {
"grpc": {
"container_port": 8080,
"protocol": "TCP",
"service_port": 80
}
}
}
}
}
}
}
} |
Deployment Complete for PR-13! 🎉View in HumanitecDeployment ID: f3d56da736543c9eef8d7eb4ec2df3a83e4d73f8 Domains:frontend: jacobschamplinstoltenbergcruickshank.newapp.io Deployment diffDeployment diff:{
"modules": {
"add": {
"loadgenerator": {
"externals": null,
"profile": "humanitec/default-module",
"spec": {
"containers": {
"loadgenerator": {
"id": "loadgenerator",
"image": "gcr.io/google-samples/microservices-demo/loadgenerator:v0.8.0",
"variables": {
"FRONTEND_ADDR": "${modules.frontend.service.name}:80",
"USERS": "10"
}
}
}
}
}
},
"remove": [],
"update": {
"adservice": [
{
"from": "",
"op": "replace",
"path": "/spec/containers/adservice/image",
"value": "gcr.io/google-samples/microservices-demo/adservice:v0.8.0"
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/adservice/liveness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/adservice/liveness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/adservice/liveness_probe/grpc",
"value": {
"port": 9555,
"type": "grpc"
}
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/adservice/readiness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/adservice/readiness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/adservice/readiness_probe/grpc",
"value": {
"port": 9555,
"type": "grpc"
}
}
],
"cartservice": [
{
"from": "",
"op": "replace",
"path": "/spec/containers/cartservice/liveness_probe/type",
"value": "grpc"
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/cartservice/liveness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/cartservice/liveness_probe/grpc",
"value": {
"port": 7070
}
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/cartservice/readiness_probe/command",
"value": null
},
{
"from": "",
"op": "replace",
"path": "/spec/containers/cartservice/readiness_probe/type",
"value": "grpc"
},
{
"from": "",
"op": "add",
"path": "/spec/containers/cartservice/readiness_probe/grpc",
"value": {
"port": 7070
}
},
{
"from": "",
"op": "replace",
"path": "/spec/containers/cartservice/image",
"value": "gcr.io/google-samples/microservices-demo/cartservice:v0.8.0"
}
],
"checkoutservice": [
{
"from": "",
"op": "remove",
"path": "/spec/containers/checkoutservice/liveness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/checkoutservice/liveness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/checkoutservice/liveness_probe/grpc",
"value": {
"port": 5050,
"type": "grpc"
}
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/checkoutservice/readiness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/checkoutservice/readiness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/checkoutservice/readiness_probe/grpc",
"value": {
"port": 5050,
"type": "grpc"
}
},
{
"from": "",
"op": "replace",
"path": "/spec/containers/checkoutservice/image",
"value": "gcr.io/google-samples/microservices-demo/checkoutservice:v0.8.0"
}
],
"currencyservice": [
{
"from": "",
"op": "replace",
"path": "/spec/containers/currencyservice/image",
"value": "gcr.io/google-samples/microservices-demo/currencyservice:v0.8.0"
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/currencyservice/liveness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/currencyservice/liveness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/currencyservice/liveness_probe/grpc",
"value": {
"port": 7000,
"type": "grpc"
}
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/currencyservice/readiness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/currencyservice/readiness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/currencyservice/readiness_probe/grpc",
"value": {
"port": 7000,
"type": "grpc"
}
}
],
"emailservice": [
{
"from": "",
"op": "replace",
"path": "/spec/containers/emailservice/image",
"value": "gcr.io/google-samples/microservices-demo/emailservice:v0.8.0"
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/emailservice/liveness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/emailservice/liveness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/emailservice/liveness_probe/grpc",
"value": {
"port": 8080,
"type": "grpc"
}
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/emailservice/readiness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/emailservice/readiness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/emailservice/readiness_probe/grpc",
"value": {
"port": 8080,
"type": "grpc"
}
}
],
"frontend": [
{
"from": "",
"op": "replace",
"path": "/spec/containers/frontend/image",
"value": "gcr.io/google-samples/microservices-demo/frontend:v0.8.0"
},
{
"from": "",
"op": "add",
"path": "/spec/containers/frontend/variables/CYMBAL_BRANDING",
"value": "false"
},
{
"from": "",
"op": "add",
"path": "/spec/containers/frontend/variables/FRONTEND_MESSAGE",
"value": ""
}
],
"paymentservice": [
{
"from": "",
"op": "remove",
"path": "/spec/containers/paymentservice/liveness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/paymentservice/liveness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/paymentservice/liveness_probe/grpc",
"value": {
"port": 50051,
"type": "grpc"
}
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/paymentservice/readiness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/paymentservice/readiness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/paymentservice/readiness_probe/grpc",
"value": {
"port": 50051,
"type": "grpc"
}
},
{
"from": "",
"op": "replace",
"path": "/spec/containers/paymentservice/image",
"value": "gcr.io/google-samples/microservices-demo/paymentservice:v0.8.0"
}
],
"productcatalogservice": [
{
"from": "",
"op": "remove",
"path": "/spec/containers/productcatalogservice/readiness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/productcatalogservice/readiness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/productcatalogservice/readiness_probe/grpc",
"value": {
"port": 3550,
"type": "grpc"
}
},
{
"from": "",
"op": "replace",
"path": "/spec/containers/productcatalogservice/image",
"value": "gcr.io/google-samples/microservices-demo/productcatalogservice:v0.8.0"
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/productcatalogservice/liveness_probe/command",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/productcatalogservice/liveness_probe/type",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/productcatalogservice/liveness_probe/grpc",
"value": {
"port": 3550,
"type": "grpc"
}
}
],
"recommendationservice": [
{
"from": "",
"op": "replace",
"path": "/spec/containers/recommendationservice/image",
"value": "gcr.io/google-samples/microservices-demo/recommendationservice:v0.8.0"
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/recommendationservice/liveness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/recommendationservice/liveness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/recommendationservice/liveness_probe/grpc",
"value": {
"port": 8080,
"type": "grpc"
}
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/recommendationservice/readiness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/recommendationservice/readiness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/recommendationservice/readiness_probe/grpc",
"value": {
"port": 8080,
"type": "grpc"
}
}
],
"shippingservice": [
{
"from": "",
"op": "remove",
"path": "/spec/containers/shippingservice/liveness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/shippingservice/liveness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/shippingservice/liveness_probe/grpc",
"value": {
"port": 50051,
"type": "grpc"
}
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/shippingservice/readiness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/shippingservice/readiness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/shippingservice/readiness_probe/grpc",
"value": {
"port": 50051,
"type": "grpc"
}
},
{
"from": "",
"op": "replace",
"path": "/spec/containers/shippingservice/image",
"value": "gcr.io/google-samples/microservices-demo/shippingservice:v0.8.0"
}
]
}
},
"shared": null
}
Score OutputScore Output:{
"id": "f3d56da736543c9eef8d7eb4ec2df3a83e4d73f8",
"metadata": {
"env_id": "pr-13-frontend",
"name": "Auto-generated (SCORE)",
"url": "https://app.humanitec.io/orgs/my-trial/apps/onlineboutique/envs/pr-13-frontend/draft/f3d56da736543c9eef8d7eb4ec2df3a83e4d73f8",
"created_by": "s-9d271151-e949-4548-81ed-e7c652fecbb8",
"created_at": "2023-08-16T19:49:25.295864553Z",
"last_modified_at": "2023-08-16T19:49:25.295864553Z"
},
"modules": {
"add": {
"frontend": {
"externals": {
"dns": {
"type": "dns"
}
},
"profile": "humanitec/default-module",
"spec": {
"containers": {
"frontend": {
"id": "frontend",
"image": "gcr.io/google-samples/microservices-demo/frontend:v0.8.0",
"liveness_probe": {
"headers": {
"Cookie": "shop_session-id=x-liveness-probe"
},
"path": "/_healthz",
"port": 8080,
"type": "http"
},
"readiness_probe": {
"headers": {
"Cookie": "shop_session-id=x-readiness-probe"
},
"path": "/_healthz",
"port": 8080,
"type": "http"
},
"variables": {
"AD_SERVICE_ADDR": "${modules.adservice.service.name}:9555",
"CART_SERVICE_ADDR": "${modules.cartservice.service.name}:7070",
"CHECKOUT_SERVICE_ADDR": "${modules.checkoutservice.service.name}:5050",
"CURRENCY_SERVICE_ADDR": "${modules.currencyservice.service.name}:7000",
"CYMBAL_BRANDING": "false",
"ENABLE_PROFILER": "0",
"FRONTEND_MESSAGE": "",
"PAYMENT_SERVICE_ADDR": "${modules.paymentservice.service.name}:50051",
"PORT": "8080",
"PRODUCT_CATALOG_SERVICE_ADDR": "${modules.productcatalogservice.service.name}:3550",
"RECOMMENDATION_SERVICE_ADDR": "${modules.recommendationservice.service.name}:8080",
"SHIPPING_SERVICE_ADDR": "${modules.shippingservice.service.name}:50051"
}
}
},
"ingress": {
"rules": {
"externals.dns": {
"http": {
"/": {
"port": 80,
"type": "prefix"
}
}
}
}
},
"service": {
"ports": {
"grpc": {
"container_port": 8080,
"protocol": "TCP",
"service_port": 80
}
}
}
}
}
}
}
} |
Deployment Complete for PR-13! 🎉View in HumanitecDeployment ID: b7ccf5a04e4952b2c0c99dcdf0fba449996d4cd2 Domains:frontend: jacobschamplinstoltenbergcruickshank.newapp.io Deployment diffDeployment diff:{
"modules": {
"add": {
"loadgenerator": {
"externals": null,
"profile": "humanitec/default-module",
"spec": {
"containers": {
"loadgenerator": {
"id": "loadgenerator",
"image": "gcr.io/google-samples/microservices-demo/loadgenerator:v0.8.0",
"variables": {
"FRONTEND_ADDR": "${modules.frontend.service.name}:80",
"USERS": "10"
}
}
}
}
}
},
"remove": [],
"update": {
"adservice": [
{
"from": "",
"op": "remove",
"path": "/spec/containers/adservice/readiness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/adservice/readiness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/adservice/readiness_probe/grpc",
"value": {
"port": 9555,
"type": "grpc"
}
},
{
"from": "",
"op": "replace",
"path": "/spec/containers/adservice/image",
"value": "gcr.io/google-samples/microservices-demo/adservice:v0.8.0"
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/adservice/liveness_probe/command",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/adservice/liveness_probe/type",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/adservice/liveness_probe/grpc",
"value": {
"port": 9555,
"type": "grpc"
}
}
],
"cartservice": [
{
"from": "",
"op": "replace",
"path": "/spec/containers/cartservice/readiness_probe/type",
"value": "grpc"
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/cartservice/readiness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/cartservice/readiness_probe/grpc",
"value": {
"port": 7070
}
},
{
"from": "",
"op": "replace",
"path": "/spec/containers/cartservice/image",
"value": "gcr.io/google-samples/microservices-demo/cartservice:v0.8.0"
},
{
"from": "",
"op": "replace",
"path": "/spec/containers/cartservice/liveness_probe/type",
"value": "grpc"
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/cartservice/liveness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/cartservice/liveness_probe/grpc",
"value": {
"port": 7070
}
}
],
"checkoutservice": [
{
"from": "",
"op": "remove",
"path": "/spec/containers/checkoutservice/readiness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/checkoutservice/readiness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/checkoutservice/readiness_probe/grpc",
"value": {
"port": 5050,
"type": "grpc"
}
},
{
"from": "",
"op": "replace",
"path": "/spec/containers/checkoutservice/image",
"value": "gcr.io/google-samples/microservices-demo/checkoutservice:v0.8.0"
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/checkoutservice/liveness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/checkoutservice/liveness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/checkoutservice/liveness_probe/grpc",
"value": {
"port": 5050,
"type": "grpc"
}
}
],
"currencyservice": [
{
"from": "",
"op": "remove",
"path": "/spec/containers/currencyservice/liveness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/currencyservice/liveness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/currencyservice/liveness_probe/grpc",
"value": {
"port": 7000,
"type": "grpc"
}
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/currencyservice/readiness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/currencyservice/readiness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/currencyservice/readiness_probe/grpc",
"value": {
"port": 7000,
"type": "grpc"
}
},
{
"from": "",
"op": "replace",
"path": "/spec/containers/currencyservice/image",
"value": "gcr.io/google-samples/microservices-demo/currencyservice:v0.8.0"
}
],
"emailservice": [
{
"from": "",
"op": "replace",
"path": "/spec/containers/emailservice/image",
"value": "gcr.io/google-samples/microservices-demo/emailservice:v0.8.0"
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/emailservice/liveness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/emailservice/liveness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/emailservice/liveness_probe/grpc",
"value": {
"port": 8080,
"type": "grpc"
}
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/emailservice/readiness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/emailservice/readiness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/emailservice/readiness_probe/grpc",
"value": {
"port": 8080,
"type": "grpc"
}
}
],
"frontend": [
{
"from": "",
"op": "replace",
"path": "/spec/containers/frontend/image",
"value": "gcr.io/google-samples/microservices-demo/frontend:v0.8.0"
},
{
"from": "",
"op": "add",
"path": "/spec/containers/frontend/variables/FRONTEND_MESSAGE",
"value": ""
},
{
"from": "",
"op": "add",
"path": "/spec/containers/frontend/variables/CYMBAL_BRANDING",
"value": "false"
}
],
"paymentservice": [
{
"from": "",
"op": "replace",
"path": "/spec/containers/paymentservice/image",
"value": "gcr.io/google-samples/microservices-demo/paymentservice:v0.8.0"
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/paymentservice/liveness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/paymentservice/liveness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/paymentservice/liveness_probe/grpc",
"value": {
"port": 50051,
"type": "grpc"
}
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/paymentservice/readiness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/paymentservice/readiness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/paymentservice/readiness_probe/grpc",
"value": {
"port": 50051,
"type": "grpc"
}
}
],
"productcatalogservice": [
{
"from": "",
"op": "remove",
"path": "/spec/containers/productcatalogservice/liveness_probe/command",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/productcatalogservice/liveness_probe/type",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/productcatalogservice/liveness_probe/grpc",
"value": {
"port": 3550,
"type": "grpc"
}
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/productcatalogservice/readiness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/productcatalogservice/readiness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/productcatalogservice/readiness_probe/grpc",
"value": {
"port": 3550,
"type": "grpc"
}
},
{
"from": "",
"op": "replace",
"path": "/spec/containers/productcatalogservice/image",
"value": "gcr.io/google-samples/microservices-demo/productcatalogservice:v0.8.0"
}
],
"recommendationservice": [
{
"from": "",
"op": "remove",
"path": "/spec/containers/recommendationservice/liveness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/recommendationservice/liveness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/recommendationservice/liveness_probe/grpc",
"value": {
"port": 8080,
"type": "grpc"
}
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/recommendationservice/readiness_probe/command",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/recommendationservice/readiness_probe/type",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/recommendationservice/readiness_probe/grpc",
"value": {
"port": 8080,
"type": "grpc"
}
},
{
"from": "",
"op": "replace",
"path": "/spec/containers/recommendationservice/image",
"value": "gcr.io/google-samples/microservices-demo/recommendationservice:v0.8.0"
}
],
"shippingservice": [
{
"from": "",
"op": "replace",
"path": "/spec/containers/shippingservice/image",
"value": "gcr.io/google-samples/microservices-demo/shippingservice:v0.8.0"
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/shippingservice/liveness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/shippingservice/liveness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/shippingservice/liveness_probe/grpc",
"value": {
"port": 50051,
"type": "grpc"
}
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/shippingservice/readiness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/shippingservice/readiness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/shippingservice/readiness_probe/grpc",
"value": {
"port": 50051,
"type": "grpc"
}
}
]
}
},
"shared": null
}
Score OutputScore Output:{
"id": "b7ccf5a04e4952b2c0c99dcdf0fba449996d4cd2",
"metadata": {
"env_id": "pr-13-frontend",
"name": "Auto-generated (SCORE)",
"url": "https://app.humanitec.io/orgs/my-trial/apps/onlineboutique/envs/pr-13-frontend/draft/b7ccf5a04e4952b2c0c99dcdf0fba449996d4cd2",
"created_by": "s-9d271151-e949-4548-81ed-e7c652fecbb8",
"created_at": "2023-08-16T19:55:18.317192728Z",
"last_modified_at": "2023-08-16T19:55:18.317192728Z"
},
"modules": {
"add": {
"frontend": {
"externals": {
"dns": {
"type": "dns"
}
},
"profile": "humanitec/default-module",
"spec": {
"containers": {
"frontend": {
"id": "frontend",
"image": "gcr.io/google-samples/microservices-demo/frontend:v0.8.0",
"liveness_probe": {
"headers": {
"Cookie": "shop_session-id=x-liveness-probe"
},
"path": "/_healthz",
"port": 8080,
"type": "http"
},
"readiness_probe": {
"headers": {
"Cookie": "shop_session-id=x-readiness-probe"
},
"path": "/_healthz",
"port": 8080,
"type": "http"
},
"variables": {
"AD_SERVICE_ADDR": "${modules.adservice.service.name}:9555",
"CART_SERVICE_ADDR": "${modules.cartservice.service.name}:7070",
"CHECKOUT_SERVICE_ADDR": "${modules.checkoutservice.service.name}:5050",
"CURRENCY_SERVICE_ADDR": "${modules.currencyservice.service.name}:7000",
"CYMBAL_BRANDING": "false",
"ENABLE_PROFILER": "0",
"FRONTEND_MESSAGE": "",
"PAYMENT_SERVICE_ADDR": "${modules.paymentservice.service.name}:50051",
"PORT": "8080",
"PRODUCT_CATALOG_SERVICE_ADDR": "${modules.productcatalogservice.service.name}:3550",
"RECOMMENDATION_SERVICE_ADDR": "${modules.recommendationservice.service.name}:8080",
"SHIPPING_SERVICE_ADDR": "${modules.shippingservice.service.name}:50051"
}
}
},
"ingress": {
"rules": {
"externals.dns": {
"http": {
"/": {
"port": 80,
"type": "prefix"
}
}
}
}
},
"service": {
"ports": {
"grpc": {
"container_port": 8080,
"protocol": "TCP",
"service_port": 80
}
}
}
}
}
}
}
} |
Deployment Complete for PR-13! 🎉View in HumanitecDeployment ID: af6b2fedad8b1183b8691e028a1475bde015202e Domains:frontend: jacobschamplinstoltenbergcruickshank.newapp.io Deployment diffDeployment diff:{
"modules": {
"add": {
"loadgenerator": {
"externals": null,
"profile": "humanitec/default-module",
"spec": {
"containers": {
"loadgenerator": {
"id": "loadgenerator",
"image": "gcr.io/google-samples/microservices-demo/loadgenerator:v0.8.0",
"variables": {
"FRONTEND_ADDR": "${modules.frontend.service.name}:80",
"USERS": "10"
}
}
}
}
}
},
"remove": [],
"update": {
"adservice": [
{
"from": "",
"op": "remove",
"path": "/spec/containers/adservice/liveness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/adservice/liveness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/adservice/liveness_probe/grpc",
"value": {
"port": 9555,
"type": "grpc"
}
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/adservice/readiness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/adservice/readiness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/adservice/readiness_probe/grpc",
"value": {
"port": 9555,
"type": "grpc"
}
},
{
"from": "",
"op": "replace",
"path": "/spec/containers/adservice/image",
"value": "gcr.io/google-samples/microservices-demo/adservice:v0.8.0"
}
],
"cartservice": [
{
"from": "",
"op": "replace",
"path": "/spec/containers/cartservice/image",
"value": "gcr.io/google-samples/microservices-demo/cartservice:v0.8.0"
},
{
"from": "",
"op": "replace",
"path": "/spec/containers/cartservice/liveness_probe/type",
"value": "grpc"
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/cartservice/liveness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/cartservice/liveness_probe/grpc",
"value": {
"port": 7070
}
},
{
"from": "",
"op": "replace",
"path": "/spec/containers/cartservice/readiness_probe/type",
"value": "grpc"
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/cartservice/readiness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/cartservice/readiness_probe/grpc",
"value": {
"port": 7070
}
}
],
"checkoutservice": [
{
"from": "",
"op": "replace",
"path": "/spec/containers/checkoutservice/image",
"value": "gcr.io/google-samples/microservices-demo/checkoutservice:v0.8.0"
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/checkoutservice/liveness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/checkoutservice/liveness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/checkoutservice/liveness_probe/grpc",
"value": {
"port": 5050,
"type": "grpc"
}
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/checkoutservice/readiness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/checkoutservice/readiness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/checkoutservice/readiness_probe/grpc",
"value": {
"port": 5050,
"type": "grpc"
}
}
],
"currencyservice": [
{
"from": "",
"op": "replace",
"path": "/spec/containers/currencyservice/image",
"value": "gcr.io/google-samples/microservices-demo/currencyservice:v0.8.0"
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/currencyservice/liveness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/currencyservice/liveness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/currencyservice/liveness_probe/grpc",
"value": {
"port": 7000,
"type": "grpc"
}
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/currencyservice/readiness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/currencyservice/readiness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/currencyservice/readiness_probe/grpc",
"value": {
"port": 7000,
"type": "grpc"
}
}
],
"emailservice": [
{
"from": "",
"op": "remove",
"path": "/spec/containers/emailservice/liveness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/emailservice/liveness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/emailservice/liveness_probe/grpc",
"value": {
"port": 8080,
"type": "grpc"
}
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/emailservice/readiness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/emailservice/readiness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/emailservice/readiness_probe/grpc",
"value": {
"port": 8080,
"type": "grpc"
}
},
{
"from": "",
"op": "replace",
"path": "/spec/containers/emailservice/image",
"value": "gcr.io/google-samples/microservices-demo/emailservice:v0.8.0"
}
],
"frontend": [
{
"from": "",
"op": "replace",
"path": "/spec/containers/frontend/image",
"value": "gcr.io/google-samples/microservices-demo/frontend:v0.8.0"
},
{
"from": "",
"op": "add",
"path": "/spec/containers/frontend/variables/CYMBAL_BRANDING",
"value": "false"
},
{
"from": "",
"op": "add",
"path": "/spec/containers/frontend/variables/FRONTEND_MESSAGE",
"value": ""
}
],
"paymentservice": [
{
"from": "",
"op": "replace",
"path": "/spec/containers/paymentservice/image",
"value": "gcr.io/google-samples/microservices-demo/paymentservice:v0.8.0"
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/paymentservice/liveness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/paymentservice/liveness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/paymentservice/liveness_probe/grpc",
"value": {
"port": 50051,
"type": "grpc"
}
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/paymentservice/readiness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/paymentservice/readiness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/paymentservice/readiness_probe/grpc",
"value": {
"port": 50051,
"type": "grpc"
}
}
],
"productcatalogservice": [
{
"from": "",
"op": "remove",
"path": "/spec/containers/productcatalogservice/readiness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/productcatalogservice/readiness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/productcatalogservice/readiness_probe/grpc",
"value": {
"port": 3550,
"type": "grpc"
}
},
{
"from": "",
"op": "replace",
"path": "/spec/containers/productcatalogservice/image",
"value": "gcr.io/google-samples/microservices-demo/productcatalogservice:v0.8.0"
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/productcatalogservice/liveness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/productcatalogservice/liveness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/productcatalogservice/liveness_probe/grpc",
"value": {
"port": 3550,
"type": "grpc"
}
}
],
"recommendationservice": [
{
"from": "",
"op": "replace",
"path": "/spec/containers/recommendationservice/image",
"value": "gcr.io/google-samples/microservices-demo/recommendationservice:v0.8.0"
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/recommendationservice/liveness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/recommendationservice/liveness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/recommendationservice/liveness_probe/grpc",
"value": {
"port": 8080,
"type": "grpc"
}
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/recommendationservice/readiness_probe/command",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/recommendationservice/readiness_probe/type",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/recommendationservice/readiness_probe/grpc",
"value": {
"port": 8080,
"type": "grpc"
}
}
],
"shippingservice": [
{
"from": "",
"op": "replace",
"path": "/spec/containers/shippingservice/image",
"value": "gcr.io/google-samples/microservices-demo/shippingservice:v0.8.0"
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/shippingservice/liveness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/shippingservice/liveness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/shippingservice/liveness_probe/grpc",
"value": {
"port": 50051,
"type": "grpc"
}
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/shippingservice/readiness_probe/type",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/shippingservice/readiness_probe/command",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/shippingservice/readiness_probe/grpc",
"value": {
"port": 50051,
"type": "grpc"
}
}
]
}
},
"shared": null
}
Score OutputScore Output:{
"id": "af6b2fedad8b1183b8691e028a1475bde015202e",
"metadata": {
"env_id": "pr-13-frontend",
"name": "Auto-generated (SCORE)",
"url": "https://app.humanitec.io/orgs/my-trial/apps/onlineboutique/envs/pr-13-frontend/draft/af6b2fedad8b1183b8691e028a1475bde015202e",
"created_by": "s-9d271151-e949-4548-81ed-e7c652fecbb8",
"created_at": "2023-08-16T21:28:41.396778592Z",
"last_modified_at": "2023-08-16T21:28:41.396778592Z"
},
"modules": {
"add": {
"frontend": {
"externals": {
"dns": {
"type": "dns"
}
},
"profile": "humanitec/default-module",
"spec": {
"containers": {
"frontend": {
"id": "frontend",
"image": "gcr.io/google-samples/microservices-demo/frontend:v0.8.0",
"liveness_probe": {
"headers": {
"Cookie": "shop_session-id=x-liveness-probe"
},
"path": "/_healthz",
"port": 8080,
"type": "http"
},
"readiness_probe": {
"headers": {
"Cookie": "shop_session-id=x-readiness-probe"
},
"path": "/_healthz",
"port": 8080,
"type": "http"
},
"variables": {
"AD_SERVICE_ADDR": "${modules.adservice.service.name}:9555",
"CART_SERVICE_ADDR": "${modules.cartservice.service.name}:7070",
"CHECKOUT_SERVICE_ADDR": "${modules.checkoutservice.service.name}:5050",
"CURRENCY_SERVICE_ADDR": "${modules.currencyservice.service.name}:7000",
"CYMBAL_BRANDING": "false",
"ENABLE_PROFILER": "0",
"FRONTEND_MESSAGE": "",
"PAYMENT_SERVICE_ADDR": "${modules.paymentservice.service.name}:50051",
"PORT": "8080",
"PRODUCT_CATALOG_SERVICE_ADDR": "${modules.productcatalogservice.service.name}:3550",
"RECOMMENDATION_SERVICE_ADDR": "${modules.recommendationservice.service.name}:8080",
"SHIPPING_SERVICE_ADDR": "${modules.shippingservice.service.name}:50051"
}
}
},
"ingress": {
"rules": {
"externals.dns": {
"http": {
"/": {
"port": 80,
"type": "prefix"
}
}
}
}
},
"service": {
"ports": {
"grpc": {
"container_port": 8080,
"protocol": "TCP",
"service_port": 80
}
}
}
}
}
}
}
} |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.