From a1f0f5d4c9c451882cefe3ace780b79b8a6c599f Mon Sep 17 00:00:00 2001 From: UDIT GAURAV <35391335+uditgaurav@users.noreply.github.com> Date: Mon, 11 May 2020 14:46:26 +0530 Subject: [PATCH] Add total chaos duration and chaos interval in container kill engine and typo fixes (#222) Signed-off-by: Udit Gaurav --- charts/generic/container-kill/engine.yaml | 10 +++++++++- charts/generic/pod-network-corruption/engine.yaml | 2 +- charts/generic/pod-network-latency/engine.yaml | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/charts/generic/container-kill/engine.yaml b/charts/generic/container-kill/engine.yaml index 7d1896a..b08b78f 100644 --- a/charts/generic/container-kill/engine.yaml +++ b/charts/generic/container-kill/engine.yaml @@ -25,4 +25,12 @@ spec: env: # specify the name of the container to be killed - name: TARGET_CONTAINER - value: 'nginx' \ No newline at end of file + value: 'nginx' + + # provide the chaos interval + - name: CHAOS_INTERVAL + value: '10' + + # provide the total chaos duration + - name: TOTAL_CHAOS_DURATION + value: '20' \ No newline at end of file diff --git a/charts/generic/pod-network-corruption/engine.yaml b/charts/generic/pod-network-corruption/engine.yaml index 0951bee..3d1a9c3 100644 --- a/charts/generic/pod-network-corruption/engine.yaml +++ b/charts/generic/pod-network-corruption/engine.yaml @@ -1,7 +1,7 @@ apiVersion: litmuschaos.io/v1alpha1 kind: ChaosEngine metadata: - name: nginx-network-chaos + name: nginx-network-chaos namespace: default spec: # It can be delete/retain diff --git a/charts/generic/pod-network-latency/engine.yaml b/charts/generic/pod-network-latency/engine.yaml index c56694c..0d8123e 100644 --- a/charts/generic/pod-network-latency/engine.yaml +++ b/charts/generic/pod-network-latency/engine.yaml @@ -1,7 +1,7 @@ apiVersion: litmuschaos.io/v1alpha1 kind: ChaosEngine metadata: - name: nginx-network-chaos + name: nginx-network-chaos namespace: default spec: # It can be delete/retain