From 5950a2d11e91a2097b6bf2f31ae7d6ca10469779 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Sat, 15 Aug 2020 18:20:14 +0000 Subject: [PATCH] 1211: version upgraded for chaos-charts --- charts/generic/experiments.yaml | 75 +++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/charts/generic/experiments.yaml b/charts/generic/experiments.yaml index b3ea688..899cf2e 100644 --- a/charts/generic/experiments.yaml +++ b/charts/generic/experiments.yaml @@ -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 description: message: "Kills a container belonging to an application pod \n"