move(k8s-pod-delete): moving k8s-pod-delete to generic category (#291)

Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
This commit is contained in:
Shubham Chaudhary
2020-08-15 23:49:16 +05:30
committed by GitHub
parent 0ebcb6ad81
commit 9847a5d13d
22 changed files with 6 additions and 115 deletions

View File

@@ -1,31 +0,0 @@
apiVersion: litmuchaos.io/v1alpha1
kind: ChartServiceVersion
metadata:
createdAt: 2020-02-24T10:28:08Z
name: Kubernetes
version: 0.0.7
annotations:
categories: Kubernetes
chartDescription: Injects chaostoolkit chaos
spec:
displayName: Kubernetes Chaos
categoryDescription:
experiments:
- k8-pod-delete
keywords:
- Kubernetes
- pod
- State
maintainers:
- name: sumit
email: sumit_nagal@intuit.com
minKubeVersion: 1.12.0
provider:
name: Intuit
links:
- name: Source Code
url: https://github.com/litmuschaos/litmus/tree/master/experiments/chaostoolkit/kubernetes
icon:
- url: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/chaostoolkit/icons/k8-pod-delete.png
mediatype: image/png
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/chaostoolkit/experiments.yaml

View File

@@ -1,5 +0,0 @@
packageName: chaostoolkit
experiments:
- name: k8-pod-delete
CSV: k8-pod-delete.chartserviceversion.yaml
desc: "chaostoolkit pod delete experiment"

View File

@@ -1,77 +0,0 @@
---
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
---

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

View File

@@ -30,6 +30,7 @@ spec:
- node-taint - node-taint
- docker-service-kill - docker-service-kill
- pod-autoscaler - pod-autoscaler
- k8-pod-delete
keywords: keywords:
- Kubernetes - Kubernetes

View File

@@ -51,3 +51,6 @@ experiments:
- name: pod-autoscaler - name: pod-autoscaler
CSV: pod-autoscaler.chartserviceversion.yaml CSV: pod-autoscaler.chartserviceversion.yaml
desc: "pod-autoscaler" desc: "pod-autoscaler"
- name: k8-pod-delete
CSV: k8-pod-delete.chartserviceversion.yaml
desc: "k8-pod-delete"

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@@ -26,8 +26,8 @@ spec:
name: Intuit name: Intuit
links: links:
- name: Source Code - name: Source Code
url: https://github.com/litmuschaos/litmus/tree/master/experiments/chaostoolkit/kubernetes/pod-delete url: https://github.com/litmuschaos/litmus-python/tree/master/chaos-test
icon: icon:
- url: - url:
mediatype: "" mediatype: ""
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/chaostoolkit/k8-pod-delete/experiment.yaml chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/generic/k8-pod-delete/experiment.yaml