Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

score-k8s #25

Merged
merged 3 commits into from
Jun 3, 2024
Merged

score-k8s #25

merged 3 commits into from
Jun 3, 2024

Conversation

mathieu-benoit
Copy link
Contributor

@mathieu-benoit mathieu-benoit commented Jun 2, 2024

@mathieu-benoit mathieu-benoit changed the title Score-k8s score-k8s Jun 2, 2024
Copy link

github-actions bot commented Jun 2, 2024

Deployment failed for PR-25! ❌

Errors:

error provisioning resource ingress#modules.frontend.externals.dns GuResID: 738e47b44b3b4e22f5c7d1e70863e0656a2c03ad. Status: False. Reason: ApplyConfigurationError. Message: applying object 738e47b44b3b4e22f5c7d1e70863e0656a2c03ad-ingress of the kind Ingress: admission webhook "validate.nginx.ingress.kubernetes.io" denied the request: host "onlineboutique-preview.endpoints.mathieu-benoit-gcp.cloud.goog" and path "/" is already defined in ingress onlineboutique-pr-24/b6f318d1536ee531eaf17c94488cd3f193e4a6f6-ingress
Errors details

Errors details:

[
  {
    "apiVersion": "entity.humanitec.io/v1b1",
    "entity": {},
    "kind": "DeploymentError",
    "metadata": {
      "app_id": "onlineboutique",
      "deploy_id": "17d545a4d76aa25a",
      "env_id": "pr-25",
      "org_id": "mabenoit"
    },
    "status": {
      "code": "OPR-001",
      "error_type": "",
      "message": "error provisioning resource ingress#modules.frontend.externals.dns GuResID: 738e47b44b3b4e22f5c7d1e70863e0656a2c03ad. Status: False. Reason: ApplyConfigurationError. Message: applying object 738e47b44b3b4e22f5c7d1e70863e0656a2c03ad-ingress of the kind Ingress: admission webhook \"validate.nginx.ingress.kubernetes.io\" denied the request: host \"onlineboutique-preview.endpoints.mathieu-benoit-gcp.cloud.goog\" and path \"/\" is already defined in ingress onlineboutique-pr-24/b6f318d1536ee531eaf17c94488cd3f193e4a6f6-ingress",
      "object_id": "",
      "scope": "environment",
      "summary": "Humanitec Operator error"
    }
  }
]

View in Humanitec

Deployment ID: 17d545a4d76aa25a

Domains:

frontend: onlineboutique-preview.endpoints.mathieu-benoit-gcp.cloud.goog

Deployment diff

Deployment diff:

{
  "modules": {
    "add": null,
    "remove": [],
    "update": {
      "adservice": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/adservice/resources/limits/cpu",
          "value": "80m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/adservice/resources/limits/memory",
          "value": "100Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/adservice/resources/requests/cpu",
          "value": "60m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/adservice/resources/requests/memory",
          "value": "80Mi"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/ad/score.yaml"
        }
      ],
      "cartservice": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/cartservice/resources/limits/cpu",
          "value": "220m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/cartservice/resources/limits/memory",
          "value": "90Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/cartservice/resources/requests/memory",
          "value": "70Mi"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/cart/score.yaml"
        }
      ],
      "checkoutservice": [
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/checkout/score.yaml"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/checkoutservice/image",
          "value": "gcr.io/google-samples/microservices-demo/checkoutservice:v0.10.0"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/checkoutservice/resources/limits/memory",
          "value": "40Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/checkoutservice/resources/limits/cpu",
          "value": "30m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/checkoutservice/resources/requests/cpu",
          "value": "10m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/checkoutservice/resources/requests/memory",
          "value": "20Mi"
        }
      ],
      "currencyservice": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/currencyservice/resources/requests/cpu",
          "value": "20m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/currencyservice/resources/requests/memory",
          "value": "40Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/currencyservice/resources/limits/cpu",
          "value": "40m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/currencyservice/resources/limits/memory",
          "value": "60Mi"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/currency/score.yaml"
        }
      ],
      "emailservice": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/emailservice/resources/requests/cpu",
          "value": "10m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/emailservice/resources/requests/memory",
          "value": "50Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/emailservice/resources/limits/cpu",
          "value": "30m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/emailservice/resources/limits/memory",
          "value": "70Mi"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/email/score.yaml"
        }
      ],
      "frontend": [
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/frontend/score.yaml"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/frontend/image",
          "value": "gcr.io/google-samples/microservices-demo/frontend:v0.10.0"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/frontend/resources/requests/memory",
          "value": "40Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/frontend/resources/requests/cpu",
          "value": "40m"
        },
        {
          "from": "",
          "op": "add",
          "path": "/externals/dns",
          "value": {
            "class": "default",
            "type": "dns"
          }
        },
        {
          "from": "",
          "op": "add",
          "path": "/externals/route",
          "value": {
            "class": "default",
            "params": {
              "host": "${externals.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        }
      ],
      "paymentservice": [
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/payment/score.yaml"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/paymentservice/resources/limits/memory",
          "value": "50Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/paymentservice/resources/limits/cpu",
          "value": "30m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/paymentservice/resources/requests/cpu",
          "value": "10m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/paymentservice/resources/requests/memory",
          "value": "30Mi"
        }
      ],
      "productcatalogservice": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/productcatalogservice/image",
          "value": "gcr.io/google-samples/microservices-demo/productcatalogservice:v0.10.0"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/productcatalogservice/resources/limits/cpu",
          "value": "30m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/productcatalogservice/resources/limits/memory",
          "value": "40Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/productcatalogservice/resources/requests/cpu",
          "value": "10m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/productcatalogservice/resources/requests/memory",
          "value": "20Mi"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/productcatalog/score.yaml"
        }
      ],
      "recommendationservice": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/recommendationservice/resources/limits/cpu",
          "value": "30m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/recommendationservice/resources/limits/memory",
          "value": "70Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/recommendationservice/resources/requests/cpu",
          "value": "10m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/recommendationservice/resources/requests/memory",
          "value": "50Mi"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/recommendation/score.yaml"
        }
      ],
      "shippingservice": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/shippingservice/image",
          "value": "gcr.io/google-samples/microservices-demo/shippingservice:v0.10.0"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/shippingservice/resources/limits/cpu",
          "value": "30m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/shippingservice/resources/limits/memory",
          "value": "30Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/shippingservice/resources/requests/cpu",
          "value": "10m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/shippingservice/resources/requests/memory",
          "value": "10Mi"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/shipping/score.yaml"
        }
      ]
    }
  },
  "shared": null
}

Copy link

github-actions bot commented Jun 2, 2024

Deployment successfully completed for PR-25! 🎉

View in Humanitec

Deployment ID: 17d5476c693568a8

