chore(env): Adding required env inside chaosengine (#479)
Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>
This commit is contained in:
committed by
GitHub
parent
b170f84c4d
commit
a5af71f24a
@@ -16,15 +16,5 @@ spec:
|
||||
spec:
|
||||
components:
|
||||
env:
|
||||
- name: OPENEBS_NAMESPACE
|
||||
value: 'openebs'
|
||||
|
||||
## Period to wait before injection of chaos
|
||||
- name: RAMP_TIME
|
||||
value: '10'
|
||||
|
||||
- name: FORCE
|
||||
value: ''
|
||||
|
||||
- name: LIB
|
||||
value: ''
|
||||
value: ''
|
@@ -70,7 +70,7 @@ spec:
|
||||
## env var that describes the library used to execute the chaos
|
||||
## default: litmus. Supported values: litmus, powerfulseal
|
||||
- name: LIB
|
||||
value: ''
|
||||
value: 'litmus'
|
||||
|
||||
labels:
|
||||
name: openebs-control-plane-chaos
|
||||
|
@@ -16,13 +16,13 @@ spec:
|
||||
spec:
|
||||
components:
|
||||
env:
|
||||
# provide the total chaos duration
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '20'
|
||||
|
||||
- name: NFS_PROVISIONER_NAMESPACE
|
||||
value: 'app-nfs-ns'
|
||||
|
||||
## Period to wait before injection of chaos
|
||||
- name: RAMP_TIME
|
||||
value: '10'
|
||||
|
||||
- name: NFS_PROVISIONER_LABEL
|
||||
value: 'app=nfs'
|
||||
|
||||
|
@@ -18,6 +18,10 @@ spec:
|
||||
spec:
|
||||
components:
|
||||
env:
|
||||
# provide the total chaos duration
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '20'
|
||||
|
||||
- name: APP_PVC
|
||||
value: 'demo-nginx-claim'
|
||||
|
||||
|
@@ -17,7 +17,11 @@ spec:
|
||||
- name: openebs-pool-disk-loss
|
||||
spec:
|
||||
components:
|
||||
env:
|
||||
env:
|
||||
# provide the total chaos duration
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60'
|
||||
|
||||
- name: APP_PVC
|
||||
value: 'demo-nginx-claim'
|
||||
|
||||
@@ -25,14 +29,6 @@ spec:
|
||||
- name: CLOUD_PLATFORM
|
||||
value: 'GKE'
|
||||
|
||||
# Enter the time duration in sec after the disk is dettached
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60'
|
||||
|
||||
# Period to wait before injection of chaos in sec
|
||||
- name: RAMP_TIME
|
||||
value: ''
|
||||
|
||||
# Enter the project id for gcp only
|
||||
- name: PROJECT_ID
|
||||
value: 'litmus-demo-123'
|
||||
@@ -52,6 +48,4 @@ spec:
|
||||
# Enter the zone name
|
||||
- name: ZONE_NAME
|
||||
value: 'us-central1-a'
|
||||
|
||||
- name: OPENEBS_NAMESPACE
|
||||
value: 'openebs'
|
||||
|
@@ -14,16 +14,12 @@ spec:
|
||||
spec:
|
||||
components:
|
||||
env:
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60' # in seconds
|
||||
|
||||
- name: APP_PVC
|
||||
value: 'demo-nginx-claim'
|
||||
|
||||
- name: OPENEBS_NAMESPACE
|
||||
value: 'openebs'
|
||||
|
||||
# in milliseconds
|
||||
- name: NETWORK_DELAY
|
||||
value: '60000'
|
||||
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60' # in seconds
|
||||
|
||||
|
@@ -17,18 +17,11 @@ spec:
|
||||
spec:
|
||||
components:
|
||||
env:
|
||||
- name: FORCE
|
||||
value: 'true'
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '120' # in seconds
|
||||
|
||||
- name: APP_PVC
|
||||
value: 'demo-nginx-claim'
|
||||
|
||||
- name: OPENEBS_NAMESPACE
|
||||
value: 'openebs'
|
||||
|
||||
- name: NETWORK_PACKET_LOSS_PERCENTAGE
|
||||
value: '100'
|
||||
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '120' # in seconds
|
||||
|
||||
|
@@ -18,8 +18,8 @@ spec:
|
||||
spec:
|
||||
components:
|
||||
env:
|
||||
- name: FORCE
|
||||
value: 'true'
|
||||
- name: CHAOS_ITERATIONS
|
||||
value: '2'
|
||||
|
||||
- name: APP_PVC
|
||||
value: 'demo-nginx-claim'
|
||||
|
@@ -18,6 +18,10 @@ spec:
|
||||
spec:
|
||||
components:
|
||||
env:
|
||||
# provide the total chaos duration
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '20'
|
||||
|
||||
- name: TARGET_CONTAINER
|
||||
value: 'cstor-istgt'
|
||||
|
||||
|
@@ -18,6 +18,9 @@ spec:
|
||||
spec:
|
||||
components:
|
||||
env:
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60' # in seconds
|
||||
|
||||
- name: TARGET_CONTAINER
|
||||
value: 'cstor-istgt'
|
||||
|
||||
@@ -29,6 +32,4 @@ spec:
|
||||
|
||||
- name: NETWORK_DELAY
|
||||
value: '30000'
|
||||
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60' # in seconds
|
||||
|
@@ -18,6 +18,9 @@ spec:
|
||||
spec:
|
||||
components:
|
||||
env:
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '120' # in seconds
|
||||
|
||||
- name: TARGET_CONTAINER
|
||||
value: 'cstor-istgt'
|
||||
|
||||
@@ -26,6 +29,3 @@ spec:
|
||||
|
||||
- name: DEPLOY_TYPE
|
||||
value: 'deployment'
|
||||
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '120' # in seconds
|
@@ -18,6 +18,9 @@ spec:
|
||||
spec:
|
||||
components:
|
||||
env:
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60'
|
||||
|
||||
- name: FORCE
|
||||
value: 'true'
|
||||
|
||||
|
Reference in New Issue
Block a user