845067512: version upgraded for chaos-charts

This commit is contained in:
litmusbot
2021-05-15 14:27:24 +00:00
parent a9c07c7fd6
commit a3b9118972

View File

@@ -167,6 +167,9 @@ spec:
- name: RAMP_TIME - name: RAMP_TIME
value: '' value: ''
- name: INSTANCE_TAG
value: ''
# enable it if the target instance is a part of self-managed nodegroup. # enable it if the target instance is a part of self-managed nodegroup.
- name: MANAGED_NODEGROUP - name: MANAGED_NODEGROUP
value: 'disable' value: 'disable'
@@ -206,9 +209,9 @@ description:
Detaching an ebs volume from ec2 instance. Detaching an ebs volume from ec2 instance.
kind: ChaosExperiment kind: ChaosExperiment
metadata: metadata:
name: ebs-loss name: ebs-loss-by-tag
labels: labels:
name: ebs-loss name: ebs-loss-by-tag
app.kubernetes.io/part-of: litmus app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: chaosexperiment app.kubernetes.io/component: chaosexperiment
app.kubernetes.io/version: latest app.kubernetes.io/version: latest
@@ -241,26 +244,31 @@ spec:
imagePullPolicy: Always imagePullPolicy: Always
args: args:
- -c - -c
- ./experiments -name ebs-loss - ./experiments -name ebs-loss-by-tag
command: command:
- /bin/bash - /bin/bash
env: env:
- name: TOTAL_CHAOS_DURATION - name: TOTAL_CHAOS_DURATION
value: '60' value: '30'
- name: CHAOS_INTERVAL
value: '30'
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME - name: RAMP_TIME
value: '' value: ''
- name: EC2_INSTANCE_ID - name: EBS_VOLUME_TAG
value: ''
- name: EBS_VOL_ID
value: '' value: ''
- name: REGION - name: REGION
value: '' value: ''
- name: SEQUENCE
value: 'parallel'
- name: VOLUME_AFFECTED_PERC
value: ''
# Provide the path of aws credentials mounted from secret # Provide the path of aws credentials mounted from secret
- name: AWS_SHARED_CREDENTIALS_FILE - name: AWS_SHARED_CREDENTIALS_FILE
value: '/tmp/cloud_config.yml' value: '/tmp/cloud_config.yml'
@@ -270,11 +278,91 @@ spec:
- name: LIB - name: LIB
value: 'litmus' value: 'litmus'
- name: DEVICE_NAME labels:
value: '' name: ebs-loss-by-tag
app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: experiment-job
app.kubernetes.io/version: latest
secrets:
- name: cloud-secret
mountPath: /tmp/
---
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: labels:
name: ebs-loss name: ebs-loss-by-id
app.kubernetes.io/part-of: litmus app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: experiment-job app.kubernetes.io/component: experiment-job
app.kubernetes.io/version: latest app.kubernetes.io/version: latest