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,6 +17,9 @@ spec:
spec:
components:
env:
- name: TOTAL_CHAOS_DURATION
value: "60" # in seconds
# list of the target hostnames or kewywords eg. '["litmuschaos","chaosnative.io"]' . If empty all hostnames are targets
- name: TARGET_HOSTNAMES
value: ""
@@ -25,9 +28,6 @@ spec:
- name: MATCH_SCHEME
value: "exact"
- name: TOTAL_CHAOS_DURATION
value: "60" # in seconds
# provide the name of container runtime, it supports docker, containerd, crio
- name: CONTAINER_RUNTIME
value: "docker"
@@ -35,3 +35,7 @@ spec:
# provide the socket file path
- name: SOCKET_PATH
value: "/var/run/docker.sock"
## percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ""