(refactor) add ramp_time env in generic experiments (#126)

Signed-off-by: ksatchit <ksatchit@mayadata.io>
This commit is contained in:
Karthik Satchitanand
2020-01-25 19:03:25 +05:30
committed by GitHub
parent f916c7c9f9
commit 442ca6657e
10 changed files with 46 additions and 6 deletions

View File

@@ -43,6 +43,10 @@ spec:
- name: TARGET_CONTAINER - name: TARGET_CONTAINER
value: '' value: ''
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
# It only supports pumba # It only supports pumba
- name: LIB - name: LIB
value: 'pumba' value: 'pumba'

View File

@@ -51,6 +51,10 @@ spec:
- name: TOTAL_CHAOS_DURATION - name: TOTAL_CHAOS_DURATION
value: '60' value: '60'
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
- name: PLATFORM - name: PLATFORM
value: 'GKE' value: 'GKE'

View File

@@ -50,6 +50,10 @@ spec:
- name: TOTAL_CHAOS_DURATION - name: TOTAL_CHAOS_DURATION
value: '60' value: '60'
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
labels: labels:
name: disk-fill name: disk-fill

View File

@@ -41,13 +41,17 @@ spec:
- name: TOTAL_CHAOS_DURATION - name: TOTAL_CHAOS_DURATION
value: '15' value: '15'
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
- name: APP_CHECK - name: APP_CHECK
value: 'true' value: 'true'
- name: CHAOS_NAMESPACE - name: CHAOS_NAMESPACE
value: '' value: ''
# It supports GCP and AWS # It supports GCP and AWS
- name: CLOUD_PLATFORM - name: CLOUD_PLATFORM
value: 'GCP' value: 'GCP'

View File

@@ -58,6 +58,10 @@ spec:
- name: TOTAL_CHAOS_DURATION - name: TOTAL_CHAOS_DURATION
value: '60' value: '60'
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
- name: LIVENESS_APP_NAMESPACE - name: LIVENESS_APP_NAMESPACE
value: '' value: ''

View File

@@ -46,6 +46,10 @@ spec:
- name: TOTAL_CHAOS_DURATION - name: TOTAL_CHAOS_DURATION
value: '60000' #in ms value: '60000' #in ms
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
- name: LIB - name: LIB
value: 'litmus' value: 'litmus'

View File

@@ -51,6 +51,10 @@ spec:
- name: TOTAL_CHAOS_DURATION - name: TOTAL_CHAOS_DURATION
value: '15' value: '15'
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
- name: FORCE - name: FORCE
value: 'true' value: 'true'

View File

@@ -40,7 +40,7 @@ spec:
- name: TARGET_CONTAINER - name: TARGET_CONTAINER
value: '' value: ''
# provide lib image # provide lib image
- name: LIB_IMAGE - name: LIB_IMAGE
value: 'gaiaadm/pumba:0.6.5' value: 'gaiaadm/pumba:0.6.5'
@@ -53,6 +53,10 @@ spec:
- name: TOTAL_CHAOS_DURATION - name: TOTAL_CHAOS_DURATION
value: '60000' #in ms value: '60000' #in ms
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
- name: LIB - name: LIB
value: 'pumba' value: 'pumba'
labels: labels:

View File

@@ -53,6 +53,10 @@ spec:
- name: TOTAL_CHAOS_DURATION - name: TOTAL_CHAOS_DURATION
value: '60000' #in ms value: '60000' #in ms
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
- name: LIB - name: LIB
value: 'pumba' value: 'pumba'
labels: labels:

View File

@@ -40,7 +40,7 @@ spec:
- name: TARGET_CONTAINER - name: TARGET_CONTAINER
value: '' value: ''
# provide lib image # provide lib image
- name: LIB_IMAGE - name: LIB_IMAGE
value: 'gaiaadm/pumba:0.6.5' value: 'gaiaadm/pumba:0.6.5'
@@ -53,6 +53,10 @@ spec:
- name: TOTAL_CHAOS_DURATION - name: TOTAL_CHAOS_DURATION
value: '60000' #in ms value: '60000' #in ms
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
- name: LIB - name: LIB
value: 'pumba' value: 'pumba'
labels: labels: