33 lines
797 B
YAML
33 lines
797 B
YAML
apiVersion: litmuschaos.io/v1alpha1
|
|
kind: ChaosEngine
|
|
metadata:
|
|
name: pool-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: pool-pod-failure-sa
|
|
monitoring: false
|
|
# It can be delete/retain
|
|
jobCleanUpPolicy: 'delete'
|
|
experiments:
|
|
- name: openebs-pool-pod-failure
|
|
spec:
|
|
components:
|
|
env:
|
|
- name: FORCE
|
|
value: 'true'
|
|
|
|
- name: APP_PVC
|
|
value: 'demo-nginx-claim'
|
|
|
|
- name: DEPLOY_TYPE
|
|
value: 'deployment' |