Keptn v1 reached EOL December 22, 2023. For more information see https://bit.ly/keptn

Demo: Quality gate evaluation using metrics from another tool

The following video illustrates how Keptn can orchestrate a quality evaluation based on metrics that come from a tool that is not itself an observability platform:

Keptn Job Executor Service + Quality Gate

For this exercise, we use Infracost to measure the cost of a deployment. The flow is:

  • Install and run the Job Executor Service to execute Infracost in a container as a Kubernetes job that is orchestrated by Keptn
  • Execute a Python script that runs Infracost and pushes Infracost metrics to a backend. We use Prometheus.
  • Add an evaluation sequence to the shipyard. This sequence is triggered after the Python script finishes. It executes a quality gate evaluation that checks the deployment, based on the Infracost metrics it receives from Prometheus
  • Use the Keptn Bridge to trigger and monitor the sequence