chore(engine): removed the target-container from engine (#397)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
This commit is contained in:
committed by
GitHub
parent
4801dd124a
commit
beda9b8dcd
@@ -21,11 +21,6 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
components:
|
components:
|
||||||
env:
|
env:
|
||||||
# Provide name of target container
|
|
||||||
# where chaos has to be injected
|
|
||||||
- name: TARGET_CONTAINER
|
|
||||||
value: 'nginx'
|
|
||||||
|
|
||||||
#number of cpu cores to be consumed
|
#number of cpu cores to be consumed
|
||||||
#verify the resources the app has been launched with
|
#verify the resources the app has been launched with
|
||||||
- name: CPU_CORES
|
- name: CPU_CORES
|
||||||
@@ -33,10 +28,3 @@ spec:
|
|||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60' # in seconds
|
value: '60' # in seconds
|
||||||
|
|
||||||
- name: CHAOS_INJECT_COMMAND
|
|
||||||
value: 'md5sum /dev/zero'
|
|
||||||
|
|
||||||
- name: CHAOS_KILL_COMMAND
|
|
||||||
value: "kill -9 $(ps afx | grep \"[md5sum] /dev/zero\" | awk '{print$1}' | tr '\n' ' ')"
|
|
||||||
|
|
||||||
|
@@ -78,12 +78,6 @@ spec:
|
|||||||
- name: TARGET_PODS
|
- name: TARGET_PODS
|
||||||
value: ''
|
value: ''
|
||||||
|
|
||||||
- name: CHAOS_INJECT_COMMAND
|
|
||||||
value: 'md5sum /dev/zero'
|
|
||||||
|
|
||||||
- name: CHAOS_KILL_COMMAND
|
|
||||||
value: "kill -9 $(ps afx | grep \"[md5sum] /dev/zero\" | awk '{print$1}' | tr '\n' ' ')"
|
|
||||||
|
|
||||||
## it defines the sequence of chaos execution for multiple target pods
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
|
@@ -21,17 +21,10 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
components:
|
components:
|
||||||
env:
|
env:
|
||||||
# Provide name of target container
|
|
||||||
# where chaos has to be injected
|
|
||||||
- name: TARGET_CONTAINER
|
|
||||||
value: 'nginx'
|
|
||||||
|
|
||||||
# Enter the amount of memory in megabytes to be consumed by the application pod
|
# Enter the amount of memory in megabytes to be consumed by the application pod
|
||||||
- name: MEMORY_CONSUMPTION
|
- name: MEMORY_CONSUMPTION
|
||||||
value: '500'
|
value: '500'
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60' # in seconds
|
value: '60' # in seconds
|
||||||
|
|
||||||
- name: CHAOS_KILL_COMMAND
|
|
||||||
value: "kill -9 $(ps afx | grep \"[dd] if /dev/zero\" | awk '{print $1}' | tr '\n' ' ')"
|
|
@@ -75,9 +75,6 @@ spec:
|
|||||||
- name: SOCKET_PATH
|
- name: SOCKET_PATH
|
||||||
value: '/var/run/docker.sock'
|
value: '/var/run/docker.sock'
|
||||||
|
|
||||||
- name: CHAOS_KILL_COMMAND
|
|
||||||
value: "kill -9 $(ps afx | grep \"[dd] if /dev/zero\" | awk '{print $1}' | tr '\n' ' ')"
|
|
||||||
|
|
||||||
## it defines the sequence of chaos execution for multiple target pods
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
|
Reference in New Issue
Block a user