289: version upgraded for chaos-charts
This commit is contained in:
98
charts/kafka/experiments.yaml
Normal file
98
charts/kafka/experiments.yaml
Normal file
@@ -0,0 +1,98 @@
|
||||
---
|
||||
|
||||
apiVersion: litmuschaos.io/v1alpha1
|
||||
description:
|
||||
message: |
|
||||
Deleting a kafka broker pod
|
||||
kind: ChaosExperiment
|
||||
metadata:
|
||||
name: kafka-broker-pod-failure
|
||||
version: 0.1.1
|
||||
spec:
|
||||
definition:
|
||||
permissions:
|
||||
apiGroups:
|
||||
- ""
|
||||
- "extensions"
|
||||
- "apps"
|
||||
- "batch"
|
||||
- "litmuschaos.io"
|
||||
resources:
|
||||
- "daemonsets"
|
||||
- "statefulsets"
|
||||
- "deployments"
|
||||
- "replicasets"
|
||||
- "jobs"
|
||||
- "pods"
|
||||
- "pods/exec"
|
||||
- "chaosengines"
|
||||
- "chaosexperiments"
|
||||
- "chaosresults"
|
||||
verbs:
|
||||
- "*"
|
||||
image: "litmuschaos/ansible-runner:ci"
|
||||
args:
|
||||
- -c
|
||||
- ansible-playbook ./experiments/kafka/kafka-broker-pod-failure/kafka-broker-pod-failure-ansible-logic.yml -i /etc/ansible/hosts -vv; exit 0
|
||||
command:
|
||||
- /bin/bash
|
||||
env:
|
||||
|
||||
- name: ANSIBLE_STDOUT_CALLBACK
|
||||
value: 'default'
|
||||
|
||||
- name: KAFKA_KIND
|
||||
value: 'statefulset'
|
||||
|
||||
- name: KAFKA_LIVENESS_STREAM
|
||||
value: 'enabled'
|
||||
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '15'
|
||||
|
||||
- name: CHAOS_INTERVAL
|
||||
value: '5'
|
||||
|
||||
- name: FORCE
|
||||
value: 'true'
|
||||
|
||||
- name: KAFKA_NAMESPACE
|
||||
value: ''
|
||||
|
||||
- name: KAFKA_LABEL
|
||||
value: ''
|
||||
|
||||
- name: KAFKA_BROKER
|
||||
value: ''
|
||||
|
||||
- name: KAFKA_REPLICATION_FACTOR
|
||||
value: ''
|
||||
|
||||
- name: KAFKA_SERVICE
|
||||
value: ''
|
||||
|
||||
- name: KAFKA_PORT
|
||||
value: ''
|
||||
|
||||
- name: ZOOKEEPER_NAMESPACE
|
||||
value: ''
|
||||
|
||||
- name: ZOOKEEPER_LABEL
|
||||
value: ''
|
||||
|
||||
- name: ZOOKEEPER_SERVICE
|
||||
value: ''
|
||||
|
||||
- name: ZOOKEEPER_PORT
|
||||
value: ''
|
||||
|
||||
## env var that describes the library used to execute the chaos
|
||||
## default: litmus. Supported values: litmus, powerfulseal, chaoskube
|
||||
- name: LIB
|
||||
value: 'litmus'
|
||||
|
||||
labels:
|
||||
name: kafka-broker-pod-failure
|
||||
|
||||
---
|
||||
|
@@ -5,7 +5,7 @@ description:
|
||||
kind: ChaosExperiment
|
||||
metadata:
|
||||
name: kafka-broker-pod-failure
|
||||
version: 0.1.0
|
||||
version: 0.1.1
|
||||
spec:
|
||||
definition:
|
||||
permissions:
|
||||
|
@@ -2,7 +2,7 @@ apiVersion: litmuchaos.io/v1alpha1
|
||||
kind: ChartServiceVersion
|
||||
metadata:
|
||||
name: kafka-broker-pod-failure
|
||||
version: 0.1.0
|
||||
version: 0.1.1
|
||||
annotations:
|
||||
categories: Kafka
|
||||
vendor: Mayadata
|
||||
|
Reference in New Issue
Block a user