Skip to content

Instantly share code, notes, and snippets.

@ksatchit
Created May 22, 2019 14:03
Show Gist options
  • Save ksatchit/cc552a2905a175899cadba4211639d79 to your computer and use it in GitHub Desktop.
Save ksatchit/cc552a2905a175899cadba4211639d79 to your computer and use it in GitHub Desktop.
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Deletes a pod belonging to a deployment/statefulset/daemonset
kind: ChaosExperiment
metadata:
labels:
helm.sh/chart: k8sChaos-0.1.0
litmuschaos.io/instance: dealing-butterfly
litmuschaos.io/name: k8sChaos
name: pod-delete
spec:
definition:
image: openebs/ansible-runner:ci
litmusbook: /experiments/chaos/kubernetes/pod_delete/run_litmus_test.yml
labels:
name: pod-delete
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: null
- name: TOTAL_CHAOS_DURATION
value: 15
- name: CHAOS_INTERVAL
value: 5
- name: LIB
value: ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment