Learn what Keptn Evaluations are and how to use them

Keptn Evaluation Definition

A KeptnEvaluationDefinition is a CRD used to define evaluation tasks that can be run by the Keptn Lifecycle Toolkit as part of pre- and post-analysis phases of a workload or application.

A Keptn evaluation definition looks like the following:

apiVersion: lifecycle.keptn.sh/v1alpha3
kind: KeptnEvaluationDefinition
  name: my-prometheus-evaluation
  namespace: example
  source: prometheus
    - keptnMetricRef:
        name: available-cpus
        namespace: example
      evaluationTarget: ">1"
    - keptnMetricRef:
        name: cpus-throttling
        namespace: example
      evaluationTarget: "<0.01"

A KeptnEvaluationDefinition references one or more KeptnMetrics. If multiple KeptnMetrics are used, the Keptn Lifecycle Toolkit will consider the evaluation successful if all metrics are respecting their evaluationTarget.

Last modified 2023-06-21: releasing documentation v0.8.0 (24f0a46)