Files
litmus-hub/charts/generic/container-kill/engine_nginx_getstarted.yaml
Karthik Satchitanand 2d0cdd07e8 (chore) update manifests for getstarted docs (#157)
Signed-off-by: ksatchit <ksatchit@mayadata.io>
2020-02-18 07:44:48 +05:30

24 lines
569 B
YAML

apiVersion: litmuschaos.io/v1alpha1
kind: ChaosEngine
metadata:
name: nginx-chaos
namespace: nginx
spec:
annotationCheck: 'true'
engineState: 'active'
appinfo:
appns: 'nginx'
applabel: 'app=nginx'
appkind: 'deployment'
chaosServiceAccount: container-kill-sa
# use retain to keep the job for debug
jobCleanUpPolicy: 'delete'
experiments:
- name: container-kill
spec:
components:
env:
# specify the name of the container to be killed
- name: TARGET_CONTAINER
value: 'nginx'