diff --git a/charts/openebs/openebs-target-failure/experiment.basetemplate.yaml b/charts/openebs/openebs-target-failure/experiment.basetemplate.yaml new file mode 100644 index 0000000..7d6b643 --- /dev/null +++ b/charts/openebs/openebs-target-failure/experiment.basetemplate.yaml @@ -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: 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 + + + + diff --git a/charts/openebs/openebs-target-failure/openebs_target_failure.chartserviceversion.basetemplate.yaml b/charts/openebs/openebs-target-failure/openebs_target_failure.chartserviceversion.basetemplate.yaml new file mode 100644 index 0000000..3e64bd2 --- /dev/null +++ b/charts/openebs/openebs-target-failure/openebs_target_failure.chartserviceversion.basetemplate.yaml @@ -0,0 +1,34 @@ +apiVersion: litmuchaos.io/v1alpha1 +kind: ChartServiceVersion +metadata: + name: openebs-target-failure + annotations: + categories: "OpenEBS" + vendor: "CNCF" + repository: https://github.com/litmuschaos/chaos-charts + support: https://slack.openebs.io/ +spec: + displayName: Openebs-Target-Failure + description: > + Kill the cstor target/Jiva controller container and check if gets created again + keywords: + - Kubernetes + - Storage Controller + - OpenEBS + version: {{ VERSION }} + maturity: alpha + maintainers: + - name: shubham chaudhary + email: shubham.chaudhary@mayadata.io + minKubeVersion: 1.12.0 + provider: + name: Mayadata + readme: "https://github.com/mayadata-io/litmus/blob/master/experiments/chaos/openebs_target_failure/README.md" + links: + - name: OpenEBS Website + url: https://openebs.io + - name: Source Code + url: https://github.com/openebs/openebs + icon: + - url: "" + mediatype: ""