Files
litmus-hub/charts/generic/node-drain/engine.yaml
Shubham Chaudhary a6c77ce30b chore(nodeselectors): comment out the nodeselectors from the chaosengine (#432)
* update(workflows): Updating k8Probe schema inside workflows

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

* chore(nodeselectors): comment out the nodeselectors from the chaosengine

Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>
2021-04-06 13:19:27 +05:30

31 lines
785 B
YAML

apiVersion: litmuschaos.io/v1alpha1
kind: ChaosEngine
metadata:
name: nginx-chaos
namespace: default
spec:
# It can be true/false
annotationCheck: 'false'
# 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: node-drain-sa
monitoring: false
# It can be delete/retain
jobCleanUpPolicy: 'delete'
experiments:
- name: node-drain
spec:
components:
# nodeSelector:
# # provide the node labels
# kubernetes.io/hostname: 'node02'
env:
# enter the target node name
- name: TARGET_NODE
value: 'node-01'