mirror of
https://github.com/krkn-chaos/krkn.git
synced 2026-02-14 18:10:00 +00:00
Some checks failed
Functional & Unit Tests / Functional & Unit Tests (push) Failing after 3m28s
Functional & Unit Tests / Generate Coverage Badge (push) Has been skipped
* Fix typo in key name for application routes in setup.py Signed-off-by: iting0321 <iting0321@MacBook-11111111.local> * Fix typo in 'check_applicaton_routes' to 'check_application_routes' in configuration files and cerberus scripts Signed-off-by: iting0321 <iting0321@MacBook-11111111.local> --------- Signed-off-by: iting0321 <iting0321@MacBook-11111111.local> Co-authored-by: iting0321 <iting0321@MacBook-11111111.local>
30 lines
2.7 KiB
YAML
30 lines
2.7 KiB
YAML
kraken:
|
|
distribution: kubernetes # Distribution can be kubernetes or openshift
|
|
kubeconfig_path: ~/.kube/config # Path to kubeconfig
|
|
exit_on_failure: False # Exit when a post action scenario fails
|
|
port: 8081
|
|
publish_kraken_status: True # Can be accessed at http://0.0.0.0:8081
|
|
signal_state: RUN # Will wait for the RUN signal when set to PAUSE before running the scenarios, refer docs/signal.md for more details
|
|
chaos_scenarios: # List of policies/chaos scenarios to load
|
|
- container_scenarios: # List of chaos pod scenarios to load
|
|
- scenarios/kube/container_dns.yml
|
|
- plugin_scenarios:
|
|
- scenarios/kube/scheduler.yml
|
|
|
|
cerberus:
|
|
cerberus_enabled: False # Enable it when cerberus is previously installed
|
|
cerberus_url: # When cerberus_enabled is set to True, provide the url where cerberus publishes go/no-go signal
|
|
check_application_routes: False # When enabled will look for application unavailability using the routes specified in the cerberus config and fails the run
|
|
|
|
performance_monitoring:
|
|
prometheus_url: # The prometheus url/route is automatically obtained in case of OpenShift, please set it when the distribution is Kubernetes.
|
|
prometheus_bearer_token: # The bearer token is automatically obtained in case of OpenShift, please set it when the distribution is Kubernetes. This is needed to authenticate with prometheus.
|
|
uuid: # uuid for the run is generated by default if not set
|
|
enable_alerts: False # Runs the queries specified in the alert profile and displays the info or exits 1 when severity=error
|
|
alert_profile: config/alerts.yaml # Path to alert profile with the prometheus queries
|
|
check_critical_alerts: False # When enabled will check prometheus for critical alerts firing post chaos after soak time for the cluster to settle down
|
|
tunings:
|
|
wait_duration: 60 # Duration to wait between each chaos scenario
|
|
iterations: 1 # Number of times to execute the scenarios
|
|
daemon_mode: False # Iterations are set to infinity which means that the kraken will cause chaos forever
|