chore(add_env): Add chaos kill command env in the engine (#378)

Signed-off-by: Udit Gaurav <udit.gaurav@mayadata.io>
This commit is contained in:
Udit Gaurav
2020-11-10 20:48:29 +05:30
committed by GitHub
parent 01d74f6753
commit 6b2b7038e5
2 changed files with 9 additions and 1 deletions

View File

@@ -35,3 +35,5 @@ spec:
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
- name: CHAOS_KILL_COMMAND
value: "kill -9 $(ps afx | grep \"[dd] if /dev/zero\" | awk '{print $1}' | tr '\n' ' ')"