* Chore(ebs-loss): Add EBS Loss By Tag Experiment Signed-off-by: uditgaurav <udit@chaosnative.com>
82 lines
1.8 KiB
YAML
82 lines
1.8 KiB
YAML
apiVersion: litmuschaos.io/v1alpha1
|
|
description:
|
|
message: |
|
|
Detaching an ebs volume from ec2 instance.
|
|
kind: ChaosExperiment
|
|
metadata:
|
|
name: ebs-loss-by-id
|
|
labels:
|
|
name: ebs-loss-by-id
|
|
app.kubernetes.io/part-of: litmus
|
|
app.kubernetes.io/component: chaosexperiment
|
|
app.kubernetes.io/version: latest
|
|
spec:
|
|
definition:
|
|
scope: Cluster
|
|
permissions:
|
|
- apiGroups:
|
|
- ""
|
|
- "batch"
|
|
- "litmuschaos.io"
|
|
resources:
|
|
- "jobs"
|
|
- "pods"
|
|
- "events"
|
|
- "pods/log"
|
|
- "pods/exec"
|
|
- "secrets"
|
|
- "chaosengines"
|
|
- "chaosexperiments"
|
|
- "chaosresults"
|
|
verbs:
|
|
- "create"
|
|
- "list"
|
|
- "get"
|
|
- "patch"
|
|
- "update"
|
|
- "delete"
|
|
image: "litmuschaos/go-runner:latest"
|
|
imagePullPolicy: Always
|
|
args:
|
|
- -c
|
|
- ./experiments -name ebs-loss-by-id
|
|
command:
|
|
- /bin/bash
|
|
env:
|
|
- name: TOTAL_CHAOS_DURATION
|
|
value: '30'
|
|
|
|
- name: CHAOS_INTERVAL
|
|
value: '30'
|
|
|
|
# Period to wait before and after injection of chaos in sec
|
|
- name: RAMP_TIME
|
|
value: ''
|
|
|
|
- name: EBS_VOLUME_ID
|
|
value: ''
|
|
|
|
- name: REGION
|
|
value: ''
|
|
|
|
- name: SEQUENCE
|
|
value: 'parallel'
|
|
|
|
# Provide the path of aws credentials mounted from secret
|
|
- name: AWS_SHARED_CREDENTIALS_FILE
|
|
value: '/tmp/cloud_config.yml'
|
|
|
|
# provide the LIB
|
|
# only litmus supported
|
|
- name: LIB
|
|
value: 'litmus'
|
|
|
|
labels:
|
|
name: ebs-loss-by-id
|
|
app.kubernetes.io/part-of: litmus
|
|
app.kubernetes.io/component: experiment-job
|
|
app.kubernetes.io/version: latest
|
|
secrets:
|
|
- name: cloud-secret
|
|
mountPath: /tmp/
|