added openebs-target-failure CR
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
This commit is contained in:
53
charts/openebs/openebs-target-failure/experiment_cr.yml
Normal file
53
charts/openebs/openebs-target-failure/experiment_cr.yml
Normal file
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user