chore(env): Adding required env inside chaosengine (#479)
Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>
This commit is contained in:
committed by
GitHub
parent
b170f84c4d
commit
a5af71f24a
@@ -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'
|
||||
|
@@ -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'
|
||||
|
Reference in New Issue
Block a user