Skip to content

Commit

Permalink
6403752352: version upgraded for chaos-charts
Browse files Browse the repository at this point in the history
  • Loading branch information
litmusbot committed Oct 4, 2023
1 parent 19a05d9 commit 6d0fb71
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions faults/aws/experiments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Stopping an EC2 instance identified by ID.
Detaching an EBS volume from EC2 instance for a certain chaos duration.
kind: ChaosExperiment
metadata:
name: ec2-stop-by-id
name: ebs-loss-by-id
labels:
name: ec2-stop-by-id
name: ebs-loss-by-id
app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: chaosexperiment
app.kubernetes.io/version: ci
Expand Down Expand Up @@ -52,15 +52,11 @@ spec:
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
verbs: ["create", "list", "get", "patch", "update", "delete"]
# for experiment to perform node status checks
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "list"]
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
- ./experiments -name ec2-terminate-by-id
- ./experiments -name ebs-loss-by-id
command:
- /bin/bash
env:
Expand All @@ -74,16 +70,7 @@ spec:
- name: RAMP_TIME
value: ""

- name: DEFAULT_HEALTH_CHECK
value: "false"

# enable it if the target instance is a part of self-managed nodegroup.
- name: MANAGED_NODEGROUP
value: "disable"

# Instance ID of the target EC2 instance
# Multiple IDs can also be provided as comma separated values ex: id1,id2
- name: EC2_INSTANCE_ID
- name: EBS_VOLUME_ID
value: ""

- name: REGION
Expand All @@ -92,12 +79,15 @@ spec:
- name: SEQUENCE
value: "parallel"

- name: DEFAULT_HEALTH_CHECK
value: "false"

# Provide the path of AWS credentials mounted from secret
- name: AWS_SHARED_CREDENTIALS_FILE
value: "/tmp/cloud_config.yml"

labels:
name: ec2-stop-by-id
name: ebs-loss-by-id
app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: experiment-job
app.kubernetes.io/version: ci
Expand All @@ -110,12 +100,12 @@ spec:
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Detaching an EBS volume from EC2 instance for a certain chaos duration.
Stopping an EC2 instance identified by ID.
kind: ChaosExperiment
metadata:
name: ebs-loss-by-id
name: ec2-stop-by-id
labels:
name: ebs-loss-by-id
name: ec2-stop-by-id
app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: chaosexperiment
app.kubernetes.io/version: ci
Expand Down Expand Up @@ -160,11 +150,15 @@ spec:
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
verbs: ["create", "list", "get", "patch", "update", "delete"]
# for experiment to perform node status checks
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "list"]
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
- ./experiments -name ebs-loss-by-id
- ./experiments -name ec2-terminate-by-id
command:
- /bin/bash
env:
Expand All @@ -178,7 +172,16 @@ spec:
- name: RAMP_TIME
value: ""

- name: EBS_VOLUME_ID
- name: DEFAULT_HEALTH_CHECK
value: "false"

# enable it if the target instance is a part of self-managed nodegroup.
- name: MANAGED_NODEGROUP
value: "disable"

# Instance ID of the target EC2 instance
# Multiple IDs can also be provided as comma separated values ex: id1,id2
- name: EC2_INSTANCE_ID
value: ""

- name: REGION
Expand All @@ -187,15 +190,12 @@ spec:
- name: SEQUENCE
value: "parallel"

- name: DEFAULT_HEALTH_CHECK
value: "false"

# Provide the path of AWS credentials mounted from secret
- name: AWS_SHARED_CREDENTIALS_FILE
value: "/tmp/cloud_config.yml"

labels:
name: ebs-loss-by-id
name: ec2-stop-by-id
app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: experiment-job
app.kubernetes.io/version: ci
Expand Down

0 comments on commit 6d0fb71

Please sign in to comment.