Merge pull request #14 from shubhamchaudhary/target-failure

Added Openebs-Target-Failure experiment CR
This commit is contained in:
Karthik Satchitanand
2019-10-04 11:23:35 +05:30
committed by GitHub
2 changed files with 87 additions and 0 deletions

View 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: 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

View File

@@ -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: ""