1211: version upgraded for chaos-charts
This commit is contained in:
@@ -1145,6 +1145,81 @@ spec:
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
apiVersion: litmuschaos.io/v1alpha1
|
||||||
|
description:
|
||||||
|
message: |
|
||||||
|
Deletes a pod belonging to a deployment/statefulset/daemonset
|
||||||
|
kind: ChaosExperiment
|
||||||
|
metadata:
|
||||||
|
name: k8-pod-delete
|
||||||
|
version: 0.0.4
|
||||||
|
spec:
|
||||||
|
definition:
|
||||||
|
scope: Namespaced
|
||||||
|
permissions:
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
- "apps"
|
||||||
|
- "batch"
|
||||||
|
- "litmuschaos.io"
|
||||||
|
resources:
|
||||||
|
- "deployments"
|
||||||
|
- "jobs"
|
||||||
|
- "pods"
|
||||||
|
- "configmaps"
|
||||||
|
- "chaosengines"
|
||||||
|
- "chaosexperiments"
|
||||||
|
- "chaosresults"
|
||||||
|
verbs:
|
||||||
|
- "create"
|
||||||
|
- "list"
|
||||||
|
- "get"
|
||||||
|
- "patch"
|
||||||
|
- "update"
|
||||||
|
- "delete"
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- "nodes"
|
||||||
|
verbs :
|
||||||
|
- "get"
|
||||||
|
- "list"
|
||||||
|
image: "litmuschaos/chaostoolkit:latest"
|
||||||
|
args:
|
||||||
|
- -c
|
||||||
|
- python /app/chaos/chaostest/kubernetes/k8_wrapper.py; exit 0
|
||||||
|
command:
|
||||||
|
- /bin/bash
|
||||||
|
env:
|
||||||
|
- name: CHAOSTOOLKIT_IN_POD
|
||||||
|
value: 'true'
|
||||||
|
|
||||||
|
- name: FILE
|
||||||
|
value: 'pod-app-kill-count.json'
|
||||||
|
|
||||||
|
- name: NAME_SPACE
|
||||||
|
value: ''
|
||||||
|
|
||||||
|
- name: LABEL_NAME
|
||||||
|
value: ''
|
||||||
|
|
||||||
|
- name: APP_ENDPOINT
|
||||||
|
value: ''
|
||||||
|
|
||||||
|
- name: PERCENTAGE
|
||||||
|
value: '50'
|
||||||
|
|
||||||
|
- name: REPORT
|
||||||
|
value: 'true'
|
||||||
|
|
||||||
|
- name: REPORT_ENDPOINT
|
||||||
|
value: 'none'
|
||||||
|
|
||||||
|
labels:
|
||||||
|
name: k8-pod-delete
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
apiVersion: litmuschaos.io/v1alpha1
|
apiVersion: litmuschaos.io/v1alpha1
|
||||||
description:
|
description:
|
||||||
message: "Kills a container belonging to an application pod \n"
|
message: "Kills a container belonging to an application pod \n"
|
||||||
|
Reference in New Issue
Block a user