* add disk loss chaos experiment for aws and gcp to chart hub Signed-off-by: Raj <mail.rajdas@gmail.com>
40 lines
873 B
YAML
40 lines
873 B
YAML
apiVersion: litmuschaos.io/v1alpha1
|
|
description:
|
|
message: |
|
|
Detaching a persistent disk from a node/instance. Supports only for AWS and GCP
|
|
kind: ChaosExperiment
|
|
metadata:
|
|
name: disk-loss
|
|
version: 0.1.0
|
|
spec:
|
|
permissions:
|
|
apiGroups:
|
|
- ""
|
|
- "apps"
|
|
- "batch"
|
|
- "litmuschaos.io"
|
|
resources:
|
|
- "deployments"
|
|
- "statefulsets"
|
|
- "jobs"
|
|
- "pods"
|
|
- "chaosengines"
|
|
- "chaosexperiments"
|
|
- "chaosresults"
|
|
verbs:
|
|
- "*"
|
|
definition:
|
|
image: "litmuschaos/ansible-runner:ci"
|
|
args:
|
|
- -c
|
|
- ansible-playbook ./experiments/generic/disk_loss/disk_loss_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
|
|
command:
|
|
- /bin/bash
|
|
env:
|
|
- name: ANSIBLE_STDOUT_CALLBACK
|
|
value: default
|
|
- name: TOTAL_CHAOS_DURATION
|
|
value: 15
|
|
labels:
|
|
name: disk-loss
|