From 75e3eebc07f77fc8d4e66892a146a8fa95795a7e Mon Sep 17 00:00:00 2001 From: shubhamchaudhary Date: Tue, 1 Oct 2019 02:57:35 +0530 Subject: [PATCH] added openebs-target-failure CR Signed-off-by: shubhamchaudhary --- .../openebs-target-failure/experiment_cr.yml | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 charts/openebs/openebs-target-failure/experiment_cr.yml diff --git a/charts/openebs/openebs-target-failure/experiment_cr.yml b/charts/openebs/openebs-target-failure/experiment_cr.yml new file mode 100644 index 0000000..2ada932 --- /dev/null +++ b/charts/openebs/openebs-target-failure/experiment_cr.yml @@ -0,0 +1,53 @@ +-- +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: kubernetes + name: openebs-target-failure + namespace: shubham +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: shubham + - name: APP_LABEL + value: "name=percona" + - name: APP_PVC + value: percona-mysql-claim + - 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 + + + +