Files
litmus-hub/charts/openebs/openebs-target-failure/experiment.basetemplate.yaml
2019-10-04 22:24:45 +05:30

38 lines
955 B
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:
image: "openebs/ansible-runner:ci"
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: 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: |