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:
|
spec:
|
||||||
components:
|
components:
|
||||||
env:
|
env:
|
||||||
|
# Provide name of target container
|
||||||
|
# where chaos has to be injected
|
||||||
- name: TARGET_CONTAINER
|
- name: TARGET_CONTAINER
|
||||||
value: 'nginx'
|
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
|
- name: CPU_CORES
|
||||||
value: '1'
|
value: '1'
|
||||||
# in ms
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60000'
|
value: '60' # in seconds
|
||||||
|
|
@@ -44,7 +44,7 @@ spec:
|
|||||||
value: '1'
|
value: '1'
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60000' #in ms
|
value: '60' # in seconds
|
||||||
|
|
||||||
# Period to wait before injection of chaos in sec
|
# Period to wait before injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
|
@@ -24,11 +24,13 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
components:
|
components:
|
||||||
env:
|
env:
|
||||||
- name: ANSIBLE_STDOUT_CALLBACK
|
#Container name where chaos has to be injected
|
||||||
value: 'default'
|
|
||||||
#Container name where chaos has to be injected
|
|
||||||
- name: TARGET_CONTAINER
|
- name: TARGET_CONTAINER
|
||||||
value: 'nginx'
|
value: 'nginx'
|
||||||
#Network interface inside target container
|
|
||||||
|
#Network interface inside target container
|
||||||
- name: NETWORK_INTERFACE
|
- name: NETWORK_INTERFACE
|
||||||
value: 'eth0'
|
value: 'eth0'
|
||||||
|
|
||||||
|
- name: TOTAL_CHAOS_DURATION
|
||||||
|
value: '60' # in seconds
|
@@ -51,9 +51,9 @@ spec:
|
|||||||
value: '100' #in PERCENTAGE
|
value: '100' #in PERCENTAGE
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- 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
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ''
|
||||||
|
|
||||||
|
@@ -24,19 +24,19 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
components:
|
components:
|
||||||
env:
|
env:
|
||||||
- name: ANSIBLE_STDOUT_CALLBACK
|
#Container name where chaos has to be injected
|
||||||
value: 'default'
|
|
||||||
#Container name where chaos has to be injected
|
|
||||||
- name: TARGET_CONTAINER
|
- name: TARGET_CONTAINER
|
||||||
value: 'nginx'
|
value: 'nginx'
|
||||||
#Network interface inside target container
|
|
||||||
|
#Network interface inside target container
|
||||||
- name: NETWORK_INTERFACE
|
- name: NETWORK_INTERFACE
|
||||||
value: 'eth0'
|
value: 'eth0'
|
||||||
|
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'gaiaadm/pumba:0.6.5'
|
value: 'gaiaadm/pumba:0.6.5'
|
||||||
|
|
||||||
- name: NETWORK_LATENCY
|
- name: NETWORK_LATENCY
|
||||||
value: '2000'
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
|
||||||
value: '60000'
|
value: '60000'
|
||||||
- name: LIB
|
|
||||||
value: 'pumba'
|
- name: TOTAL_CHAOS_DURATION
|
||||||
|
value: '60' # in seconds
|
||||||
|
@@ -51,9 +51,9 @@ spec:
|
|||||||
value: '60000' #in ms
|
value: '60000' #in ms
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- 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
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ''
|
||||||
|
|
||||||
|
@@ -25,19 +25,20 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
components:
|
components:
|
||||||
env:
|
env:
|
||||||
- name: ANSIBLE_STDOUT_CALLBACK
|
#Container name where chaos has to be injected
|
||||||
value: 'default'
|
|
||||||
#Container name where chaos has to be injected
|
|
||||||
- name: TARGET_CONTAINER
|
- name: TARGET_CONTAINER
|
||||||
value: 'nginx'
|
value: 'nginx'
|
||||||
|
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'gaiaadm/pumba:0.6.5'
|
value: 'gaiaadm/pumba:0.6.5'
|
||||||
#Network interface inside target container
|
|
||||||
|
#Network interface inside target container
|
||||||
- name: NETWORK_INTERFACE
|
- name: NETWORK_INTERFACE
|
||||||
value: 'eth0'
|
value: 'eth0'
|
||||||
|
|
||||||
- name: NETWORK_PACKET_LOSS_PERCENTAGE
|
- name: NETWORK_PACKET_LOSS_PERCENTAGE
|
||||||
value: '100'
|
value: '100'
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60000'
|
value: '60' # in seconds
|
||||||
- name: LIB
|
|
||||||
value: 'pumba'
|
|
@@ -51,9 +51,9 @@ spec:
|
|||||||
value: '100' #in PERCENTAGE
|
value: '100' #in PERCENTAGE
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- 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
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ''
|
||||||
|
|
||||||
|
@@ -28,7 +28,6 @@ spec:
|
|||||||
- name: NETWORK_DELAY
|
- name: NETWORK_DELAY
|
||||||
value: '60000'
|
value: '60000'
|
||||||
|
|
||||||
# in milliseconds
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60000'
|
value: '60' # in seconds
|
||||||
|
|
||||||
|
@@ -65,9 +65,8 @@ spec:
|
|||||||
- name: NETWORK_DELAY
|
- name: NETWORK_DELAY
|
||||||
value: '60000'
|
value: '60000'
|
||||||
|
|
||||||
# in milliseconds
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60000'
|
value: '60' # in seconds
|
||||||
|
|
||||||
- name: LIVENESS_APP_LABEL
|
- name: LIVENESS_APP_LABEL
|
||||||
value: ''
|
value: ''
|
||||||
|
@@ -34,5 +34,5 @@ spec:
|
|||||||
value: '100'
|
value: '100'
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60000'
|
value: '120' # in seconds
|
||||||
|
|
||||||
|
@@ -65,7 +65,7 @@ spec:
|
|||||||
value: '100' # in percentage
|
value: '100' # in percentage
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '120000' # in milliseconds
|
value: '120' # in seconds
|
||||||
|
|
||||||
- name: LIVENESS_APP_LABEL
|
- name: LIVENESS_APP_LABEL
|
||||||
value: ''
|
value: ''
|
||||||
|
@@ -25,11 +25,15 @@ spec:
|
|||||||
env:
|
env:
|
||||||
- name: TARGET_CONTAINER
|
- name: TARGET_CONTAINER
|
||||||
value: 'cstor-istgt'
|
value: 'cstor-istgt'
|
||||||
|
|
||||||
- name: APP_PVC
|
- name: APP_PVC
|
||||||
value: 'demo-nginx-claim'
|
value: 'demo-nginx-claim'
|
||||||
|
|
||||||
- name: DEPLOY_TYPE
|
- name: DEPLOY_TYPE
|
||||||
value: 'deployment'
|
value: 'deployment'
|
||||||
|
|
||||||
- name: NETWORK_DELAY
|
- name: NETWORK_DELAY
|
||||||
value: '30000'
|
value: '30000'
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60000'
|
value: '60' # in seconds
|
@@ -64,7 +64,7 @@ spec:
|
|||||||
value: '60000' # in milliseconds
|
value: '60000' # in milliseconds
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60000' # in milliseconds
|
value: '60' # in seconds
|
||||||
|
|
||||||
- name: LIVENESS_APP_LABEL
|
- name: LIVENESS_APP_LABEL
|
||||||
value: ''
|
value: ''
|
||||||
|
@@ -25,9 +25,12 @@ spec:
|
|||||||
env:
|
env:
|
||||||
- name: TARGET_CONTAINER
|
- name: TARGET_CONTAINER
|
||||||
value: 'cstor-istgt'
|
value: 'cstor-istgt'
|
||||||
|
|
||||||
- name: APP_PVC
|
- name: APP_PVC
|
||||||
value: 'demo-nginx-claim'
|
value: 'demo-nginx-claim'
|
||||||
|
|
||||||
- name: DEPLOY_TYPE
|
- name: DEPLOY_TYPE
|
||||||
value: 'deployment'
|
value: 'deployment'
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '120000'
|
value: '120' # in seconds
|
@@ -64,7 +64,7 @@ spec:
|
|||||||
value: '100' # in percentage
|
value: '100' # in percentage
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '120000' # in milliseconds
|
value: '120' # in seconds
|
||||||
|
|
||||||
- name: LIVENESS_APP_LABEL
|
- name: LIVENESS_APP_LABEL
|
||||||
value: ''
|
value: ''
|
||||||
|
Reference in New Issue
Block a user