chore(env): Adding required env inside chaosengine (#479)

Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>
This commit is contained in:
Shubham Chaudhary
2021-07-13 15:56:12 +05:30
committed by GitHub
parent b170f84c4d
commit a5af71f24a
51 changed files with 300 additions and 154 deletions

View File

@@ -17,6 +17,9 @@ spec:
# # provide the node labels
# kubernetes.io/hostname: 'node02'
env:
- name: TOTAL_CHAOS_DURATION
value: '60'
# ENTER THE TARGET NODE NAME
- name: TARGET_NODE
value: ''
@@ -27,4 +30,4 @@ spec:
# ENTER THE USER TO BE USED FOR SSH AUTH
- name: SSH_USER
value: ''
value: 'root'

View File

@@ -55,10 +55,7 @@ spec:
value: 'root'
- name: TOTAL_CHAOS_DURATION
value: '360'
- name: EXPERIMENT_NAME
value: 'node-poweroff'
value: '60'
- name: REBOOT_COMMAND
value: '-o ServerAliveInterval=1 -o ServerAliveCountMax=1 "sudo systemctl poweroff --force --force" ; true'