Skip to content

Commit

Permalink
5599032730: version upgraded for chaos-charts
Browse files Browse the repository at this point in the history
  • Loading branch information
litmusbot committed Jul 19, 2023
1 parent 6a69d79 commit a332bcc
Show file tree
Hide file tree
Showing 7 changed files with 1,438 additions and 1,438 deletions.
44 changes: 22 additions & 22 deletions charts/aws-ssm/experiments.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Execute AWS SSM Chaos on given ec2 instance IDs
Execute AWS SSM Chaos on given ec2 instance Tag
kind: ChaosExperiment
metadata:
name: aws-ssm-chaos-by-id
name: aws-ssm-chaos-by-tag
labels:
name: aws-ssm-chaos-by-id
name: aws-ssm-chaos-by-tag
app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: chaosexperiment
app.kubernetes.io/version: 3.0.0-beta9
Expand Down Expand Up @@ -46,7 +46,7 @@ spec:
imagePullPolicy: Always
args:
- -c
- ./experiments -name aws-ssm-chaos-by-id
- ./experiments -name aws-ssm-chaos-by-tag
command:
- /bin/bash
env:
Expand All @@ -60,9 +60,9 @@ spec:
- name: RAMP_TIME
value: ''

# Instance ID of the target ec2 instance
# Multiple IDs can also be provided as comma separated values ex: id1,id2
- name: EC2_INSTANCE_ID
# provide tag of the target ec2 instances
# ex: team:devops (key:value)
- name: EC2_INSTANCE_TAG
value: ''

- name: REGION
Expand All @@ -77,6 +77,10 @@ spec:
- name: AWS_SHARED_CREDENTIALS_FILE
value: '/tmp/cloud_config.yml'

# percentage of total instance to target
- name: INSTANCE_AFFECTED_PERC
value: ''

# Provide the name of ssm doc
# if not using the default stress docs
- name: DOCUMENT_NAME
Expand Down Expand Up @@ -109,13 +113,13 @@ spec:
- name: MEMORY_PERCENTAGE
value: '80'

# provide the CPU chores to be comsumed
# provide the CPU chores to comsumed
# 0 will consume all the available cpu cores
- name: CPU_CORE
value: '0'

labels:
name: aws-ssm-chaos-by-id
name: aws-ssm-chaos-by-tag
app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: experiment-job
app.kubernetes.io/version: 3.0.0-beta9
Expand All @@ -127,12 +131,12 @@ spec:
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Execute AWS SSM Chaos on given ec2 instance Tag
Execute AWS SSM Chaos on given ec2 instance IDs
kind: ChaosExperiment
metadata:
name: aws-ssm-chaos-by-tag
name: aws-ssm-chaos-by-id
labels:
name: aws-ssm-chaos-by-tag
name: aws-ssm-chaos-by-id
app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: chaosexperiment
app.kubernetes.io/version: 3.0.0-beta9
Expand Down Expand Up @@ -172,7 +176,7 @@ spec:
imagePullPolicy: Always
args:
- -c
- ./experiments -name aws-ssm-chaos-by-tag
- ./experiments -name aws-ssm-chaos-by-id
command:
- /bin/bash
env:
Expand All @@ -186,9 +190,9 @@ spec:
- name: RAMP_TIME
value: ''

# provide tag of the target ec2 instances
# ex: team:devops (key:value)
- name: EC2_INSTANCE_TAG
# 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 @@ -203,10 +207,6 @@ spec:
- name: AWS_SHARED_CREDENTIALS_FILE
value: '/tmp/cloud_config.yml'

# percentage of total instance to target
- name: INSTANCE_AFFECTED_PERC
value: ''

# Provide the name of ssm doc
# if not using the default stress docs
- name: DOCUMENT_NAME
Expand Down Expand Up @@ -239,13 +239,13 @@ spec:
- name: MEMORY_PERCENTAGE
value: '80'

# provide the CPU chores to comsumed
# provide the CPU chores to be comsumed
# 0 will consume all the available cpu cores
- name: CPU_CORE
value: '0'

labels:
name: aws-ssm-chaos-by-tag
name: aws-ssm-chaos-by-id
app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: experiment-job
app.kubernetes.io/version: 3.0.0-beta9
Expand Down
30 changes: 15 additions & 15 deletions charts/azure/experiments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ spec:
- apiGroups: [""]
resources: ["secrets","configmaps"]
verbs: ["get","list",]
# Track and get the runner, experiment, and helper pods log
# Track and get the runner, experiment, and helper pods log
- apiGroups: [""]
resources: ["pods/log"]
verbs: ["get","list","watch"]
verbs: ["get","list","watch"]
# for creating and managing to execute comands inside target container
- apiGroups: [""]
resources: ["pods/exec"]
Expand All @@ -52,31 +52,31 @@ spec:
env:

- name: TOTAL_CHAOS_DURATION
value: '30'
value: '30'

- name: CHAOS_INTERVAL
value: '30'

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

# provide the resource group of the instance
- name: RESOURCE_GROUP
value: ''

# accepts enable/disable, default is disable
- name: SCALE_SET
value: ''

# provide the virtual disk names (comma separated if multiple)
- name: VIRTUAL_DISK_NAMES
value: ''

# provide the sequence type for the run. Options: serial/parallel
- name: SEQUENCE
value: 'parallel'

# provide the path to aks credentials mounted from secret
- name: AZURE_AUTH_LOCATION
value: '/tmp/azure.auth'
Expand All @@ -86,7 +86,7 @@ spec:
app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: experiment-job
app.kubernetes.io/version: 3.0.0-beta9

secrets:
- name: cloud-secret
mountPath: /tmp/
Expand Down Expand Up @@ -120,10 +120,10 @@ spec:
- apiGroups: [""]
resources: ["secrets","configmaps"]
verbs: ["get","list",]
# Track and get the runner, experiment, and helper pods log
# Track and get the runner, experiment, and helper pods log
- apiGroups: [""]
resources: ["pods/log"]
verbs: ["get","list","watch"]
verbs: ["get","list","watch"]
# for creating and managing to execute comands inside target container
- apiGroups: [""]
resources: ["pods/exec"]
Expand Down Expand Up @@ -162,18 +162,18 @@ spec:
# provide the resource group of the instance
- name: RESOURCE_GROUP
value: ''

# accepts enable/disable, default is disable
- name: SCALE_SET
value: ''

# Provide the path of aks credentials mounted from secret
# Provide the path of aks credentials mounted from secret
- name: AZURE_AUTH_LOCATION
value: '/tmp/azure.auth'

- name: SEQUENCE
value: 'parallel'

value: 'parallel'
labels:
name: azure-instance-stop
app.kubernetes.io/part-of: litmus
Expand Down
Loading

0 comments on commit a332bcc

Please sign in to comment.