Files
litmus-hub/charts/openebs/openebs-target-failure/experiment.basetemplate.yaml
shubhamchaudhary 37f623f6a8 Added Openebs-Target-Failure Experiment CR
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2019-10-03 21:56:07 +05:30

54 lines
1.2 KiB
YAML

--
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Kill the cstor target/Jiva controller container and check if gets created again
kind: ChaosExperiment
metadata:
labels:
litmuschaos.io/name: openebs
name: openebs-target-failure
version: {{ VERSION }}
spec:
definition:
args:
- -c
- ansible-playbook ./experiments/chaos/openebs_target_failure/test.yml -i /etc/ansible/hosts
-vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: default
- name: TARGET_NAMESPACE
value: openebs
- name: APP_NAMESPACE
value: ""
- name: APP_LABEL
value: ""
- name: APP_PVC
value: #mendatory field
- name: LIVENESS_APP_LABEL
value: ""
- name: LIVENESS_APP_NAMESPACE
value: ""
- name: DATA_PERSISTENCE
value: ""
- name: CHAOS_TYPE
value: "target-zrepl-kill"
- name: TARGET_CONTAINER
value: "cstor-volume-mgmt"
- name: DEPLOY_TYPE
value: deployment
labels:
name: openebs-target-failure
configmaps:
- name: target-failure
data:
parameters.yml: |
litmusbook: /experiments/chaos/openebs_target_failure/run_litmus_test.yml