93: version upgraded for chaos-charts
This commit is contained in:
@@ -1,34 +1,5 @@
|
||||
---
|
||||
|
||||
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
|
||||
---
|
||||
|
||||
apiVersion: litmuschaos.io/v1alpha1
|
||||
description:
|
||||
message: |
|
||||
@@ -58,6 +29,70 @@ spec:
|
||||
name: pod-delete
|
||||
---
|
||||
|
||||
apiVersion: litmuschaos.io/v1alpha1
|
||||
description:
|
||||
message: |
|
||||
Injects network packet loss on pods belonging to an app deployment
|
||||
kind: ChaosExperiment
|
||||
metadata:
|
||||
name: pod-network-loss
|
||||
version: 0.1.1
|
||||
spec:
|
||||
definition:
|
||||
image: "litmuschaos/ansible-runner:ci"
|
||||
args:
|
||||
- -c
|
||||
- ansible-playbook ./experiments/generic/pod_network_loss/pod_network_loss_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
|
||||
command:
|
||||
- /bin/bash
|
||||
env:
|
||||
- name: TARGET_CONTAINER
|
||||
value: ""
|
||||
- name: NETWORK_INTERFACE
|
||||
value: "eth0"
|
||||
- name: NETWORK_PACKET_LOSS_PERCENTAGE
|
||||
value: "100" #in %
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: "60000" #in ms
|
||||
- name: LIB
|
||||
value: "pumba"
|
||||
labels:
|
||||
name: pod-network-loss
|
||||
|
||||
---
|
||||
|
||||
apiVersion: litmuschaos.io/v1alpha1
|
||||
description:
|
||||
message: |
|
||||
Injects network latency on pods belonging to an app deployment
|
||||
kind: ChaosExperiment
|
||||
metadata:
|
||||
name: pod-network-latency
|
||||
version: 0.1.1
|
||||
spec:
|
||||
definition:
|
||||
image: "litmuschaos/ansible-runner:ci"
|
||||
args:
|
||||
- -c
|
||||
- ansible-playbook ./experiments/generic/pod_network_latency/pod_network_latency_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
|
||||
command:
|
||||
- /bin/bash
|
||||
env:
|
||||
- name: TARGET_CONTAINER
|
||||
value: ""
|
||||
- name: NETWORK_INTERFACE
|
||||
value: "eth0"
|
||||
- name: NETWORK_LATENCY
|
||||
value: "60000" #in ms
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: "60000" #in ms
|
||||
- name: LIB
|
||||
value: "pumba"
|
||||
labels:
|
||||
name: pod-network-latency
|
||||
|
||||
---
|
||||
|
||||
apiVersion: litmuschaos.io/v1alpha1
|
||||
description:
|
||||
message: "Kills a container belonging to an application pod \n"
|
||||
|
Reference in New Issue
Block a user