(feat)charts: Add chaos experiments for OpenEBS network loss and delay (#19)

Refactor charts 

Signed-off-by: rajdas98 raj.das@mayadata.io
This commit is contained in:
Raj Babu Das
2019-10-04 22:24:45 +05:30
committed by Karthik Satchitanand
parent f4963b71ad
commit 78d2c68b67
38 changed files with 700 additions and 257 deletions

View File

@@ -1,4 +1,4 @@
--
---
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
@@ -11,27 +11,17 @@ metadata:
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
- 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: ""
value: "openebs"
- name: DATA_PERSISTENCE
value: ""
- name: CHAOS_TYPE
@@ -39,15 +29,10 @@ spec:
- name: TARGET_CONTAINER
value: "cstor-volume-mgmt"
- name: DEPLOY_TYPE
value: deployment
value: "deployment"
labels:
name: openebs-target-failure
configmaps:
- name: target-failure
data:
parameters.yml: |
litmusbook: /experiments/chaos/openebs_target_failure/run_litmus_test.yml
parameters.yml: |