Skip to content

Commit

Permalink
Adding Prometheus Disruption Scenario (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahsahil264 authored Sep 11, 2023
1 parent e40fedc commit 585d519
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ kraken:
- scenarios/openshift/regex_openshift_pod_kill.yml
- scenarios/openshift/vmware_node_scenarios.yml
- scenarios/openshift/network_chaos_ingress.yml
- scenarios/openshift/prom_kill.yml
- node_scenarios: # List of chaos node scenarios to load
- scenarios/openshift/node_scenarios_example.yml
- plugin_scenarios:
Expand Down
1 change: 1 addition & 0 deletions config/config_performance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ kraken:
- plugin_scenarios: # List of chaos pod scenarios to load
- scenarios/openshift/etcd.yml
- scenarios/openshift/regex_openshift_pod_kill.yml
- scenarios/openshift/prom_kill.yml
- node_scenarios: # List of chaos node scenarios to load
- scenarios/openshift/node_scenarios_example.yml
- plugin_scenarios:
Expand Down
9 changes: 9 additions & 0 deletions scenarios/openshift/prom_kill.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- id: kill-pods
config:
namespace_pattern: ^openshift-monitoring$
label_selector: statefulset.kubernetes.io/pod-name=prometheus-k8s-0
- id: wait-for-pods
config:
namespace_pattern: ^openshift-monitoring$
label_selector: statefulset.kubernetes.io/pod-name=prometheus-k8s-0
count: 1

0 comments on commit 585d519

Please sign in to comment.