Files
litmus-hub/charts/generic/disk-fill/experiment.yml
2019-11-11 19:55:40 +05:30

54 lines
1.0 KiB
YAML

apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Fillup Ephemeral Storage of a Resource
kind: ChaosExperiment
metadata:
name: disk-fill
version: 0.0.1
spec:
definition:
permissions:
apiGroups:
- ""
- "extensions"
- "apps"
- "batch"
- "litmuschaos.io"
resources:
- "daemonsets"
- "statefulsets"
- "deployments"
- "jobs"
- "pods"
- "pods/exec"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "*"
image: "litmuschaos/ansible-runner:ci"
args:
- -c
- ansible-playbook ./experiments/generic/disk_fill/disk_fill_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TARGET_CONTAINER
value: ''
- name: FILL_PERCENTAGE
value: ''
- name: TOTAL_CHAOS_DURATION
value: '60'
labels:
name: disk-fill