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

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