Create static experiments files
This commit is contained in:
91
charts/kubernetes/experiments/k8s_all_exp_crd.yaml
Normal file
91
charts/kubernetes/experiments/k8s_all_exp_crd.yaml
Normal file
@@ -0,0 +1,91 @@
|
|||||||
|
---
|
||||||
|
apiVersion: litmuschaos.io/v1alpha1
|
||||||
|
description:
|
||||||
|
message: "Kills a container belonging to an application pod \n"
|
||||||
|
kind: ChaosExperiment
|
||||||
|
metadata:
|
||||||
|
name: kubernetes-state-container-kill-v0.1.0
|
||||||
|
version: v0.1.0
|
||||||
|
spec:
|
||||||
|
definition:
|
||||||
|
args:
|
||||||
|
- -c
|
||||||
|
- ansible-playbook ./experiments/chaos/kubernetes/container_kill/test.yml -i /etc/ansible/hosts
|
||||||
|
-vv; exit 0
|
||||||
|
command:
|
||||||
|
- /bin/bash
|
||||||
|
env:
|
||||||
|
- name: ANSIBLE_STDOUT_CALLBACK
|
||||||
|
value: default
|
||||||
|
- name: TARGET_CONTAINER
|
||||||
|
#value: nginx
|
||||||
|
value: front-end
|
||||||
|
- name: KILL_MODE
|
||||||
|
value: ""
|
||||||
|
- name: LIB
|
||||||
|
value: ""
|
||||||
|
image: ""
|
||||||
|
labels:
|
||||||
|
name: container-kill
|
||||||
|
litmusbook: /experiments/chaos/kubernetes/container_kill/run_litmus_test.yml
|
||||||
|
---
|
||||||
|
apiVersion: litmuschaos.io/v1alpha1
|
||||||
|
description:
|
||||||
|
message: |
|
||||||
|
Deletes a pod belonging to a deployment/statefulset/daemonset
|
||||||
|
kind: ChaosExperiment
|
||||||
|
metadata:
|
||||||
|
name: kubernetes-state-pod-delete-v0.1.0
|
||||||
|
version: v0.1.0
|
||||||
|
spec:
|
||||||
|
definition:
|
||||||
|
args:
|
||||||
|
- -c
|
||||||
|
- ansible-playbook ./experiments/chaos/kubernetes/pod_delete/test.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: ""
|
||||||
|
image: ""
|
||||||
|
labels:
|
||||||
|
name: pod-delete
|
||||||
|
litmusbook: /experiments/chaos/kubernetes/pod_delete/run_litmus_test.yml
|
||||||
|
---
|
||||||
|
apiVersion: litmuschaos.io/v1alpha1
|
||||||
|
description:
|
||||||
|
message: |
|
||||||
|
Deletes a pod belonging to a deployment/statefulset/daemonset
|
||||||
|
kind: ChaosExperiment
|
||||||
|
metadata:
|
||||||
|
name: kubernetes-network-pod-nw-delay-v0.1.0
|
||||||
|
version: v0.1.0
|
||||||
|
spec:
|
||||||
|
definition:
|
||||||
|
args:
|
||||||
|
- -c
|
||||||
|
- ansible-playbook ./experiments/chaos/kubernetes/pod_nw_delay/test.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: ""
|
||||||
|
image: ""
|
||||||
|
labels:
|
||||||
|
name: pod-nw-delay
|
||||||
|
litmusbook: /experiments/chaos/kubernetes/pod_nw_delay/run_litmus_test.yml
|
||||||
|
---
|
@@ -12,7 +12,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
displayName: Kubernetes
|
displayName: Kubernetes
|
||||||
description: >
|
description: >
|
||||||
**Kubernetes** is an open-source system for automating deployment, scaling, and management of containerized applications. It groups containers that make up an application into logical units for easy management and discovery. Install all will install the following subcharts
|
Kubernetes is an open-source system for automating deployment, scaling, and management of containerized applications. It groups containers that make up an application into logical units for easy management and discovery. Install all will install the following subcharts
|
||||||
|
|
||||||
- State
|
- State
|
||||||
- Network
|
- Network
|
||||||
|
@@ -12,7 +12,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
displayName: Kubernetes
|
displayName: Kubernetes
|
||||||
description: >
|
description: >
|
||||||
**Kubernetes** is an open-source system for automating deployment, scaling, and management of containerized applications. It groups containers that make up an application into logical units for easy management and discovery. Install all will install the following subcharts
|
Kubernetes is an open-source system for automating deployment, scaling, and management of containerized applications. It groups containers that make up an application into logical units for easy management and discovery. Install all will install the following subcharts
|
||||||
|
|
||||||
- State
|
- State
|
||||||
- Network
|
- Network
|
||||||
|
@@ -0,0 +1,31 @@
|
|||||||
|
---
|
||||||
|
apiVersion: litmuschaos.io/v1alpha1
|
||||||
|
description:
|
||||||
|
message: |
|
||||||
|
Deletes a pod belonging to a deployment/statefulset/daemonset
|
||||||
|
kind: ChaosExperiment
|
||||||
|
metadata:
|
||||||
|
name: kubernetes-network-pod-nw-delay-v0.1.0
|
||||||
|
version: v0.1.0
|
||||||
|
spec:
|
||||||
|
definition:
|
||||||
|
args:
|
||||||
|
- -c
|
||||||
|
- ansible-playbook ./experiments/chaos/kubernetes/pod_nw_delay/test.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: ""
|
||||||
|
image: ""
|
||||||
|
labels:
|
||||||
|
name: pod-nw-delay
|
||||||
|
litmusbook: /experiments/chaos/kubernetes/pod_nw_delay/run_litmus_test.yml
|
||||||
|
---
|
@@ -0,0 +1,61 @@
|
|||||||
|
---
|
||||||
|
apiVersion: litmuschaos.io/v1alpha1
|
||||||
|
description:
|
||||||
|
message: |
|
||||||
|
Deletes a pod belonging to a deployment/statefulset/daemonset
|
||||||
|
kind: ChaosExperiment
|
||||||
|
metadata:
|
||||||
|
name: kubernetes-state-pod-delete-v0.1.0
|
||||||
|
version: v0.1.0
|
||||||
|
spec:
|
||||||
|
definition:
|
||||||
|
args:
|
||||||
|
- -c
|
||||||
|
- ansible-playbook ./experiments/chaos/kubernetes/pod_delete/test.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: ""
|
||||||
|
image: ""
|
||||||
|
labels:
|
||||||
|
name: pod-delete
|
||||||
|
litmusbook: /experiments/chaos/kubernetes/pod_delete/run_litmus_test.yml
|
||||||
|
---
|
||||||
|
apiVersion: litmuschaos.io/v1alpha1
|
||||||
|
description:
|
||||||
|
message: "Kills a container belonging to an application pod \n"
|
||||||
|
kind: ChaosExperiment
|
||||||
|
metadata:
|
||||||
|
name: kubernetes-state-container-kill-v0.1.0
|
||||||
|
version: v0.1.0
|
||||||
|
spec:
|
||||||
|
definition:
|
||||||
|
args:
|
||||||
|
- -c
|
||||||
|
- ansible-playbook ./experiments/chaos/kubernetes/container_kill/test.yml -i /etc/ansible/hosts
|
||||||
|
-vv; exit 0
|
||||||
|
command:
|
||||||
|
- /bin/bash
|
||||||
|
env:
|
||||||
|
- name: ANSIBLE_STDOUT_CALLBACK
|
||||||
|
value: default
|
||||||
|
- name: TARGET_CONTAINER
|
||||||
|
#value: nginx
|
||||||
|
value: front-end
|
||||||
|
- name: KILL_MODE
|
||||||
|
value: ""
|
||||||
|
- name: LIB
|
||||||
|
value: ""
|
||||||
|
image: ""
|
||||||
|
labels:
|
||||||
|
name: container-kill
|
||||||
|
litmusbook: /experiments/chaos/kubernetes/container_kill/run_litmus_test.yml
|
||||||
|
---
|
31
charts/openebs/experiments/openebs_all_exp_crd.yaml
Normal file
31
charts/openebs/experiments/openebs_all_exp_crd.yaml
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
---
|
||||||
|
apiVersion: litmuschaos.io/v1alpha1
|
||||||
|
description:
|
||||||
|
message: |
|
||||||
|
Deletes a pod belonging to a deployment/statefulset/daemonset
|
||||||
|
kind: ChaosExperiment
|
||||||
|
metadata:
|
||||||
|
name: kubernetes-state-pod-delete-v0.1.0
|
||||||
|
version: v0.1.0
|
||||||
|
spec:
|
||||||
|
definition:
|
||||||
|
args:
|
||||||
|
- -c
|
||||||
|
- ansible-playbook ./experiments/chaos/kubernetes/pod_delete/test.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: ""
|
||||||
|
image: ""
|
||||||
|
labels:
|
||||||
|
name: pod-delete
|
||||||
|
litmusbook: /experiments/chaos/kubernetes/pod_delete/run_litmus_test.yml
|
||||||
|
---
|
@@ -8,11 +8,11 @@ metadata:
|
|||||||
createdAt: 2019-08-12T10:28:08Z
|
createdAt: 2019-08-12T10:28:08Z
|
||||||
repository: https://github.com/litmuschaos/community-charts
|
repository: https://github.com/litmuschaos/community-charts
|
||||||
support: https://slack.openebs.io/
|
support: https://slack.openebs.io/
|
||||||
description: Injects generic kubernetes chaos
|
description: Injects generic openebs chaos
|
||||||
spec:
|
spec:
|
||||||
displayName: OpenEBS
|
displayName: OpenEBS
|
||||||
description: >
|
description: >
|
||||||
**OpenEBS** is the most active Container Attached Storage project. OpenEBS enables your DevOps teams to have their own storage policies for every workload and it is truly Kubernetes native and 100% in userspace. Install all will install the following subcharts
|
OpenEBS is the most active Container Attached Storage project. OpenEBS enables your DevOps teams to have their own storage policies for every workload and it is truly Kubernetes native and 100% in userspace. Install all will install the following subcharts
|
||||||
|
|
||||||
**State**
|
**State**
|
||||||
subcharts:
|
subcharts:
|
||||||
|
@@ -12,9 +12,8 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
displayName: OpenEBS
|
displayName: OpenEBS
|
||||||
description: >
|
description: >
|
||||||
**OpenEBS** is the most active Container Attached Storage project. OpenEBS enables your DevOps teams to have their own storage policies for every workload and it is truly Kubernetes native and 100% in userspace. Install all will install the following subcharts
|
OpenEBS is the most active Container Attached Storage project. OpenEBS enables your DevOps teams to have their own storage policies for every workload and it is truly Kubernetes native and 100% in userspace. Install all will install the following subcharts
|
||||||
|
|
||||||
**State**
|
|
||||||
subcharts:
|
subcharts:
|
||||||
- State
|
- State
|
||||||
|
|
||||||
|
@@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
apiVersion: litmuschaos.io/v1alpha1
|
||||||
|
description:
|
||||||
|
message: |
|
||||||
|
Deletes a pod belonging to a deployment/statefulset/daemonset
|
||||||
|
kind: ChaosExperiment
|
||||||
|
metadata:
|
||||||
|
name: kubernetes-state-pod-delete-v0.1.0
|
||||||
|
version: v0.1.0
|
||||||
|
spec:
|
||||||
|
definition:
|
||||||
|
args:
|
||||||
|
- -c
|
||||||
|
- ansible-playbook ./experiments/chaos/kubernetes/pod_delete/test.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: ""
|
||||||
|
image: ""
|
||||||
|
labels:
|
||||||
|
name: pod-delete
|
||||||
|
litmusbook: /experiments/chaos/kubernetes/pod_delete/run_litmus_test.yml
|
@@ -36,4 +36,4 @@ spec:
|
|||||||
mediatype: ""
|
mediatype: ""
|
||||||
experiments:
|
experiments:
|
||||||
- target-pod-delete-exp.yaml
|
- target-pod-delete-exp.yaml
|
||||||
|
chaosexpcrdlink:
|
||||||
|
Reference in New Issue
Block a user