(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:
committed by
Karthik Satchitanand
parent
f4963b71ad
commit
78d2c68b67
@@ -1 +1,83 @@
|
||||
TO be generated by CI
|
||||
---
|
||||
apiVersion: litmuschaos.io/v1alpha1
|
||||
description:
|
||||
message: "Kills a container belonging to an application pod \n"
|
||||
kind: ChaosExperiment
|
||||
metadata:
|
||||
name: container-kill
|
||||
version: 0.1.0
|
||||
spec:
|
||||
definition:
|
||||
image: "litmuschaos/ansible-runner:ci"
|
||||
args:
|
||||
- -c
|
||||
- ansible-playbook ./experiments/generic/container_kill/container_kill_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
|
||||
command:
|
||||
- /bin/bash
|
||||
env:
|
||||
- name: ANSIBLE_STDOUT_CALLBACK
|
||||
value: default
|
||||
- name: TARGET_CONTAINER
|
||||
value: ""
|
||||
- name: KILL_MODE
|
||||
value: ""
|
||||
- name: LIB
|
||||
value: ""
|
||||
labels:
|
||||
name: container-kill
|
||||
---
|
||||
apiVersion: litmuschaos.io/v1alpha1
|
||||
description:
|
||||
message: |
|
||||
Deletes a pod belonging to a deployment/statefulset/daemonset
|
||||
kind: ChaosExperiment
|
||||
metadata:
|
||||
name: pod-delete
|
||||
version: 0.1.0
|
||||
spec:
|
||||
definition:
|
||||
image: "litmuschaos/ansible-runner:ci"
|
||||
args:
|
||||
- -c
|
||||
- ansible-playbook ./experiments/generic/pod_delete/pod_delete_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
|
||||
command:
|
||||
- /bin/bash
|
||||
env:
|
||||
- name: ANSIBLE_STDOUT_CALLBACK
|
||||
value: default
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: 15
|
||||
- name: CHAOS_INTERVAL
|
||||
value: 5
|
||||
- name: LIB
|
||||
value: ""
|
||||
labels:
|
||||
name: pod-delete
|
||||
---
|
||||
apiVersion: litmuschaos.io/v1alpha1
|
||||
description:
|
||||
message: |
|
||||
Deletes a pod belonging to a deployment/statefulset/daemonset
|
||||
kind: ChaosExperiment
|
||||
metadata:
|
||||
name: pod-network-delay
|
||||
version: 0.1.0
|
||||
spec:
|
||||
definition:
|
||||
image: "litmuschaos/ansible-runner:ci"
|
||||
args:
|
||||
- -c
|
||||
- ansible-playbook ./experiments/generic/pod_network_delay/pod_network_delay_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
|
||||
command:
|
||||
- /bin/bash
|
||||
env:
|
||||
- name: ANSIBLE_STDOUT_CALLBACK
|
||||
value: default
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: 15
|
||||
- name: CHAOS_INTERVAL
|
||||
value: 5
|
||||
- name: LIB
|
||||
value: ""
|
||||
labels:
|
||||
name: pod-network-delay
|
Reference in New Issue
Block a user