Files
litmus-hub/charts/generic/docker-service-kill/engine.yaml
Shubham Chaudhary 3575803f51 chore(chaosengine): Removed monitoring from all experiments & appinfo from infra experiments (#431)
* update(workflows): Updating k8Probe schema inside workflows

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

* chore(chaosengine): Removed monitoring from all experiments & appinfo from infra experiments

Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>
2021-04-10 13:36:46 +05:30

34 lines
909 B
YAML

apiVersion: litmuschaos.io/v1alpha1
kind: ChaosEngine
metadata:
name: nginx-chaos
namespace: default
spec:
appinfo:
appns: 'default'
applabel: 'app=nginx'
appkind: 'deployment'
# It can be true/false
annotationCheck: 'false'
# It can be active/stop
engineState: 'active'
#ex. values: ns1:name=percona,ns2:run=nginx
auxiliaryAppInfo: ''
chaosServiceAccount: docker-service-kill-sa
# It can be delete/retain
jobCleanUpPolicy: 'delete'
experiments:
- name: docker-service-kill
spec:
components:
# nodeSelector:
# # provide the node labels
# kubernetes.io/hostname: 'node02'
env:
# set chaos duration (in sec) as desired
- name: TOTAL_CHAOS_DURATION
value: '90'
# provide the actual name of node under test
- name: APP_NODE
value: 'node-01'