Health Check Run Timing (run_during)
Control when health checks execute: pre-chaos, during chaos, or post-chaos
Krkn provides comprehensive health check capabilities to monitor your applications and infrastructure during chaos testing.
run_during) - Control when health checks execute (pre, during, post chaos)health_checks:
run_during: "pre" # Before chaos only
run_during: "during" # During chaos only (default)
run_during: "post" # After chaos only
run_during: ["pre", "post"] # Before and after (not during)
run_during: ["pre", "during", "post"] # All three stages
# HTTP endpoints
health_checks:
interval: 5
run_during: "during"
config:
- url: "http://my-app/health"
# VMI SSH connectivity
kubevirt_checks:
interval: 10
run_during: "during"
namespace: "vms"
# Kubernetes object conditions
object_state_checks:
interval: 5
run_during: "during"
config:
- name: "etcd-ready"
kind: "Pod"
object_name: "etcd-.*"
namespace: "kube-system"
condition: {type: "Ready", status: "True"}
Control when health checks execute: pre-chaos, during chaos, or post-chaos
Monitor Kubernetes resource conditions during chaos testing
Evaluate PromQL alert expressions before, during, and after chaos experiments
Kube Virt Checks to analyze down times of VMIs