Skip to content

Commit

Permalink
config update
Browse files Browse the repository at this point in the history
  • Loading branch information
tsebastiani committed Jan 16, 2025
1 parent aba9101 commit d4056fc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
7 changes: 3 additions & 4 deletions config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@ kraken:
chaos_scenarios:
# List of policies/chaos scenarios to load
- hog_scenarios:
- scenarios/kube/cpu-hog/input.yaml
- scenarios/kube/memory-hog/input.yaml
- scenarios/kube/io-hog/input.yaml
- scenarios/kube/io-hog/input.yaml
- scenarios/kube/cpu-hog.yml
- scenarios/kube/memory-hog.yml
- scenarios/kube/io-hog.yml
- application_outages_scenarios:
- scenarios/openshift/app_outage.yaml
- container_scenarios: # List of chaos pod scenarios to load
Expand Down
4 changes: 2 additions & 2 deletions scenarios/kube/cpu-hog.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
- duration: 30
workers: ''
workers: '' # leave it empty '' node cpu auto-detection
hog-type: cpu
image: quay.io/krkn-chaos/krkn-hog
namespace: default
cpu-load-percentage: 90
cpu-method: all
node-selector:
node-selector: # leave it empty {} for random node selection
node-role.kubernetes.io/worker: ''
4 changes: 2 additions & 2 deletions scenarios/kube/io-hog.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- duration: 30
workers: 4
workers: '' # leave it empty '' node cpu auto-detection
hog-type: io
image: quay.io/krkn-chaos/krkn-hog
namespace: default
Expand All @@ -10,5 +10,5 @@
name: node-volume
hostPath:
path: /root # a path writable by kubelet in the root filesystem of the node
node-selector:
node-selector: # leave it empty {} for random node selection
node-role.kubernetes.io/worker: ''
4 changes: 2 additions & 2 deletions scenarios/kube/memory-hog.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
- duration: 120
workers: 4
workers: '' # leave it empty '' node cpu auto-detection
hog-type: memory
image: quay.io/krkn-chaos/krkn-hog
namespace: default
memory-vm-bytes: 90%
node-selector:
node-selector: # leave it empty {} for random node selection
node-role.kubernetes.io/worker: ''

0 comments on commit d4056fc

Please sign in to comment.