forked from cloud-bulldozer/orion
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnode_scenarios.yaml
More file actions
43 lines (42 loc) · 1.56 KB
/
node_scenarios.yaml
File metadata and controls
43 lines (42 loc) · 1.56 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
# Node Scenarios Configuration
# This configuration is based on verified metrics from UUID: 221c11c1-0d6f-4790-acdd-40118b954f1c
# Requires environment variables for dynamic configuration
# Example usage:
# export version=4.19
# export scenario_type=node_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/node_scenarios.yaml --lookback 10d
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 }}"
network_plugins: "{{ network_plugins }}"
scenarios.scenario: "{{ scenario_file }}"
scenarios.exit_status: 0
scenarios.parameters.node_scenarios.label_selector: "{{ label_selector }}"
etcd_encryption_enabled: "{{ etcd_enabled }}"
fips_enabled: "{{ fips_enabled }}"
ipsec_enabled: "{{ ipsec_enabled }}"
tag.keyword: "{{ run_tag }}"
metrics:
# Recovery & Health metrics
- name: affected_nodes_recovery
threshold: 15
direction: 1
metricName.keyword: affected_nodes_recovery
metric_of_interest: ready_time
agg:
value: ready_time
agg_type: avg