Skip to content

Commit

Permalink
1492: version upgraded for chaos-charts
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis CI committed Oct 28, 2020
1 parent 24e03a0 commit 3651278
Show file tree
Hide file tree
Showing 2 changed files with 155 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/generic/experiments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,10 @@ spec:
- name: REPLICA_COUNT
value: '5'

# provide volume mount path
- name: VOLUME_MOUNT_PATH
value: ''

# PROVIDE THE LIB HERE
# ONLY LITMUS SUPPORTED
- name: LIB
Expand Down
151 changes: 151 additions & 0 deletions charts/kube-aws/experiments.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,77 @@
---

apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Detaching an ebs volume from ec2 instance.
kind: ChaosExperiment
metadata:
name: ec2-terminate
labels:
name: ec2-terminate
app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: chaosexperiment
app.kubernetes.io/version: 1.9.1
spec:
definition:
scope: Cluster
permissions:
- apiGroups:
- ""
- "batch"
- "litmuschaos.io"
resources:
- "jobs"
- "pods"
- "events"
- "pods/log"
- "secrets"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
image: "litmuschaos/go-runner:1.9.1"
imagePullPolicy: Always
args:
- -c
- ./experiments -name ec2-terminate
command:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '60'

# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''

- name: EC2_INSTANCE_ID
value: ''

- name: REGION
value: ''

# provide the LIB
# only litmus supported
- name: LIB
value: 'litmus'

labels:
name: ec2-terminate
app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: experiment-job
app.kubernetes.io/version: 1.9.1
secrets:
- name: cloud-secret
mountPath: /tmp/
---

apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Expand Down Expand Up @@ -115,3 +187,82 @@ spec:

---

apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Detaching an ebs volume from ec2 instance.
kind: ChaosExperiment
metadata:
name: ebs-loss
labels:
name: ebs-loss
app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: chaosexperiment
app.kubernetes.io/version: 1.9.1
spec:
definition:
scope: Cluster
permissions:
- apiGroups:
- ""
- "batch"
- "litmuschaos.io"
resources:
- "jobs"
- "pods"
- "events"
- "pods/log"
- "secrets"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
image: "litmuschaos/go-runner:1.9.1"
imagePullPolicy: Always
args:
- -c
- ./experiments -name ebs-loss
command:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '60'

# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''

- name: EC2_INSTANCE_ID
value: ''

- name: EBS_VOL_ID
value: ''

- name: REGION
value: ''

# provide the LIB
# only litmus supported
- name: LIB
value: 'litmus'

- name: DEVICE_NAME
value: ''

labels:
name: ebs-loss
app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: experiment-job
app.kubernetes.io/version: 1.9.1
secrets:
- name: cloud-secret
mountPath: /tmp/

---

0 comments on commit 3651278

Please sign in to comment.