Files
litmus-hub/charts/generic/container-kill/ansible/engine.yaml
Shubham Chaudhary 7524892603 chore(jobCleanUpPolicy): added retain as default jobCleanUpPolicy (#463)
* chore(jobCleanUpPolicy): added retain as default jobCleanUpPolicy

Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>

* chore(annotationCheck): Removed annotationCheck field

Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>
2021-06-01 15:33:48 +05:30

32 lines
804 B
YAML

apiVersion: litmuschaos.io/v1alpha1
kind: ChaosEngine
metadata:
name: nginx-chaos
namespace: default
spec:
# It can be active/stop
engineState: 'active'
#ex. values: ns1:name=percona,ns2:run=nginx
auxiliaryAppInfo: ''
appinfo:
appns: 'default'
applabel: 'app=nginx'
appkind: 'deployment'
chaosServiceAccount: container-kill-sa
experiments:
- name: container-kill
spec:
components:
env:
# 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'