Merge pull request #15 from shubhamchaudhary/pool-failure
Added Openebs-Pool-Failure Experiment CR
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
---
|
||||
apiVersion: litmuschaos.io/v1alpha1
|
||||
description:
|
||||
message: |
|
||||
Kill the pool pod and check if gets scheduled again
|
||||
kind: ChaosExperiment
|
||||
metadata:
|
||||
labels:
|
||||
litmuschaos.io/name: openebs
|
||||
name: openebs-pool-failure
|
||||
version: {{ VERSION }}
|
||||
spec:
|
||||
definition:
|
||||
args:
|
||||
- -c
|
||||
- ansible-playbook ./experiments/chaos/openebs_pool_failure/test.yml -i /etc/ansible/hosts
|
||||
-vv; exit 0
|
||||
command:
|
||||
- /bin/bash
|
||||
env:
|
||||
- name: ANSIBLE_STDOUT_CALLBACK
|
||||
value: default
|
||||
- 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: "pool-kill"
|
||||
- name: CHAOS_ITERATIONS
|
||||
value: "2"
|
||||
labels:
|
||||
name: openebs-pool-failure
|
||||
configmaps:
|
||||
- name: pool-failure
|
||||
data:
|
||||
parameters.yml: |
|
||||
litmusbook: /experiments/chaos/openebs_pool_failure/run_litmus_test.yml
|
||||
|
||||
|
@@ -0,0 +1,34 @@
|
||||
apiVersion: litmuchaos.io/v1alpha1
|
||||
kind: ChartServiceVersion
|
||||
metadata:
|
||||
name: openebs-pool-failure
|
||||
annotations:
|
||||
categories: "OpenEBS"
|
||||
vendor: "CNCF"
|
||||
repository: https://github.com/litmuschaos/chaos-charts
|
||||
support: https://slack.openebs.io/
|
||||
spec:
|
||||
displayName: Openebs-Pool-Failure
|
||||
description: >
|
||||
Kill the pool pod and check if gets scheduled again.
|
||||
keywords:
|
||||
- Kubernetes
|
||||
- Storage Pool
|
||||
- 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_pool_failure/README.md"
|
||||
links:
|
||||
- name: OpenEBS Website
|
||||
url: https://openebs.io
|
||||
- name: Source Code
|
||||
url: https://github.com/openebs/openebs
|
||||
icon:
|
||||
- url: ""
|
||||
mediatype: ""
|
Reference in New Issue
Block a user