Files
kubeinvaders/scripts/programming_mode/example.yaml
2022-10-17 09:51:21 +02:00

40 lines
790 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
jobs:
cpu_attack:
image: docker.io/luckysideburn/kubeinvaders-stress-ng:latest
command: "stress-ng"
args:
- "--cpu"
- "4"
- "--io"
- "2"
- "--vm"
- "1"
- "--vm-bytes"
- "1G"
- "--timeout"
- "10s"
- "--metrics-brief"
mem_attack:
image: docker.io/luckysideburn/kubeinvaders-stress-ng:latest
command: "stress-ng"
args:
- "--vm 2"
- "-vm-bytes"
- "1G"
experiments:
- name: cpu_attack_exp
job: cpu_attack
loop: 5
after:
check_url: https://google.it
check_payload: ''
check_tls_ignore: true
- name: mem_attack_exp
job: mem_attack
loop: 5
after:
check_url: https://google.it
check_payload: ''
check_tls_ignore: true