forked from cloud-bulldozer/orion
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchaos_tests.yaml
More file actions
45 lines (44 loc) · 1.53 KB
/
chaos_tests.yaml
File metadata and controls
45 lines (44 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Chaos Tests Example Configuration
#
# This configuration uses environment variables for all metadata fields.
# Set the following environment variables before running Orion:
# Example usage:
# export version=4.19
# export scenario_type=time_scenarios
# export cloud_infrastructure=AWS
# export cloud_type=self-managed
# export total_node_count=9
# export node_instance_type="*xlarge*"
# export network_plugins=OVNKubernetes
# export scenario_file="*time_scenario.yaml"
# orion cmd --config examples/chaos_tests.yaml --hunter-analyze
metricsFile: metrics/chaos-scenarios-metrics.yaml
tests:
- name: krkn-hub-*
version_field: cluster_version
uuid_field: run_uuid
metadata:
cluster_version: "{{ version }}"
scenarios.scenario_type: "{{ scenario_type }}"
cloud_infrastructure: "{{ cloud_infrastructure }}"
cloud_type: "{{ cloud_type }}"
total_node_count: "{{ total_node_count }}"
node_summary_infos.instance_type: "{{ node_instance_type }}"
network_plugins: "{{ network_plugins }}"
scenarios.scenario: "{{ scenario_file }}"
etcd_encryption_enabled: "{{ etcd_enabled }}"
fips_enabled: "{{ fips_enabled }}"
ipsec_enabled: "{{ ipsec_enabled }}"
tag.keyword: "{{ run_tag }}"
metrics:
# Recovery & Health metrics
- name: health_check_recovery
threshold: 15
direction: 1
metricName.keyword: health_check_recovery
metric_of_interest: duration
not:
status_code: 200
agg:
value: duration
agg_type: sum