Files
litmus-hub/charts/generic/node-taint/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

27 lines
758 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: ''
chaosServiceAccount: node-taint-sa
experiments:
- name: node-taint
spec:
components:
# nodeSelector:
# # provide the node labels
# kubernetes.io/hostname: 'node02'
env:
# set target node name
- name: TARGET_NODE
value: 'node-01'
# set taint label & effect
# key=value:effect or key:effect
- name: TAINTS
value: 'node.kubernetes.io/unreachable:NoExecute'