Skip to content

Commit

Permalink
5319997181: version upgraded for chaos-charts
Browse files Browse the repository at this point in the history
  • Loading branch information
litmusbot committed Jun 20, 2023
1 parent 942ecf2 commit 74d86a2
Show file tree
Hide file tree
Showing 6 changed files with 1,337 additions and 1,337 deletions.
52 changes: 26 additions & 26 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-beta8
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-beta8
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-beta8
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 @@ -181,14 +185,14 @@ spec:

- name: CHAOS_INTERVAL
value: '60'

# Period to wait before and after injection of chaos in sec
- 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-beta8
Expand Down
70 changes: 35 additions & 35 deletions charts/azure/experiments.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Detaches disk from the VM and then re-attaches disk to the VM
Terminating azure VM instance
kind: ChaosExperiment
metadata:
name: azure-disk-loss
name: azure-instance-stop
labels:
name: azure-disk-loss
name: azure-instance-stop
app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: chaosexperiment
app.kubernetes.io/version: 3.0.0-beta8
Expand Down Expand Up @@ -46,61 +46,60 @@ spec:
imagePullPolicy: Always
args:
- -c
- ./experiments -name azure-disk-loss
- ./experiments -name azure-instance-stop
command:
- /bin/bash
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 target instance name(s) (comma separated if multiple)
- name: AZURE_INSTANCE_NAMES
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

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

- name: SEQUENCE
value: 'parallel'

labels:
name: azure-disk-loss
name: azure-instance-stop
app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: experiment-job
app.kubernetes.io/version: 3.0.0-beta8

secrets:
- name: cloud-secret
mountPath: /tmp/


---
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Terminating azure VM instance
Detaches disk from the VM and then re-attaches disk to the VM
kind: ChaosExperiment
metadata:
name: azure-instance-stop
name: azure-disk-loss
labels:
name: azure-instance-stop
name: azure-disk-loss
app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: chaosexperiment
app.kubernetes.io/version: 3.0.0-beta8
Expand Down Expand Up @@ -140,48 +139,49 @@ spec:
imagePullPolicy: Always
args:
- -c
- ./experiments -name azure-instance-stop
- ./experiments -name azure-disk-loss
command:
- /bin/bash
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 target instance name(s) (comma separated if multiple)
- name: AZURE_INSTANCE_NAMES
value: ''


# 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 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'

- name: SEQUENCE
value: 'parallel'

labels:
name: azure-instance-stop
name: azure-disk-loss
app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: experiment-job
app.kubernetes.io/version: 3.0.0-beta8

secrets:
- name: cloud-secret
mountPath: /tmp/


---
Loading

0 comments on commit 74d86a2

Please sign in to comment.