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:

example: --<parameter> <value>

ParameterDescriptionTypePossible ValuesDefault
--cerberus-enabledEnables Cerberus SupportenumTrue/FalseFalse
--cerberus-urlCerberus http urlstringhttp://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 scenarionumber1
--iterationsnumber of times the same chaos scenario will be executednumber1
--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 pathstringconfig/alerts.yaml
--metrics-pathAllows to specify a different metrics file pathstringconfig/metrics-aggregated.yaml
--enable-esEnables elastic search data collectionenumTrue/FalseFalse
--es-serverElasticsearch instance URLstringhttp://0.0.0.0
--es-portElasticsearch instance portnumber443
--es-usernameElasticsearch instance usernamestringelastic
--es-passwordElasticsearch instance passwordstring
--es-verify-certsEnables elasticsearch TLS certificate verificationenumTrue/FalseFalse
--es-metrics-indexIndex name for metrics in Elasticsearchstringkrkn-metrics
--es-alerts-indexIndex name for alerts in Elasticsearchstringkrkn-alerts
--es-telemetry-indexIndex name for telemetry in Elasticsearchstringkrkn-telemetry
--check-critical-alertsEnables checking for critical alertsenumTrue/FalseFalse
--telemetry-enabledEnables telemetry supportenumTrue/FalseFalse
--telemetry-api-urlAPI endpoint for telemetry datastringhttps://ulnmf9xv7j.execute-api.us-west-2.amazonaws.com/production
--telemetry-usernameUsername for telemetry authenticationstringredhat-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 backupnumber5
--telemetry-archive-pathPath to save telemetry archivestring/tmp
--telemetry-max-retriesMaximum retries for telemetry operationsnumber0
--telemetry-run-tagTag for telemetry runstringchaos
--telemetry-groupGroup name for telemetry datastringdefault
--telemetry-archive-sizeMaximum size for telemetry archivesnumber1000
--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+
--telemetry-cli-pathPath to telemetry CLI tool ocstring
--telemetry-events-backupEnables events backup for telemetryenumTrue/FalseTrue
--health-check-intervalHow often to check the health check urlsnumber2
--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 URLstringfalse
--krkn-debugEnables debug mode for KrknenumTrue/FalseFalse