mirror of
https://github.com/krkn-chaos/krkn.git
synced 2026-02-14 09:59:59 +00:00
22 lines
554 B
YAML
22 lines
554 B
YAML
config:
|
|
runStrategy:
|
|
runs: 1
|
|
maxSecondsBetweenRuns: 10
|
|
minSecondsBetweenRuns: 1
|
|
scenarios:
|
|
- name: "check 2 pods are in namespace with selector: prometheus"
|
|
steps:
|
|
- podAction:
|
|
matches:
|
|
- labels:
|
|
namespace: "openshift-monitoring"
|
|
selector: "app=prometheus"
|
|
filters:
|
|
- property:
|
|
name: "state"
|
|
value: "Running"
|
|
# The actions will be executed in the order specified
|
|
actions:
|
|
- checkPodCount:
|
|
count: 2
|