Domains:

frontend: onlineboutique-preview.endpoints.mathieu-benoit-gcp.cloud.goog

Deployment diff

Deployment diff:

{
  "modules": {
    "add": null,
    "remove": [],
    "update": {
      "adservice": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/adservice/resources/limits/cpu",
          "value": "80m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/adservice/resources/limits/memory",
          "value": "100Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/adservice/resources/requests/cpu",
          "value": "60m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/adservice/resources/requests/memory",
          "value": "80Mi"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/ad/score.yaml"
        }
      ],
      "cartservice": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/cartservice/resources/limits/cpu",
          "value": "220m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/cartservice/resources/limits/memory",
          "value": "90Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/cartservice/resources/requests/memory",
          "value": "70Mi"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/cart/score.yaml"
        }
      ],
      "checkoutservice": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/checkoutservice/image",
          "value": "gcr.io/google-samples/microservices-demo/checkoutservice:v0.10.0"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/checkoutservice/resources/limits/cpu",
          "value": "30m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/checkoutservice/resources/limits/memory",
          "value": "40Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/checkoutservice/resources/requests/cpu",
          "value": "10m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/checkoutservice/resources/requests/memory",
          "value": "20Mi"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/checkout/score.yaml"
        }
      ],
      "currencyservice": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/currencyservice/resources/limits/cpu",
          "value": "40m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/currencyservice/resources/limits/memory",
          "value": "60Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/currencyservice/resources/requests/cpu",
          "value": "20m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/currencyservice/resources/requests/memory",
          "value": "40Mi"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/currency/score.yaml"
        }
      ],
      "emailservice": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/emailservice/resources/limits/cpu",
          "value": "30m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/emailservice/resources/limits/memory",
          "value": "70Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/emailservice/resources/requests/cpu",
          "value": "10m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/emailservice/resources/requests/memory",
          "value": "50Mi"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/email/score.yaml"
        }
      ],
      "frontend": [
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/frontend/score.yaml"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/frontend/image",
          "value": "gcr.io/google-samples/microservices-demo/frontend:v0.10.0"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/frontend/resources/requests/cpu",
          "value": "40m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/frontend/resources/requests/memory",
          "value": "40Mi"
        },
        {
          "from": "",
          "op": "add",
          "path": "/externals/dns",
          "value": {
            "class": "default",
            "type": "dns"
          }
        },
        {
          "from": "",
          "op": "add",
          "path": "/externals/route",
          "value": {
            "class": "default",
            "params": {
              "host": "${externals.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        }
      ],
      "paymentservice": [
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/payment/score.yaml"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/paymentservice/resources/limits/cpu",
          "value": "30m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/paymentservice/resources/limits/memory",
          "value": "50Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/paymentservice/resources/requests/cpu",
          "value": "10m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/paymentservice/resources/requests/memory",
          "value": "30Mi"
        }
      ],
      "productcatalogservice": [
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/productcatalog/score.yaml"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/productcatalogservice/image",
          "value": "gcr.io/google-samples/microservices-demo/productcatalogservice:v0.10.0"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/productcatalogservice/resources/limits/cpu",
          "value": "30m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/productcatalogservice/resources/limits/memory",
          "value": "40Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/productcatalogservice/resources/requests/cpu",
          "value": "10m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/productcatalogservice/resources/requests/memory",
          "value": "20Mi"
        }
      ],
      "recommendationservice": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/recommendationservice/resources/limits/memory",
          "value": "70Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/recommendationservice/resources/limits/cpu",
          "value": "30m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/recommendationservice/resources/requests/cpu",
          "value": "10m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/recommendationservice/resources/requests/memory",
          "value": "50Mi"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/recommendation/score.yaml"
        }
      ],
      "shippingservice": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/shippingservice/image",
          "value": "gcr.io/google-samples/microservices-demo/shippingservice:v0.10.0"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/shippingservice/resources/limits/cpu",
          "value": "30m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/shippingservice/resources/limits/memory",
          "value": "30Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/shippingservice/resources/requests/memory",
          "value": "10Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/shippingservice/resources/requests/cpu",
          "value": "10m"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/shipping/score.yaml"
        }
      ]
    }
  },
  "shared": null
}
Active Resources Usage

Active Resources Usage:


ResType            	Class  	ResID                                   	Usage         	Last referencing deployment	Last referencing deployment created ago
agent              	default	agent                                   	current deploy	17d5476c693568a8           	38.659945213s                          
base-env           	default	base-env                                	current deploy	17d5476c693568a8           	38.659947037s                          
k8s-cluster        	default	k8s-cluster                             	current deploy	17d5476c693568a8           	38.659948159s                          
k8s-namespace      	default	k8s-namespace                           	current deploy	17d5476c693568a8           	38.65994901s                           
logging            	default	logging                                 	current deploy	17d5476c693568a8           	38.659949972s                          
k8s-service-account	default	modules.adservice                       	current deploy	17d5476c693568a8           	38.659950884s                          
workload           	default	modules.adservice                       	current deploy	17d5476c693568a8           	38.659951675s                          
k8s-service-account	default	modules.cartservice                     	current deploy	17d5476c693568a8           	38.659952437s                          
workload           	default	modules.cartservice                     	current deploy	17d5476c693568a8           	38.659953739s                          
redis              	default	modules.cartservice.externals.redis-cart	current deploy	17d5476c693568a8           	38.659954551s                          
k8s-service-account	default	modules.checkoutservice                 	current deploy	17d5476c693568a8           	38.659955813s                          
workload           	default	modules.checkoutservice                 	current deploy	17d5476c693568a8           	38.659956655s                          
k8s-service-account	default	modules.currencyservice                 	current deploy	17d5476c693568a8           	38.659957416s                          
workload           	default	modules.currencyservice                 	current deploy	17d5476c693568a8           	38.659958188s                          
k8s-service-account	default	modules.emailservice                    	current deploy	17d5476c693568a8           	38.659959009s                          
workload           	default	modules.emailservice                    	current deploy	17d5476c693568a8           	38.659959801s                          
k8s-service-account	default	modules.frontend                        	current deploy	17d5476c693568a8           	38.659961163s                          
workload           	default	modules.frontend                        	current deploy	17d5476c693568a8           	38.659961995s                          
dns                	default	modules.frontend.externals.dns          	current deploy	17d5476c693568a8           	38.659962776s                          
ingress            	default	modules.frontend.externals.dns          	current deploy	17d5476c693568a8           	38.659963548s                          
tls-cert           	default	modules.frontend.externals.dns          	current deploy	17d5476c693568a8           	38.659964369s                          
route              	default	modules.frontend.externals.route        	current deploy	17d5476c693568a8           	38.659965191s                          
k8s-service-account	default	modules.loadgenerator                   	current deploy	17d5476c693568a8           	38.659966123s                          
workload           	default	modules.loadgenerator                   	current deploy	17d5476c693568a8           	38.659966904s                          
k8s-service-account	default	modules.paymentservice                  	current deploy	17d5476c693568a8           	38.659967676s                          
workload           	default	modules.paymentservice                  	current deploy	17d5476c693568a8           	38.659968487s                          
k8s-service-account	default	modules.productcatalogservice           	current deploy	17d5476c693568a8           	38.659969349s                          
workload           	default	modules.productcatalogservice           	current deploy	17d5476c693568a8           	38.65997017s                           
k8s-service-account	default	modules.recommendationservice           	current deploy	17d5476c693568a8           	38.659971022s                          
workload           	default	modules.recommendationservice           	current deploy	17d5476c693568a8           	38.659971853s                          
k8s-service-account	default	modules.shippingservice                 	current deploy	17d5476c693568a8           	38.659972625s                          
workload           	default	modules.shippingservice                 	current deploy	17d5476c693568a8           	38.659973416s                          

