Add total chaos duration and chaos interval in container kill engine and typo fixes (#222)

Signed-off-by: Udit Gaurav <uditgaurav@gmail.com>
This commit is contained in:
UDIT GAURAV
2020-05-11 14:46:26 +05:30
committed by GitHub
parent 1f6e890245
commit a1f0f5d4c9
3 changed files with 11 additions and 3 deletions

View File

@@ -26,3 +26,11 @@ spec:
# specify the name of the container to be killed
- name: TARGET_CONTAINER
value: 'nginx'
# provide the chaos interval
- name: CHAOS_INTERVAL
value: '10'
# provide the total chaos duration
- name: TOTAL_CHAOS_DURATION
value: '20'

View File

@@ -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

View File

@@ -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