* 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>
34 lines
909 B
YAML
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' |