32 lines
835 B
YAML
32 lines
835 B
YAML
apiVersion: litmuschaos.io/v1alpha1
|
|
kind: ChaosEngine
|
|
metadata:
|
|
name: target-chaos
|
|
namespace: default
|
|
spec:
|
|
# 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: target-container-failure-sa
|
|
experiments:
|
|
- name: openebs-target-container-failure
|
|
spec:
|
|
components:
|
|
env:
|
|
# provide the total chaos duration
|
|
- name: TOTAL_CHAOS_DURATION
|
|
value: '20'
|
|
|
|
- name: TARGET_CONTAINER
|
|
value: 'cstor-istgt'
|
|
|
|
- name: APP_PVC
|
|
value: 'demo-nginx-claim'
|
|
|
|
- name: DEPLOY_TYPE
|
|
value: 'deployment' |