Resources Graph

Resources Graph:

Use a Graphviz viewer for a visual representation.


strict digraph {

	label="Resource Graph
app: onlineboutique, env: pr-25

green: virtual nodes (environment, workloads), blue: active resources

";

	labelloc="t";

	overlap="false";

	splines="true";


	"060c3683521d40bdb0e1f1eb233420f0e0d38932" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.frontend
type: workload
class: default
provision time: 717.905ms", style="filled", tooltip="guresid: 060c3683521d40bdb0e1f1eb233420f0e0d38932",  weight=0 ];

	"060c3683521d40bdb0e1f1eb233420f0e0d38932" -> "72b35bff6bb1f8faf94087edc6b87ee9ece98fce" [  weight=0 ];

	"060c3683521d40bdb0e1f1eb233420f0e0d38932" -> "4a14f64a0f42abefe4f69bbae0cb2a0eb01652d3" [  weight=0 ];

	"060c3683521d40bdb0e1f1eb233420f0e0d38932" -> "dbe3c39c7565ac0ce809534c81989805a2dc3593" [  weight=0 ];

	"9aefd50d42cbe9daa60b7506552e8e3d48db33f9" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.cartservice
type: k8s-service-account
class: default
provision time: 15.67631s", style="filled", tooltip="guresid: 9aefd50d42cbe9daa60b7506552e8e3d48db33f9",  weight=0 ];

	"dd9bc4d06a5beb37f280c8b37353094aa69ba060" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.currencyservice
type: k8s-service-account
class: default
provision time: 16.645955s", style="filled", tooltip="guresid: dd9bc4d06a5beb37f280c8b37353094aa69ba060",  weight=0 ];

	"54e45dd12f0660ab3e5b6c2d0aa7a067f4734295" [ color="2", colorscheme="blues3", fillcolor="1", label="id: agent
type: agent
class: default
provision time: 15.067901s", style="filled", tooltip="guresid: 54e45dd12f0660ab3e5b6c2d0aa7a067f4734295",  weight=0 ];

	"frontend" [ color="2", colorscheme="greens3", fillcolor="1", label="workload.frontend", style="filled",  weight=0 ];

	"frontend" -> "base" [  weight=0 ];

	"frontend" -> "060c3683521d40bdb0e1f1eb233420f0e0d38932" [  weight=0 ];

	"06b9fa3266f952ed14776384db974ce87e05ea70" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.recommendationservice
type: workload
class: default
provision time: -1.211505s", style="filled", tooltip="guresid: 06b9fa3266f952ed14776384db974ce87e05ea70",  weight=0 ];

	"06b9fa3266f952ed14776384db974ce87e05ea70" -> "85ed9958e5e60aacd827397bc8961566d2b8ac12" [  weight=0 ];

	"d8653bffe416fc25516cfd1013b3fda542284d6e" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.currencyservice
type: workload
class: default
provision time: 1.870988s", style="filled", tooltip="guresid: d8653bffe416fc25516cfd1013b3fda542284d6e",  weight=0 ];

	"d8653bffe416fc25516cfd1013b3fda542284d6e" -> "dd9bc4d06a5beb37f280c8b37353094aa69ba060" [  weight=0 ];

	"6d4d68a03e95327d87987bcbe412d5a437967a1c" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.emailservice
type: workload
class: default
provision time: 122.428ms", style="filled", tooltip="guresid: 6d4d68a03e95327d87987bcbe412d5a437967a1c",  weight=0 ];

	"6d4d68a03e95327d87987bcbe412d5a437967a1c" -> "6574bd23e4e5fa8322543f420bc9c0c9534c7fe0" [  weight=0 ];

	"72b35bff6bb1f8faf94087edc6b87ee9ece98fce" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.frontend.externals.dns
type: dns
class: default
provision time: 15.431059s", style="filled", tooltip="guresid: 72b35bff6bb1f8faf94087edc6b87ee9ece98fce",  weight=0 ];

	"9b710e02d4783ffaf8ad5916ebe8ff4c4cff1224" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.cartservice.externals.redis-cart
type: redis
class: default
provision time: 15.7991s", style="filled", tooltip="guresid: 9b710e02d4783ffaf8ad5916ebe8ff4c4cff1224",  weight=0 ];

	"2fe88fef79af21bb65e796de93a4cd614047b7f9" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.loadgenerator
type: k8s-service-account
class: default
provision time: 14.705786s", style="filled", tooltip="guresid: 2fe88fef79af21bb65e796de93a4cd614047b7f9",  weight=0 ];

	"d72228838beb8a551cb35c98fa1529520caa0cd1" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.productcatalogservice
type: workload
class: default
provision time: 479.568ms", style="filled", tooltip="guresid: d72228838beb8a551cb35c98fa1529520caa0cd1",  weight=0 ];

	"d72228838beb8a551cb35c98fa1529520caa0cd1" -> "bb5b0bc7bda0bfda7f004cee12a10f3a3f368c3c" [  weight=0 ];

	"bb5b0bc7bda0bfda7f004cee12a10f3a3f368c3c" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.productcatalogservice
type: k8s-service-account
class: default
provision time: 15.920021s", style="filled", tooltip="guresid: bb5b0bc7bda0bfda7f004cee12a10f3a3f368c3c",  weight=0 ];

	"4a14f64a0f42abefe4f69bbae0cb2a0eb01652d3" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.frontend.externals.route
type: route
class: default
provision time: 17.939298s", style="filled", tooltip="guresid: 4a14f64a0f42abefe4f69bbae0cb2a0eb01652d3",  weight=0 ];

	"12ced906c9829638fdf0677491959841b96fa092" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.frontend.externals.dns
type: tls-cert
class: default
provision time: 2.33976s", style="filled", tooltip="guresid: 12ced906c9829638fdf0677491959841b96fa092",  weight=0 ];

	"12ced906c9829638fdf0677491959841b96fa092" -> "72b35bff6bb1f8faf94087edc6b87ee9ece98fce" [  weight=0 ];

	"paymentservice" [ color="2", colorscheme="greens3", fillcolor="1", label="workload.paymentservice", style="filled",  weight=0 ];

	"paymentservice" -> "base" [  weight=0 ];

	"paymentservice" -> "c0064f897c95599b929691d3ec04253d1035ccc9" [  weight=0 ];

	"df1c67ae0ad17aa3a8d91b8410f889d6a4cce6b1" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.checkoutservice
type: workload
class: default
provision time: 2.183491s", style="filled", tooltip="guresid: df1c67ae0ad17aa3a8d91b8410f889d6a4cce6b1",  weight=0 ];

	"df1c67ae0ad17aa3a8d91b8410f889d6a4cce6b1" -> "2c0b33707ddc916617b15d490b7e657adf4bf28e" [  weight=0 ];

	"base" [ color="2", colorscheme="greens3", fillcolor="1", label="base", style="filled",  weight=0 ];

	"base" -> "f593ce4f1066305b0b194d2b01e5cf7d2e14dd55" [  weight=0 ];

	"0d77bee1b73ffc9f1851867c254802f90d410bee" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.cartservice
type: workload
class: default
provision time: 1.661044s", style="filled", tooltip="guresid: 0d77bee1b73ffc9f1851867c254802f90d410bee",  weight=0 ];

	"0d77bee1b73ffc9f1851867c254802f90d410bee" -> "9aefd50d42cbe9daa60b7506552e8e3d48db33f9" [  weight=0 ];

	"0d77bee1b73ffc9f1851867c254802f90d410bee" -> "9b710e02d4783ffaf8ad5916ebe8ff4c4cff1224" [  weight=0 ];

	"6574bd23e4e5fa8322543f420bc9c0c9534c7fe0" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.emailservice
type: k8s-service-account
class: default
provision time: 15.187824s", style="filled", tooltip="guresid: 6574bd23e4e5fa8322543f420bc9c0c9534c7fe0",  weight=0 ];

	"productcatalogservice" [ color="2", colorscheme="greens3", fillcolor="1", label="workload.productcatalogservice", style="filled",  weight=0 ];

	"productcatalogservice" -> "base" [  weight=0 ];

	"productcatalogservice" -> "d72228838beb8a551cb35c98fa1529520caa0cd1" [  weight=0 ];

	"currencyservice" [ color="2", colorscheme="greens3", fillcolor="1", label="workload.currencyservice", style="filled",  weight=0 ];

	"currencyservice" -> "d8653bffe416fc25516cfd1013b3fda542284d6e" [  weight=0 ];

	"currencyservice" -> "base" [  weight=0 ];

	"f593ce4f1066305b0b194d2b01e5cf7d2e14dd55" [ color="2", colorscheme="blues3", fillcolor="1", label="id: base-env
type: base-env
class: default
provision time: 14.614751s", style="filled", tooltip="guresid: f593ce4f1066305b0b194d2b01e5cf7d2e14dd55",  weight=0 ];

	"f593ce4f1066305b0b194d2b01e5cf7d2e14dd55" -> "54e45dd12f0660ab3e5b6c2d0aa7a067f4734295" [  weight=0 ];

	"loadgenerator" [ color="2", colorscheme="greens3", fillcolor="1", label="workload.loadgenerator", style="filled",  weight=0 ];

	"loadgenerator" -> "base" [  weight=0 ];

	"loadgenerator" -> "c06426d378752237256ee8b533a87f36b038e261" [  weight=0 ];

	"cartservice" [ color="2", colorscheme="greens3", fillcolor="1", label="workload.cartservice", style="filled",  weight=0 ];

	"cartservice" -> "base" [  weight=0 ];

	"cartservice" -> "0d77bee1b73ffc9f1851867c254802f90d410bee" [  weight=0 ];

	"recommendationservice" [ color="2", colorscheme="greens3", fillcolor="1", label="workload.recommendationservice", style="filled",  weight=0 ];

	"recommendationservice" -> "base" [  weight=0 ];

	"recommendationservice" -> "06b9fa3266f952ed14776384db974ce87e05ea70" [  weight=0 ];

	"738e47b44b3b4e22f5c7d1e70863e0656a2c03ad" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.frontend.externals.dns
type: ingress
class: default
provision time: 483.12ms", style="filled", tooltip="guresid: 738e47b44b3b4e22f5c7d1e70863e0656a2c03ad",  weight=0 ];

	"738e47b44b3b4e22f5c7d1e70863e0656a2c03ad" -> "72b35bff6bb1f8faf94087edc6b87ee9ece98fce" [  weight=0 ];

	"738e47b44b3b4e22f5c7d1e70863e0656a2c03ad" -> "12ced906c9829638fdf0677491959841b96fa092" [  weight=0 ];

	"shippingservice" [ color="2", colorscheme="greens3", fillcolor="1", label="workload.shippingservice", style="filled",  weight=0 ];

	"shippingservice" -> "base" [  weight=0 ];

	"shippingservice" -> "3a060f6c0fd825471c9c9053fd1be593a2b88700" [  weight=0 ];

	"2c0b33707ddc916617b15d490b7e657adf4bf28e" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.checkoutservice
type: k8s-service-account
class: default
provision time: 14.5843s", style="filled", tooltip="guresid: 2c0b33707ddc916617b15d490b7e657adf4bf28e",  weight=0 ];

	"dbe3c39c7565ac0ce809534c81989805a2dc3593" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.frontend
type: k8s-service-account
class: default
provision time: 16.525079s", style="filled", tooltip="guresid: dbe3c39c7565ac0ce809534c81989805a2dc3593",  weight=0 ];

	"c0064f897c95599b929691d3ec04253d1035ccc9" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.paymentservice
type: workload
class: default
provision time: 1.333715s", style="filled", tooltip="guresid: c0064f897c95599b929691d3ec04253d1035ccc9",  weight=0 ];

	"c0064f897c95599b929691d3ec04253d1035ccc9" -> "322a282380622357a99b97d626f33e8dfaba9abe" [  weight=0 ];

	"bfc82119ea0de78b81c8039ba4f14a6081d69c9d" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.adservice
type: k8s-service-account
class: default
provision time: 16.039317s", style="filled", tooltip="guresid: bfc82119ea0de78b81c8039ba4f14a6081d69c9d",  weight=0 ];

	"b55c9f03c0b21e4f921167177c8e7359e06d426b" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.adservice
type: workload
class: default
provision time: 2.339855s", style="filled", tooltip="guresid: b55c9f03c0b21e4f921167177c8e7359e06d426b",  weight=0 ];

	"b55c9f03c0b21e4f921167177c8e7359e06d426b" -> "bfc82119ea0de78b81c8039ba4f14a6081d69c9d" [  weight=0 ];

	"3a060f6c0fd825471c9c9053fd1be593a2b88700" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.shippingservice
type: workload
class: default
provision time: 479.156ms", style="filled", tooltip="guresid: 3a060f6c0fd825471c9c9053fd1be593a2b88700",  weight=0 ];

	"3a060f6c0fd825471c9c9053fd1be593a2b88700" -> "0c9b812679b3d3266548de1e5a1e8af44fe04ae8" [  weight=0 ];

	"adservice" [ color="2", colorscheme="greens3", fillcolor="1", label="workload.adservice", style="filled",  weight=0 ];

	"adservice" -> "base" [  weight=0 ];

	"adservice" -> "b55c9f03c0b21e4f921167177c8e7359e06d426b" [  weight=0 ];

	"c06426d378752237256ee8b533a87f36b038e261" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.loadgenerator
type: workload
class: default
provision time: 1.573165s", style="filled", tooltip="guresid: c06426d378752237256ee8b533a87f36b038e261",  weight=0 ];

	"c06426d378752237256ee8b533a87f36b038e261" -> "2fe88fef79af21bb65e796de93a4cd614047b7f9" [  weight=0 ];

	"emailservice" [ color="2", colorscheme="greens3", fillcolor="1", label="workload.emailservice", style="filled",  weight=0 ];

	"emailservice" -> "base" [  weight=0 ];

	"emailservice" -> "6d4d68a03e95327d87987bcbe412d5a437967a1c" [  weight=0 ];

	"85ed9958e5e60aacd827397bc8961566d2b8ac12" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.recommendationservice
type: k8s-service-account
class: default
provision time: 15.555526s", style="filled", tooltip="guresid: 85ed9958e5e60aacd827397bc8961566d2b8ac12",  weight=0 ];

	"0c9b812679b3d3266548de1e5a1e8af44fe04ae8" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.shippingservice
type: k8s-service-account
class: default
provision time: 14.465581s", style="filled", tooltip="guresid: 0c9b812679b3d3266548de1e5a1e8af44fe04ae8",  weight=0 ];

	"checkoutservice" [ color="2", colorscheme="greens3", fillcolor="1", label="workload.checkoutservice", style="filled",  weight=0 ];

	"checkoutservice" -> "base" [  weight=0 ];

	"checkoutservice" -> "df1c67ae0ad17aa3a8d91b8410f889d6a4cce6b1" [  weight=0 ];

	"322a282380622357a99b97d626f33e8dfaba9abe" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.paymentservice
type: k8s-service-account
class: default
provision time: 14.825311s", style="filled", tooltip="guresid: 322a282380622357a99b97d626f33e8dfaba9abe",  weight=0 ];

}


Copy link

github-actions bot commented Jun 3, 2024

Deployment successfully completed for PR-25! 🎉

View in Humanitec

Deployment ID: 17d55c5014b64afa

Domains:

frontend: onlineboutique-preview.endpoints.mathieu-benoit-gcp.cloud.goog

Deployment diff

Deployment diff:

{
  "modules": {
    "add": null,
    "remove": [],
    "update": {
      "adservice": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/adservice/resources/limits/memory",
          "value": "100Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/adservice/resources/limits/cpu",
          "value": "80m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/adservice/resources/requests/cpu",
          "value": "60m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/adservice/resources/requests/memory",
          "value": "80Mi"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/ad/score.yaml"
        }
      ],
      "cartservice": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/cartservice/resources/limits/cpu",
          "value": "220m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/cartservice/resources/limits/memory",
          "value": "90Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/cartservice/resources/requests/memory",
          "value": "70Mi"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/cart/score.yaml"
        }
      ],
      "checkoutservice": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/checkoutservice/image",
          "value": "gcr.io/google-samples/microservices-demo/checkoutservice:v0.10.0"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/checkoutservice/resources/limits/cpu",
          "value": "30m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/checkoutservice/resources/limits/memory",
          "value": "40Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/checkoutservice/resources/requests/cpu",
          "value": "10m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/checkoutservice/resources/requests/memory",
          "value": "20Mi"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/checkout/score.yaml"
        }
      ],
      "currencyservice": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/currencyservice/resources/requests/cpu",
          "value": "20m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/currencyservice/resources/requests/memory",
          "value": "40Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/currencyservice/resources/limits/cpu",
          "value": "40m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/currencyservice/resources/limits/memory",
          "value": "60Mi"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/currency/score.yaml"
        }
      ],
      "emailservice": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/emailservice/resources/limits/cpu",
          "value": "30m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/emailservice/resources/limits/memory",
          "value": "70Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/emailservice/resources/requests/cpu",
          "value": "10m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/emailservice/resources/requests/memory",
          "value": "50Mi"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/email/score.yaml"
        }
      ],
      "frontend": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/frontend/image",
          "value": "gcr.io/google-samples/microservices-demo/frontend:v0.10.0"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/frontend/resources/requests/cpu",
          "value": "40m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/frontend/resources/requests/memory",
          "value": "40Mi"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/frontend/score.yaml"
        },
        {
          "from": "",
          "op": "add",
          "path": "/externals/dns",
          "value": {
            "class": "default",
            "type": "dns"
          }
        },
        {
          "from": "",
          "op": "add",
          "path": "/externals/route",
          "value": {
            "class": "default",
            "params": {
              "host": "${externals.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        }
      ],
      "paymentservice": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/paymentservice/resources/requests/cpu",
          "value": "10m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/paymentservice/resources/requests/memory",
          "value": "30Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/paymentservice/resources/limits/cpu",
          "value": "30m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/paymentservice/resources/limits/memory",
          "value": "50Mi"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/payment/score.yaml"
        }
      ],
      "productcatalogservice": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/productcatalogservice/image",
          "value": "gcr.io/google-samples/microservices-demo/productcatalogservice:v0.10.0"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/productcatalogservice/resources/limits/cpu",
          "value": "30m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/productcatalogservice/resources/limits/memory",
          "value": "40Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/productcatalogservice/resources/requests/cpu",
          "value": "10m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/productcatalogservice/resources/requests/memory",
          "value": "20Mi"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/productcatalog/score.yaml"
        }
      ],
      "recommendationservice": [
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/recommendation/score.yaml"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/recommendationservice/resources/requests/cpu",
          "value": "10m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/recommendationservice/resources/requests/memory",
          "value": "50Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/recommendationservice/resources/limits/cpu",
          "value": "30m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/recommendationservice/resources/limits/memory",
          "value": "70Mi"
        }
      ],
      "shippingservice": [
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/Humanitec-DemoOrg/onlineboutique-demo/blob/score-k8s/apps/shipping/score.yaml"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/shippingservice/resources/limits/cpu",
          "value": "30m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/shippingservice/resources/limits/memory",
          "value": "30Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/shippingservice/resources/requests/cpu",
          "value": "10m"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/shippingservice/resources/requests/memory",
          "value": "10Mi"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/shippingservice/image",
          "value": "gcr.io/google-samples/microservices-demo/shippingservice:v0.10.0"
        }
      ]
    }
  },
  "shared": null
}
Active Resources Usage

