apiVersion: v1
data:
  alert.rules: |-
    groups:
    - name: pod-not-running-rule
      rules:
      - alert: http-db-service-is-not-running
        expr: absent(kube_pod_container_status_running{namespace="default",pod=~"^http-db-service(.*)"})
        for: 15s
        labels:
          severity: critical
        annotations:
          description: "kubeless-controller pod is not running"
          summary: "kubeless-controller pod is not running"
kind: ConfigMap
metadata:
  labels:
    app: Kyma
    prometheus: core
    role: alert-rules
    example: monitoring-alert-rules
  name: http-db-service-alert-rules
