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

@@ -16,12 +16,21 @@ spec:
spec:
components:
env:
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
# Enter the amount of memory in megabytes to be consumed by the application pod
- name: MEMORY_CONSUMPTION
value: '500'
- name: NUMBER_OF_WORKERS
value: '1'
## percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
## provide the cluster runtime
- name: CONTAINER_RUNTIME
value: 'docker'
# provide the socket file path
- name: SOCKET_PATH
value: '/var/run/docker.sock'

View File

@@ -86,8 +86,11 @@ spec:
- name: STRESS_IMAGE
value: 'alexeiled/stress-ng:latest-ubuntu'
## provide the cluster runtime
- name: CONTAINER_RUNTIME
value: 'docker'
# provide the socket file path
# it is used in pumba lib
- name: SOCKET_PATH
value: '/var/run/docker.sock'