Skip to content

Commit

Permalink
5878797577: version upgraded for chaos-charts
Browse files Browse the repository at this point in the history
  • Loading branch information
litmusbot committed Aug 16, 2023
1 parent 76f8dac commit de5177c
Show file tree
Hide file tree
Showing 5 changed files with 1,422 additions and 1,422 deletions.
98 changes: 49 additions & 49 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-beta10
Expand All @@ -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 @@ -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 @@ -55,14 +55,14 @@ spec:

- name: CHAOS_INTERVAL
value: '60'

# Period to wait before and after injection of chaos in sec
- 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 @@ -73,33 +73,37 @@ spec:
- name: SEQUENCE
value: 'parallel'

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

# Provide the name of ssm doc
# if not using the default stress docs
# 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
value: ''

# Provide the type of ssm doc
# if not using the default stress docs
# Provide the type of ssm doc
# if not using the default stress docs
- name: DOCUMENT_TYPE
value: ''

# Provide the format of ssm doc
# if not using the default stress docs
# if not using the default stress docs
- name: DOCUMENT_FORMAT
value: ''

# Provide the path of ssm doc
# if not using the default stress docs
# Provide the path of ssm doc
# if not using the default stress docs
- name: DOCUMENT_PATH
value: ''

# if you want to install dependencies to run default ssm docs
- name: INSTALL_DEPENDENCIES
value: 'True'
value: 'True'

# provide the number of workers for memory stress
- name: NUMBER_OF_WORKERS
Expand All @@ -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-beta10
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-beta10
Expand All @@ -152,10 +156,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 @@ -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 @@ -199,37 +203,33 @@ spec:
- name: SEQUENCE
value: 'parallel'

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

# percentage of total instance to target
- name: INSTANCE_AFFECTED_PERC
value: ''
value: '/tmp/cloud_config.yml'

# Provide the name of ssm doc
# if not using the default stress docs
# Provide the name of ssm doc
# if not using the default stress docs
- name: DOCUMENT_NAME
value: ''

# Provide the type of ssm doc
# if not using the default stress docs
# Provide the type of ssm doc
# if not using the default stress docs
- name: DOCUMENT_TYPE
value: ''

# Provide the format of ssm doc
# if not using the default stress docs
# if not using the default stress docs
- name: DOCUMENT_FORMAT
value: ''

# Provide the path of ssm doc
# if not using the default stress docs
# Provide the path of ssm doc
# if not using the default stress docs
- name: DOCUMENT_PATH
value: ''

# if you want to install dependencies to run default ssm docs
- name: INSTALL_DEPENDENCIES
value: 'True'
value: 'True'

# provide the number of workers for memory stress
- name: NUMBER_OF_WORKERS
Expand All @@ -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-beta10
Expand Down
Loading

0 comments on commit de5177c

Please sign in to comment.