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:
Shubham Chaudhary
2020-03-04 20:43:09 +05:30
committed by GitHub
parent 1b8849fde3
commit 2442eaeb1f
16 changed files with 57 additions and 46 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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: ''

View File

@@ -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

View File

@@ -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: ''

View File

@@ -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

View File

@@ -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: ''

View File

@@ -28,7 +28,6 @@ spec:
- name: NETWORK_DELAY
value: '60000'
# in milliseconds
- name: TOTAL_CHAOS_DURATION
value: '60000'
value: '60' # in seconds

View File

@@ -65,9 +65,8 @@ spec:
- name: NETWORK_DELAY
value: '60000'
# in milliseconds
- name: TOTAL_CHAOS_DURATION
value: '60000'
value: '60' # in seconds
- name: LIVENESS_APP_LABEL
value: ''

View File

@@ -34,5 +34,5 @@ spec:
value: '100'
- name: TOTAL_CHAOS_DURATION
value: '60000'
value: '120' # in seconds

View File

@@ -65,7 +65,7 @@ spec:
value: '100' # in percentage
- name: TOTAL_CHAOS_DURATION
value: '120000' # in milliseconds
value: '120' # in seconds
- name: LIVENESS_APP_LABEL
value: ''

View File

@@ -25,11 +25,15 @@ spec:
env:
- name: TARGET_CONTAINER
value: 'cstor-istgt'
- name: APP_PVC
value: 'demo-nginx-claim'
- name: DEPLOY_TYPE
value: 'deployment'
value: 'deployment'
- name: NETWORK_DELAY
value: '30000'
- name: TOTAL_CHAOS_DURATION
value: '60000'
value: '60' # in seconds

View File

@@ -64,7 +64,7 @@ spec:
value: '60000' # in milliseconds
- name: TOTAL_CHAOS_DURATION
value: '60000' # in milliseconds
value: '60' # in seconds
- name: LIVENESS_APP_LABEL
value: ''

View File

@@ -25,9 +25,12 @@ spec:
env:
- name: TARGET_CONTAINER
value: 'cstor-istgt'
- name: APP_PVC
value: 'demo-nginx-claim'
value: 'demo-nginx-claim'
- name: DEPLOY_TYPE
value: 'deployment'
value: 'deployment'
- name: TOTAL_CHAOS_DURATION
value: '120000'
value: '120' # in seconds

View File

@@ -64,7 +64,7 @@ spec:
value: '100' # in percentage
- name: TOTAL_CHAOS_DURATION
value: '120000' # in milliseconds
value: '120' # in seconds
- name: LIVENESS_APP_LABEL
value: ''