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

@@ -17,10 +17,6 @@ spec:
spec:
components:
env:
#Network interface inside target container
- name: NETWORK_INTERFACE
value: 'eth0'
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
@@ -33,3 +29,10 @@ spec:
# provide the socket file path
- name: SOCKET_PATH
value: '/var/run/docker.sock'
- name: NETWORK_PACKET_CORRUPTION_PERCENTAGE
value: '100' #in PERCENTAGE
## percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''