feat(c-kill): Adding interval & duration in container-kill experiments (#194)

Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
This commit is contained in:
Shubham Chaudhary
2020-03-27 16:52:15 +05:30
committed by GitHub
parent 63893faea3
commit daed7df766
3 changed files with 25 additions and 1 deletions

View File

@@ -60,6 +60,14 @@ spec:
- name: LIB
value: 'pumba'
# provide the chaos interval
- name: CHAOS_INTERVAL
value: '10'
# provide the total chaos duration
- name: TOTAL_CHAOS_DURATION
value: '20'
# LIB_IMAGE can be - gaiaadm/pumba:0.4.8, gprasath/crictl:ci
# For pumba image use: gaiaadm/pumba:0.4.8
# For containerd image use: gprasath/crictl:ci

View File

@@ -77,6 +77,14 @@ spec:
- name: LIVENESS_APP_NAMESPACE
value: ''
# provide the chaos interval
- name: CHAOS_INTERVAL
value: '10'
# provide the total chaos duration
- name: TOTAL_CHAOS_DURATION
value: '20'
- name: DATA_PERSISTENCE
value: ''

View File

@@ -96,8 +96,16 @@ spec:
- name: DEPLOY_TYPE
value: 'deployment'
# provide the chaos interval
- name: CHAOS_INTERVAL
value: '10'
# provide the total chaos duration
- name: TOTAL_CHAOS_DURATION
value: "60"
value: '20'
- name: SOAK_TIME
value: '60'
labels:
name: openebs-target-container-failure