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>
Parameter | Description | Type | Possible Values | Default |
---|---|---|---|---|
Enables Cerberus Support | enum | True/False | False | |
Cerberus http url | string | http://0.0.0.0:8080 | ||
Selects the orchestrator distribution | enum | openshift/kubernetes | openshift | |
Sets the path where krkn will search for kubeconfig in container | string | /home/krkn/.kube/config | ||
waits for a certain amount of time after the scenario | number | 1 | ||
number of times the same chaos scenario will be executed | number | 1 | ||
if set the scenario will execute forever | enum | True/False | False | |
sets krkn run uuid instead of generating it | string | |||
Enables metrics capture | enum | True/False | False | |
Enables cluster alerts check | enum | True/False | False | |
Allows to specify a different alert file path | string | config/alerts.yaml | ||
Allows to specify a different metrics file path | string | config/metrics-aggregated.yaml | ||
Enables elastic search data collection | enum | True/False | False | |
Elasticsearch instance URL | string | http://0.0.0.0 | ||
Elasticsearch instance port | number | 443 | ||
Elasticsearch instance username | string | elastic | ||
Elasticsearch instance password | string | |||
Enables elasticsearch TLS certificate verification | enum | True/False | False | |
Index name for metrics in Elasticsearch | string | krkn-metrics | ||
Index name for alerts in Elasticsearch | string | krkn-alerts | ||
Index name for telemetry in Elasticsearch | string | krkn-telemetry | ||
Enables checking for critical alerts | enum | True/False | False | |
Enables telemetry support | enum | True/False | False | |
API endpoint for telemetry data | string | https://ulnmf9xv7j.execute-api.us-west-2.amazonaws.com/production | ||
Username for telemetry authentication | string | redhat-chaos | ||
Password for telemetry authentication | string | |||
Enables Prometheus backup for telemetry | enum | True/False | True | |
Enables full Prometheus backup for telemetry | enum | True/False | False | |
Number of threads for telemetry backup | number | 5 | ||
Path to save telemetry archive | string | /tmp | ||
Maximum retries for telemetry operations | number | 0 | ||
Tag for telemetry run | string | chaos | ||
Group name for telemetry data | string | default | ||
Maximum size for telemetry archives | number | 1000 | ||
Enables logs backup for telemetry | enum | True/False | False | |
Filter pattern for telemetry logs | string | ["\w{3}\s\d{1,2}\s\d{2}:\d{2}:\d{2}\.\d+ | ||
Path to telemetry CLI tool oc | string | |||
Enables events backup for telemetry | enum | True/False | True | |
How often to check the health check urls | number | 2 | ||
Url to check the health of | string | |||
Authentication tuple to authenticate into health check URL | string | |||
Bearer token to authenticate into health check URL | string | |||
Exit on failure when health check URL is not able to connect | string | |||
SSL Verification to authenticate into health check URL | string | false | ||
Enables debug mode for Krkn | enum | True/False | False |