* 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>
31 lines
867 B
YAML
31 lines
867 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: ''
|
|
chaosServiceAccount: node-taint-sa
|
|
# It can be delete/retain
|
|
jobCleanUpPolicy: 'delete'
|
|
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' |