
 template: k8s_state_deployment_condition_available
       on: k8s_state.deployment_conditions
    class: Error
     type: Kubernetes
component: Deployment
    every: 10s
    units: status
     calc: $available
     warn: $this == 0
    delay: down 5m
  summary: Deployment ${label:k8s_deployment_name} does not have the minimum required replicas
     info: Deployment ${label:k8s_deployment_name} does not have the minimum required replicas
       to: silent

 template: k8s_state_cronjob_last_execution_failed
       on: k8s_state.cronjob_last_execution_status
    class: Error
     type: Kubernetes
component: CronJob
    every: 10s
    units: status
     calc: $failed
     warn: $this == 1
    delay: down 5m
  summary: CronJob ${label:k8s_cronjob_name} in ${label:k8s_namespace} failing
     info: CronJob ${label:k8s_cronjob_name} in ${label:k8s_namespace} failing
       to: sysadmin
