34 lines
905 B
YAML
34 lines
905 B
YAML
apiVersion: litmuschaos.io/v1alpha1
|
|
kind: ChaosEngine
|
|
metadata:
|
|
name: target-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: nginx-sa
|
|
monitoring: false
|
|
components:
|
|
# It can be delete/retain
|
|
jobCleanUpPolicy: 'delete'
|
|
experiments:
|
|
- name: openebs-target-network-loss
|
|
spec:
|
|
components:
|
|
env:
|
|
- name: TARGET_CONTAINER
|
|
value: 'cstor-istgt'
|
|
- name: APP_PVC
|
|
value: 'pvc-c466262a-a5f2-4f0f-b594-5daddfc2e29d'
|
|
- name: DEPLOY_TYPE
|
|
value: 'deployment'
|
|
- name: TOTAL_CHAOS_DURATION
|
|
value: '120000' |