Active Resources Usage:


ResType            	Class  	ResID                                   	Usage         	Last referencing deployment	Last referencing deployment created ago
agent              	default	agent                                   	current deploy	17d55c5014b64afa           	39.326846882s                          
base-env           	default	base-env                                	current deploy	17d55c5014b64afa           	39.326850308s                          
k8s-cluster        	default	k8s-cluster                             	current deploy	17d55c5014b64afa           	39.326852462s                          
k8s-namespace      	default	k8s-namespace                           	current deploy	17d55c5014b64afa           	39.326853865s                          
logging            	default	logging                                 	current deploy	17d55c5014b64afa           	39.326855768s                          
k8s-service-account	default	modules.adservice                       	current deploy	17d55c5014b64afa           	39.326857472s                          
workload           	default	modules.adservice                       	current deploy	17d55c5014b64afa           	39.326858974s                          
k8s-service-account	default	modules.cartservice                     	current deploy	17d55c5014b64afa           	39.326860507s                          
workload           	default	modules.cartservice                     	current deploy	17d55c5014b64afa           	39.326862501s                          
redis              	default	modules.cartservice.externals.redis-cart	current deploy	17d55c5014b64afa           	39.326863894s                          
k8s-service-account	default	modules.checkoutservice                 	current deploy	17d55c5014b64afa           	39.326865236s                          
workload           	default	modules.checkoutservice                 	current deploy	17d55c5014b64afa           	39.326866318s                          
k8s-service-account	default	modules.currencyservice                 	current deploy	17d55c5014b64afa           	39.3268671s                            
workload           	default	modules.currencyservice                 	current deploy	17d55c5014b64afa           	39.326867911s                          
k8s-service-account	default	modules.emailservice                    	current deploy	17d55c5014b64afa           	39.326868663s                          
workload           	default	modules.emailservice                    	current deploy	17d55c5014b64afa           	39.326869384s                          
k8s-service-account	default	modules.frontend                        	current deploy	17d55c5014b64afa           	39.326870215s                          
workload           	default	modules.frontend                        	current deploy	17d55c5014b64afa           	39.326870937s                          
dns                	default	modules.frontend.externals.dns          	current deploy	17d55c5014b64afa           	39.326871668s                          
ingress            	default	modules.frontend.externals.dns          	current deploy	17d55c5014b64afa           	39.32687244s                           
tls-cert           	default	modules.frontend.externals.dns          	current deploy	17d55c5014b64afa           	39.326873291s                          
route              	default	modules.frontend.externals.route        	current deploy	17d55c5014b64afa           	39.326874022s                          
k8s-service-account	default	modules.loadgenerator                   	current deploy	17d55c5014b64afa           	39.326874754s                          
workload           	default	modules.loadgenerator                   	current deploy	17d55c5014b64afa           	39.326875525s                          
k8s-service-account	default	modules.paymentservice                  	current deploy	17d55c5014b64afa           	39.326876287s                          
workload           	default	modules.paymentservice                  	current deploy	17d55c5014b64afa           	39.326876998s                          
k8s-service-account	default	modules.productcatalogservice           	current deploy	17d55c5014b64afa           	39.326877729s                          
workload           	default	modules.productcatalogservice           	current deploy	17d55c5014b64afa           	39.326878461s                          
k8s-service-account	default	modules.recommendationservice           	current deploy	17d55c5014b64afa           	39.326879323s                          
workload           	default	modules.recommendationservice           	current deploy	17d55c5014b64afa           	39.326880064s                          
k8s-service-account	default	modules.shippingservice                 	current deploy	17d55c5014b64afa           	39.326880785s                          
workload           	default	modules.shippingservice                 	current deploy	17d55c5014b64afa           	39.326881507s                          

