Skip to content

Commit

Permalink
2165995170: version upgraded for chaos-charts
Browse files Browse the repository at this point in the history
  • Loading branch information
litmusbot committed Apr 14, 2022
1 parent 7b07fa6 commit 238784b
Show file tree
Hide file tree
Showing 6 changed files with 1,582 additions and 1,582 deletions.
48 changes: 24 additions & 24 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 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: latest
Expand Down Expand Up @@ -46,7 +46,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 @@ -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: ''

# 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 @@ -77,10 +77,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 @@ -113,7 +109,7 @@ 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'
Expand All @@ -124,7 +120,7 @@ spec:
value: 'litmus'

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: latest
Expand All @@ -136,12 +132,12 @@ spec:
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: latest
Expand Down Expand Up @@ -181,7 +177,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 @@ -190,14 +186,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 @@ -212,6 +208,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 @@ -244,7 +244,7 @@ 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'
Expand All @@ -255,7 +255,7 @@ spec:
value: 'litmus'

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: latest
Expand Down
86 changes: 43 additions & 43 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: |
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: latest
Expand Down Expand Up @@ -46,65 +46,64 @@ 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'

- name: LIB
value: 'litmus'

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

# provide the LIB
# only litmus supported
- name: LIB
value: 'litmus'

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: latest

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


---
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: latest
Expand Down Expand Up @@ -144,52 +143,53 @@ 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'

- name: LIB
value: 'litmus'

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

# provide the LIB
# only litmus supported
- name: LIB
value: 'litmus'

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: latest

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


---
Loading

0 comments on commit 238784b

Please sign in to comment.