Krknctl All Scenarios Variables

These variables are to be used for the top level configuration template that are shared by all the scenarios in Krknctl

See the description and default values below

Supported parameters for all scenarios in KrknCtl

The following environment variables can be set on the host running the container to tweak the scenario/faults being injected:

Usage example: --<parameter> <value>

ParameterDescriptionTypePossible ValuesDefault
–cerberus-enabledEnables Cerberus SupportenumTrue/FalseFalse
–cerberus-urlCerberus http urlstring-http://0.0.0.0:8080
–distributionSelects the orchestrator distributionenumopenshift/kubernetesopenshift
–krkn-kubeconfigSets the path where krkn will search for kubeconfig in containerstring-/home/krkn/.kube/config
–wait-durationWaits for a certain amount of time after the scenarionumber-1
–iterationsNumber of times the same chaos scenario will be executednumber-1
–daemon-modeIf set the scenario will execute foreverenumTrue/FalseFalse
–uuidSets krkn run uuid instead of generating itstring--
–capture-metricsEnables metrics captureenumTrue/FalseFalse
–enable-alertsEnables cluster alerts checkenumTrue/FalseFalse
–alerts-pathAllows to specify a different alert file pathstring-config/alerts.yaml
–metrics-pathAllows to specify a different metrics file pathstring-config/metrics-aggregated.yaml
–enable-esEnables elastic search data collectionenumTrue/FalseFalse
–es-serverElasticsearch instance URLstring-http://0.0.0.0
–es-portElasticsearch instance portnumber-443
–es-usernameElasticsearch instance usernamestring-elastic
–es-passwordElasticsearch instance passwordstring--
–es-verify-certsEnables elasticsearch TLS certificate verificationenumTrue/FalseFalse
–es-metrics-indexIndex name for metrics in Elasticsearchstring-krkn-metrics
–es-alerts-indexIndex name for alerts in Elasticsearchstring-krkn-alerts
–es-telemetry-indexIndex name for telemetry in Elasticsearchstring-krkn-telemetry
–check-critical-alertsEnables checking for critical alertsenumTrue/FalseFalse
–telemetry-enabledEnables telemetry supportenumTrue/FalseFalse
–telemetry-api-urlAPI endpoint for telemetry datastring-https://ulnmf9xv7j.execute-api.us-west-2.amazonaws.com/production
–telemetry-usernameUsername for telemetry authenticationstring-redhat-chaos
–telemetry-passwordPassword for telemetry authenticationstring--
–telemetry-prometheus-backupEnables Prometheus backup for telemetryenumTrue/FalseTrue
–telemetry-full-prometheus-backupEnables full Prometheus backup for telemetryenumTrue/FalseFalse
–telemetry-backup-threadsNumber of threads for telemetry backupnumber-5
–telemetry-archive-pathPath to save telemetry archivestring-/tmp
–telemetry-max-retriesMaximum retries for telemetry operationsnumber-0
–telemetry-run-tagTag for telemetry runstring-chaos
–telemetry-groupGroup name for telemetry datastring-default
–telemetry-archive-sizeMaximum size for telemetry archivesnumber-1000
–telemetry-logs-backupEnables logs backup for telemetryenumTrue/FalseFalse
–telemetry-filter-patternFilter pattern for telemetry logsstring-["\w{3}\s\d{1,2}\s\d{2}:\d{2}:\d{2}\.\d+", “kinit (\d+/\d+/\d+\s\d{2}:\d{2}:\d{2}”, “\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d+Z”]
–telemetry-cli-pathPath to telemetry CLI tool (oc)string--
–telemetry-events-backupEnables events backup for telemetryenumTrue/FalseTrue
–health-check-intervalHow often to check the health check urls (seconds)number-2
–health-check-urlURL to check the health ofstring--
–health-check-authAuthentication tuple to authenticate into health check URLstring--
–health-check-bearer-tokenBearer token to authenticate into health check URLstring--
–health-check-exitExit on failure when health check URL is not able to connectstring--
–health-check-verifySSL Verification to authenticate into health check URLstring-false
–kubevirt-check-intervalHow often to check the KubeVirt VMs SSH status (seconds)number-2
–kubevirt-namespaceKubeVirt namespace to check the health ofstring--
–kubevirt-nameKubeVirt regex names to watchstring--
–kubevirt-only-failuresKubeVirt checks only report if failure occursenumTrue/Falsefalse
–kubevirt-disconnectedKubeVirt checks in disconnected mode, bypassing the cluster’s APIenumTrue/Falsefalse
–kubevirt-ssh-nodeKubeVirt backup node to SSH into when checking VMI IP address statusstring-false
–kubevirt-exit-on-failureKubeVirt fails run if VMs still have false statusenumTrue/Falsefalse
–kubevirt-node-nodeOnly track VMs in KubeVirt on given node namestring-false
–krkn-debugEnables debug mode for KrknenumTrue/FalseFalse
Last modified February 19, 2026: scenario updates (569a10a)