(feat): Modify pod-delete experiment CR (#46)

* modify pod-delete experiment CR

Signed-off-by: Udit Gaurav <uditgaurav@gmail.com>
This commit is contained in:
UDIT GAURAV
2019-11-11 17:30:39 +05:30
committed by Chandan Kumar
parent ae6d87ac15
commit 67b9e466ad
2 changed files with 31 additions and 5 deletions

View File

@@ -5,9 +5,27 @@ description:
kind: ChaosExperiment kind: ChaosExperiment
metadata: metadata:
name: pod-delete name: pod-delete
version: 0.1.1 version: 0.1.3
spec: spec:
definition: definition:
permissions:
apiGroups:
- ""
- "extensions"
- "apps"
- "batch"
- "litmuschaos.io"
resources:
- "daemonsets"
- "deployments"
- "statefulsets"
- "jobs"
- "pods"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "*"
image: "litmuschaos/ansible-runner:ci" image: "litmuschaos/ansible-runner:ci"
args: args:
- -c - -c
@@ -15,13 +33,18 @@ spec:
command: command:
- /bin/bash - /bin/bash
env: env:
- name: ANSIBLE_STDOUT_CALLBACK - name: ANSIBLE_STDOUT_CALLBACK
value: default value: 'default'
- name: TOTAL_CHAOS_DURATION - name: TOTAL_CHAOS_DURATION
value: 15 value: '15'
- name: CHAOS_INTERVAL - name: CHAOS_INTERVAL
value: 5 value: '5'
- name: LIB - name: LIB
value: "" value: ''
labels: labels:
name: pod-delete name: pod-delete

View File

@@ -19,6 +19,9 @@ spec:
keywords: keywords:
- Kubernetes - Kubernetes
- State - State
platforms:
- GKE
- OpenShift
maturity: alpha maturity: alpha
maintainers: maintainers:
- name: ksatchit - name: ksatchit