Added default kill command in experiment.yaml (#495)

* Added default kill command in experiment.yaml

Signed-off-by: Akash Shrivastava <akash@chaosnative.com>
This commit is contained in:
Akash Shrivastava
2021-08-12 15:20:56 +05:30
committed by GitHub
parent 065e962561
commit be89e34763
4 changed files with 10 additions and 2 deletions

View File

@@ -72,6 +72,10 @@ spec:
## default: litmus. Supported values: litmus
- name: LIB
value: 'litmus'
# The command to kill the chaos process
- name: CHAOS_KILL_COMMAND
value: "kill $(find /proc -name exe -lname '*/md5sum' 2>&1 | grep -v 'Permission denied' | awk -F/ '{print $(NF-1)}')"
- name: TARGET_PODS
value: ''

View File

@@ -73,6 +73,10 @@ spec:
## default: litmus. Supported values: litmus
- name: LIB
value: 'litmus'
# The command to kill the chaos process
- name: CHAOS_KILL_COMMAND
value: "kill $(find /proc -name exe -lname '*/dd' 2>&1 | grep -v 'Permission denied' | awk -F/ '{print $(NF-1)}' | head -n 1)"
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel