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,16 +18,11 @@ spec:
spec:
components:
env:
#Network interface inside target container
- name: NETWORK_INTERFACE
value: 'eth0'
- name: NETWORK_PACKET_LOSS_PERCENTAGE
value: '100'
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
- name: NETWORK_PACKET_LOSS_PERCENTAGE
value: '100'
# provide the name of container runtime
# for litmus LIB, it supports docker, containerd, crio
@@ -39,3 +34,7 @@ spec:
- name: SOCKET_PATH
value: '/var/run/docker.sock'
## percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''