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:
@@ -25,4 +25,12 @@ spec:
|
|||||||
env:
|
env:
|
||||||
# specify the name of the container to be killed
|
# specify the name of the container to be killed
|
||||||
- name: TARGET_CONTAINER
|
- name: TARGET_CONTAINER
|
||||||
value: 'nginx'
|
value: 'nginx'
|
||||||
|
|
||||||
|
# provide the chaos interval
|
||||||
|
- name: CHAOS_INTERVAL
|
||||||
|
value: '10'
|
||||||
|
|
||||||
|
# provide the total chaos duration
|
||||||
|
- name: TOTAL_CHAOS_DURATION
|
||||||
|
value: '20'
|
@@ -1,7 +1,7 @@
|
|||||||
apiVersion: litmuschaos.io/v1alpha1
|
apiVersion: litmuschaos.io/v1alpha1
|
||||||
kind: ChaosEngine
|
kind: ChaosEngine
|
||||||
metadata:
|
metadata:
|
||||||
name: nginx-network-chaos
|
name: nginx-network-chaos
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
# It can be delete/retain
|
# It can be delete/retain
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
apiVersion: litmuschaos.io/v1alpha1
|
apiVersion: litmuschaos.io/v1alpha1
|
||||||
kind: ChaosEngine
|
kind: ChaosEngine
|
||||||
metadata:
|
metadata:
|
||||||
name: nginx-network-chaos
|
name: nginx-network-chaos
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
# It can be delete/retain
|
# It can be delete/retain
|
||||||
|
Reference in New Issue
Block a user