Resources Graph

Resources Graph:

Use a Graphviz viewer for a visual representation.


strict digraph {

	label="Resource Graph
app: onlineboutique, env: pr-25

green: virtual nodes (environment, workloads), blue: active resources

";

	labelloc="t";

	overlap="false";

	splines="true";


	"adservice" [ color="2", colorscheme="greens3", fillcolor="1", label="workload.adservice", style="filled",  weight=0 ];

	"adservice" -> "base" [  weight=0 ];

	"adservice" -> "b55c9f03c0b21e4f921167177c8e7359e06d426b" [  weight=0 ];

	"738e47b44b3b4e22f5c7d1e70863e0656a2c03ad" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.frontend.externals.dns
type: ingress
class: default
provision time: 866.09ms", style="filled", tooltip="guresid: 738e47b44b3b4e22f5c7d1e70863e0656a2c03ad",  weight=0 ];

	"738e47b44b3b4e22f5c7d1e70863e0656a2c03ad" -> "12ced906c9829638fdf0677491959841b96fa092" [  weight=0 ];

	"738e47b44b3b4e22f5c7d1e70863e0656a2c03ad" -> "72b35bff6bb1f8faf94087edc6b87ee9ece98fce" [  weight=0 ];

	"currencyservice" [ color="2", colorscheme="greens3", fillcolor="1", label="workload.currencyservice", style="filled",  weight=0 ];

	"currencyservice" -> "base" [  weight=0 ];

	"currencyservice" -> "d8653bffe416fc25516cfd1013b3fda542284d6e" [  weight=0 ];

	"322a282380622357a99b97d626f33e8dfaba9abe" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.paymentservice
type: k8s-service-account
class: default
provision time: 15.167006s", style="filled", tooltip="guresid: 322a282380622357a99b97d626f33e8dfaba9abe",  weight=0 ];

	"9aefd50d42cbe9daa60b7506552e8e3d48db33f9" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.cartservice
type: k8s-service-account
class: default
provision time: 16.027476s", style="filled", tooltip="guresid: 9aefd50d42cbe9daa60b7506552e8e3d48db33f9",  weight=0 ];

	"b55c9f03c0b21e4f921167177c8e7359e06d426b" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.adservice
type: workload
class: default
provision time: 3.175725s", style="filled", tooltip="guresid: b55c9f03c0b21e4f921167177c8e7359e06d426b",  weight=0 ];

	"b55c9f03c0b21e4f921167177c8e7359e06d426b" -> "bfc82119ea0de78b81c8039ba4f14a6081d69c9d" [  weight=0 ];

	"d8653bffe416fc25516cfd1013b3fda542284d6e" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.currencyservice
type: workload
class: default
provision time: 2.729839s", style="filled", tooltip="guresid: d8653bffe416fc25516cfd1013b3fda542284d6e",  weight=0 ];

	"d8653bffe416fc25516cfd1013b3fda542284d6e" -> "dd9bc4d06a5beb37f280c8b37353094aa69ba060" [  weight=0 ];

	"06b9fa3266f952ed14776384db974ce87e05ea70" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.recommendationservice
type: workload
class: default
provision time: -1.349491s", style="filled", tooltip="guresid: 06b9fa3266f952ed14776384db974ce87e05ea70",  weight=0 ];

	"06b9fa3266f952ed14776384db974ce87e05ea70" -> "85ed9958e5e60aacd827397bc8961566d2b8ac12" [  weight=0 ];

	"12ced906c9829638fdf0677491959841b96fa092" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.frontend.externals.dns
type: tls-cert
class: default
provision time: 2.769246s", style="filled", tooltip="guresid: 12ced906c9829638fdf0677491959841b96fa092",  weight=0 ];

	"12ced906c9829638fdf0677491959841b96fa092" -> "72b35bff6bb1f8faf94087edc6b87ee9ece98fce" [  weight=0 ];

	"c06426d378752237256ee8b533a87f36b038e261" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.loadgenerator
type: workload
class: default
provision time: 1.591229s", style="filled", tooltip="guresid: c06426d378752237256ee8b533a87f36b038e261",  weight=0 ];

	"c06426d378752237256ee8b533a87f36b038e261" -> "2fe88fef79af21bb65e796de93a4cd614047b7f9" [  weight=0 ];

	"bfc82119ea0de78b81c8039ba4f14a6081d69c9d" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.adservice
type: k8s-service-account
class: default
provision time: 16.39241s", style="filled", tooltip="guresid: bfc82119ea0de78b81c8039ba4f14a6081d69c9d",  weight=0 ];

	"f593ce4f1066305b0b194d2b01e5cf7d2e14dd55" [ color="2", colorscheme="blues3", fillcolor="1", label="id: base-env
type: base-env
class: default
provision time: 14.60238s", style="filled", tooltip="guresid: f593ce4f1066305b0b194d2b01e5cf7d2e14dd55",  weight=0 ];

	"f593ce4f1066305b0b194d2b01e5cf7d2e14dd55" -> "54e45dd12f0660ab3e5b6c2d0aa7a067f4734295" [  weight=0 ];

	"frontend" [ color="2", colorscheme="greens3", fillcolor="1", label="workload.frontend", style="filled",  weight=0 ];

	"frontend" -> "base" [  weight=0 ];

	"frontend" -> "060c3683521d40bdb0e1f1eb233420f0e0d38932" [  weight=0 ];

	"bb5b0bc7bda0bfda7f004cee12a10f3a3f368c3c" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.productcatalogservice
type: k8s-service-account
class: default
provision time: 16.27289s", style="filled", tooltip="guresid: bb5b0bc7bda0bfda7f004cee12a10f3a3f368c3c",  weight=0 ];

	"54e45dd12f0660ab3e5b6c2d0aa7a067f4734295" [ color="2", colorscheme="blues3", fillcolor="1", label="id: agent
type: agent
class: default
provision time: 15.409878s", style="filled", tooltip="guresid: 54e45dd12f0660ab3e5b6c2d0aa7a067f4734295",  weight=0 ];

	"9b710e02d4783ffaf8ad5916ebe8ff4c4cff1224" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.cartservice.externals.redis-cart
type: redis
class: default
provision time: 16.151671s", style="filled", tooltip="guresid: 9b710e02d4783ffaf8ad5916ebe8ff4c4cff1224",  weight=0 ];

	"d72228838beb8a551cb35c98fa1529520caa0cd1" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.productcatalogservice
type: workload
class: default
provision time: 488.383ms", style="filled", tooltip="guresid: d72228838beb8a551cb35c98fa1529520caa0cd1",  weight=0 ];

	"d72228838beb8a551cb35c98fa1529520caa0cd1" -> "bb5b0bc7bda0bfda7f004cee12a10f3a3f368c3c" [  weight=0 ];

	"cartservice" [ color="2", colorscheme="greens3", fillcolor="1", label="workload.cartservice", style="filled",  weight=0 ];

	"cartservice" -> "0d77bee1b73ffc9f1851867c254802f90d410bee" [  weight=0 ];

	"cartservice" -> "base" [  weight=0 ];

	"checkoutservice" [ color="2", colorscheme="greens3", fillcolor="1", label="workload.checkoutservice", style="filled",  weight=0 ];

	"checkoutservice" -> "base" [  weight=0 ];

	"checkoutservice" -> "df1c67ae0ad17aa3a8d91b8410f889d6a4cce6b1" [  weight=0 ];

	"3a060f6c0fd825471c9c9053fd1be593a2b88700" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.shippingservice
type: workload
class: default
provision time: 612.416ms", style="filled", tooltip="guresid: 3a060f6c0fd825471c9c9053fd1be593a2b88700",  weight=0 ];

	"3a060f6c0fd825471c9c9053fd1be593a2b88700" -> "0c9b812679b3d3266548de1e5a1e8af44fe04ae8" [  weight=0 ];

	"dbe3c39c7565ac0ce809534c81989805a2dc3593" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.frontend
type: k8s-service-account
class: default
provision time: 16.884194s", style="filled", tooltip="guresid: dbe3c39c7565ac0ce809534c81989805a2dc3593",  weight=0 ];

	"loadgenerator" [ color="2", colorscheme="greens3", fillcolor="1", label="workload.loadgenerator", style="filled",  weight=0 ];

	"loadgenerator" -> "base" [  weight=0 ];

	"loadgenerator" -> "c06426d378752237256ee8b533a87f36b038e261" [  weight=0 ];

	"2fe88fef79af21bb65e796de93a4cd614047b7f9" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.loadgenerator
type: k8s-service-account
class: default
provision time: 15.047538s", style="filled", tooltip="guresid: 2fe88fef79af21bb65e796de93a4cd614047b7f9",  weight=0 ];

	"0d77bee1b73ffc9f1851867c254802f90d410bee" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.cartservice
type: workload
class: default
provision time: -1.345802s", style="filled", tooltip="guresid: 0d77bee1b73ffc9f1851867c254802f90d410bee",  weight=0 ];

	"0d77bee1b73ffc9f1851867c254802f90d410bee" -> "9aefd50d42cbe9daa60b7506552e8e3d48db33f9" [  weight=0 ];

	"0d77bee1b73ffc9f1851867c254802f90d410bee" -> "9b710e02d4783ffaf8ad5916ebe8ff4c4cff1224" [  weight=0 ];

	"2c0b33707ddc916617b15d490b7e657adf4bf28e" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.checkoutservice
type: k8s-service-account
class: default
provision time: 14.926112s", style="filled", tooltip="guresid: 2c0b33707ddc916617b15d490b7e657adf4bf28e",  weight=0 ];

	"85ed9958e5e60aacd827397bc8961566d2b8ac12" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.recommendationservice
type: k8s-service-account
class: default
provision time: 15.905823s", style="filled", tooltip="guresid: 85ed9958e5e60aacd827397bc8961566d2b8ac12",  weight=0 ];

	"emailservice" [ color="2", colorscheme="greens3", fillcolor="1", label="workload.emailservice", style="filled",  weight=0 ];

	"emailservice" -> "base" [  weight=0 ];

	"emailservice" -> "6d4d68a03e95327d87987bcbe412d5a437967a1c" [  weight=0 ];

	"shippingservice" [ color="2", colorscheme="greens3", fillcolor="1", label="workload.shippingservice", style="filled",  weight=0 ];

	"shippingservice" -> "base" [  weight=0 ];

	"shippingservice" -> "3a060f6c0fd825471c9c9053fd1be593a2b88700" [  weight=0 ];

	"c0064f897c95599b929691d3ec04253d1035ccc9" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.paymentservice
type: workload
class: default
provision time: 1.345489s", style="filled", tooltip="guresid: c0064f897c95599b929691d3ec04253d1035ccc9",  weight=0 ];

	"c0064f897c95599b929691d3ec04253d1035ccc9" -> "322a282380622357a99b97d626f33e8dfaba9abe" [  weight=0 ];

	"df1c67ae0ad17aa3a8d91b8410f889d6a4cce6b1" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.checkoutservice
type: workload
class: default
provision time: 2.201716s", style="filled", tooltip="guresid: df1c67ae0ad17aa3a8d91b8410f889d6a4cce6b1",  weight=0 ];

	"df1c67ae0ad17aa3a8d91b8410f889d6a4cce6b1" -> "2c0b33707ddc916617b15d490b7e657adf4bf28e" [  weight=0 ];

	"4a14f64a0f42abefe4f69bbae0cb2a0eb01652d3" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.frontend.externals.route
type: route
class: default
provision time: 18.71508s", style="filled", tooltip="guresid: 4a14f64a0f42abefe4f69bbae0cb2a0eb01652d3",  weight=0 ];

	"0c9b812679b3d3266548de1e5a1e8af44fe04ae8" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.shippingservice
type: k8s-service-account
class: default
provision time: 14.675645s", style="filled", tooltip="guresid: 0c9b812679b3d3266548de1e5a1e8af44fe04ae8",  weight=0 ];

	"72b35bff6bb1f8faf94087edc6b87ee9ece98fce" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.frontend.externals.dns
type: dns
class: default
provision time: 15.775549s", style="filled", tooltip="guresid: 72b35bff6bb1f8faf94087edc6b87ee9ece98fce",  weight=0 ];

	"6574bd23e4e5fa8322543f420bc9c0c9534c7fe0" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.emailservice
type: k8s-service-account
class: default
provision time: 15.529744s", style="filled", tooltip="guresid: 6574bd23e4e5fa8322543f420bc9c0c9534c7fe0",  weight=0 ];

	"recommendationservice" [ color="2", colorscheme="greens3", fillcolor="1", label="workload.recommendationservice", style="filled",  weight=0 ];

	"recommendationservice" -> "base" [  weight=0 ];

	"recommendationservice" -> "06b9fa3266f952ed14776384db974ce87e05ea70" [  weight=0 ];

	"paymentservice" [ color="2", colorscheme="greens3", fillcolor="1", label="workload.paymentservice", style="filled",  weight=0 ];

	"paymentservice" -> "base" [  weight=0 ];

	"paymentservice" -> "c0064f897c95599b929691d3ec04253d1035ccc9" [  weight=0 ];

	"6d4d68a03e95327d87987bcbe412d5a437967a1c" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.emailservice
type: workload
class: default
provision time: 122.962ms", style="filled", tooltip="guresid: 6d4d68a03e95327d87987bcbe412d5a437967a1c",  weight=0 ];

	"6d4d68a03e95327d87987bcbe412d5a437967a1c" -> "6574bd23e4e5fa8322543f420bc9c0c9534c7fe0" [  weight=0 ];

	"dd9bc4d06a5beb37f280c8b37353094aa69ba060" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.currencyservice
type: k8s-service-account
class: default
provision time: 17.007762s", style="filled", tooltip="guresid: dd9bc4d06a5beb37f280c8b37353094aa69ba060",  weight=0 ];

	"productcatalogservice" [ color="2", colorscheme="greens3", fillcolor="1", label="workload.productcatalogservice", style="filled",  weight=0 ];

	"productcatalogservice" -> "base" [  weight=0 ];

	"productcatalogservice" -> "d72228838beb8a551cb35c98fa1529520caa0cd1" [  weight=0 ];

	"060c3683521d40bdb0e1f1eb233420f0e0d38932" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.frontend
type: workload
class: default
provision time: 1.20143s", style="filled", tooltip="guresid: 060c3683521d40bdb0e1f1eb233420f0e0d38932",  weight=0 ];

	"060c3683521d40bdb0e1f1eb233420f0e0d38932" -> "72b35bff6bb1f8faf94087edc6b87ee9ece98fce" [  weight=0 ];

	"060c3683521d40bdb0e1f1eb233420f0e0d38932" -> "4a14f64a0f42abefe4f69bbae0cb2a0eb01652d3" [  weight=0 ];

	"060c3683521d40bdb0e1f1eb233420f0e0d38932" -> "dbe3c39c7565ac0ce809534c81989805a2dc3593" [  weight=0 ];

	"base" [ color="2", colorscheme="greens3", fillcolor="1", label="base", style="filled",  weight=0 ];

	"base" -> "f593ce4f1066305b0b194d2b01e5cf7d2e14dd55" [  weight=0 ];

}


@mathieu-benoit mathieu-benoit merged commit c5a9ff9 into main Jun 3, 2024
12 checks passed
@mathieu-benoit mathieu-benoit deleted the score-k8s branch June 3, 2024 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant