chore(env): Adding required env inside chaosengine (#479)

Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>
This commit is contained in:
Shubham Chaudhary
2021-07-13 15:56:12 +05:30
committed by GitHub
parent b170f84c4d
commit a5af71f24a
51 changed files with 300 additions and 154 deletions

View File

@@ -18,6 +18,10 @@ spec:
spec:
components:
env:
# set chaos duration (in sec) as desired
- name: TOTAL_CHAOS_DURATION
value: '60'
# choose based on available kafka broker replicas
- name: KAFKA_REPLICATION_FACTOR
value: '3'
@@ -60,10 +64,6 @@ spec:
- name: ZOOKEEPER_PORT
value: '2181'
# set chaos duration (in sec) as desired
- name: TOTAL_CHAOS_DURATION
value: '60'
# set chaos interval (in sec) as desired
- name: CHAOS_INTERVAL
value: '20'

View File

@@ -74,10 +74,6 @@ spec:
- name: CHAOS_INTERVAL
value: '5'
# provide the kill count
- name: KILL_COUNT
value: ''
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE