Skip to content

Commit

Permalink
6197068882: version upgraded for chaos-charts
Browse files Browse the repository at this point in the history
  • Loading branch information
litmusbot committed Sep 15, 2023
1 parent b4de62a commit 196f342
Show file tree
Hide file tree
Showing 7 changed files with 1,640 additions and 1,640 deletions.
74 changes: 37 additions & 37 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-beta11
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 @@ -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 @@ -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-beta11
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-beta11
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-beta11
Expand Down
18 changes: 9 additions & 9 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-beta11

secrets:
- name: cloud-secret
mountPath: /tmp/
Expand Down
Loading

0 comments on commit 196f342

Please sign in to comment.