feat(experiments): Make the time-duration consistent(in seconds) at every place (#160)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
This commit is contained in:
committed by
GitHub
parent
1b8849fde3
commit
2442eaeb1f
@@ -23,13 +23,16 @@ spec:
|
||||
spec:
|
||||
components:
|
||||
env:
|
||||
# Provide name of target container
|
||||
# where chaos has to be injected
|
||||
- name: TARGET_CONTAINER
|
||||
value: 'nginx'
|
||||
#number of cpu cores to be consumed
|
||||
#verify the resources the app has been launched with
|
||||
|
||||
#number of cpu cores to be consumed
|
||||
#verify the resources the app has been launched with
|
||||
- name: CPU_CORES
|
||||
value: '1'
|
||||
# in ms
|
||||
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60000'
|
||||
value: '60' # in seconds
|
||||
|
@@ -44,7 +44,7 @@ spec:
|
||||
value: '1'
|
||||
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60000' #in ms
|
||||
value: '60' # in seconds
|
||||
|
||||
# Period to wait before injection of chaos in sec
|
||||
- name: RAMP_TIME
|
||||
|
@@ -24,11 +24,13 @@ spec:
|
||||
spec:
|
||||
components:
|
||||
env:
|
||||
- name: ANSIBLE_STDOUT_CALLBACK
|
||||
value: 'default'
|
||||
#Container name where chaos has to be injected
|
||||
#Container name where chaos has to be injected
|
||||
- name: TARGET_CONTAINER
|
||||
value: 'nginx'
|
||||
#Network interface inside target container
|
||||
|
||||
#Network interface inside target container
|
||||
- name: NETWORK_INTERFACE
|
||||
value: 'eth0'
|
||||
value: 'eth0'
|
||||
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60' # in seconds
|
@@ -51,9 +51,9 @@ spec:
|
||||
value: '100' #in PERCENTAGE
|
||||
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60000' #in ms
|
||||
value: '60' # in seconds
|
||||
|
||||
# Period to wait before injection of chaos in sec
|
||||
# Time period to wait before injection of chaos in sec
|
||||
- name: RAMP_TIME
|
||||
value: ''
|
||||
|
||||
|
@@ -24,19 +24,19 @@ spec:
|
||||
spec:
|
||||
components:
|
||||
env:
|
||||
- name: ANSIBLE_STDOUT_CALLBACK
|
||||
value: 'default'
|
||||
#Container name where chaos has to be injected
|
||||
#Container name where chaos has to be injected
|
||||
- name: TARGET_CONTAINER
|
||||
value: 'nginx'
|
||||
#Network interface inside target container
|
||||
|
||||
#Network interface inside target container
|
||||
- name: NETWORK_INTERFACE
|
||||
value: 'eth0'
|
||||
value: 'eth0'
|
||||
|
||||
- name: LIB_IMAGE
|
||||
value: 'gaiaadm/pumba:0.6.5'
|
||||
|
||||
- name: NETWORK_LATENCY
|
||||
value: '2000'
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60000'
|
||||
- name: LIB
|
||||
value: 'pumba'
|
||||
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60' # in seconds
|
||||
|
@@ -51,9 +51,9 @@ spec:
|
||||
value: '60000' #in ms
|
||||
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60000' #in ms
|
||||
value: '60' # in seconds
|
||||
|
||||
# Period to wait before injection of chaos in sec
|
||||
# Time period to wait before injection of chaos in sec
|
||||
- name: RAMP_TIME
|
||||
value: ''
|
||||
|
||||
|
@@ -25,19 +25,20 @@ spec:
|
||||
spec:
|
||||
components:
|
||||
env:
|
||||
- name: ANSIBLE_STDOUT_CALLBACK
|
||||
value: 'default'
|
||||
#Container name where chaos has to be injected
|
||||
#Container name where chaos has to be injected
|
||||
- name: TARGET_CONTAINER
|
||||
value: 'nginx'
|
||||
|
||||
- name: LIB_IMAGE
|
||||
value: 'gaiaadm/pumba:0.6.5'
|
||||
#Network interface inside target container
|
||||
|
||||
#Network interface inside target container
|
||||
- name: NETWORK_INTERFACE
|
||||
value: 'eth0'
|
||||
value: 'eth0'
|
||||
|
||||
- name: NETWORK_PACKET_LOSS_PERCENTAGE
|
||||
value: '100'
|
||||
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60000'
|
||||
- name: LIB
|
||||
value: 'pumba'
|
||||
value: '60' # in seconds
|
||||
|
@@ -51,9 +51,9 @@ spec:
|
||||
value: '100' #in PERCENTAGE
|
||||
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60000' #in ms
|
||||
value: '60' # in seconds
|
||||
|
||||
# Period to wait before injection of chaos in sec
|
||||
# ime period to wait before injection of chaos in sec
|
||||
- name: RAMP_TIME
|
||||
value: ''
|
||||
|
||||
|
Reference in New Issue
Block a user