updated the tags to latest

Signed-off-by: Saranya-jena <saranya.jena@harness.io>
This commit is contained in:
Saranya-jena
2023-09-22 13:58:05 +05:30
parent 123e7450ef
commit 26c87550d7
61 changed files with 1111 additions and 670 deletions

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -43,7 +52,7 @@ spec:
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
verbs: ["create", "list", "get", "patch", "update", "delete"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -52,71 +61,71 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '60'
value: "60"
- name: CHAOS_INTERVAL
value: '60'
value: "60"
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
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
value: ''
value: ""
- name: REGION
value: ''
value: ""
# it defines the sequence of chaos execution for multiple target instances
# supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
# 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 number of workers for memory stress
- name: NUMBER_OF_WORKERS
value: '1'
value: "1"
# provide the percentage of available memory to stress
- name: MEMORY_PERCENTAGE
value: '80'
value: "80"
# provide the CPU chores to be consumed
# 0 will consume all the available CPU cores
- name: CPU_CORE
value: '0'
value: "0"
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
# Provide the name of SSM doc
# if not using the default stress docs
- name: DOCUMENT_NAME
value: 'LitmusChaos-AWS-SSM-Doc'
value: "LitmusChaos-AWS-SSM-Doc"
# Provide the type of SSM doc
# if not using the default stress docs
- name: DOCUMENT_TYPE
value: 'Command'
value: "Command"
# Provide the format of SSM doc
# if not using the default stress docs
- name: DOCUMENT_FORMAT
value: 'YAML'
value: "YAML"
# Provide the path of SSM doc
# if not using the default stress docs
- name: DOCUMENT_PATH
value: 'Litmus-AWS-SSM-Docs-For-EC2-CPU-Hog.yml'
value: "Litmus-AWS-SSM-Docs-For-EC2-CPU-Hog.yml"
# if you want to install dependencies to run default SSM docs
- name: INSTALL_DEPENDENCIES
value: 'True'
value: "True"
labels:
name: aws-ssm-chaos-by-id

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -43,7 +52,7 @@ spec:
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
verbs: ["create", "list", "get", "patch", "update", "delete"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -52,75 +61,75 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '60'
value: "60"
- name: CHAOS_INTERVAL
value: '60'
value: "60"
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
# provide tag of the target EC2 instances
# ex: team:devops (key:value)
- name: EC2_INSTANCE_TAG
value: ''
value: ""
- name: REGION
value: ''
value: ""
# it defines the sequence of chaos execution for multiple target instances
# supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
# Provide the path of AWS credentials mounted from secret
- name: AWS_SHARED_CREDENTIALS_FILE
value: '/tmp/cloud_config.yml'
value: "/tmp/cloud_config.yml"
# percentage of total instance to target
- name: INSTANCE_AFFECTED_PERC
value: ''
value: ""
# provide the number of workers for memory stress
- name: NUMBER_OF_WORKERS
value: '1'
value: "1"
# provide the percentage of available memory to stress
- name: MEMORY_PERCENTAGE
value: '80'
value: "80"
# provide the CPU chores to comsumed
# 0 will consume all the available CPU cores
- name: CPU_CORE
value: '0'
value: "0"
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
# Provide the name of SSM doc
# if not using the default stress docs
- name: DOCUMENT_NAME
value: 'LitmusChaos-AWS-SSM-Doc'
value: "LitmusChaos-AWS-SSM-Doc"
# Provide the type of SSM doc
# if not using the default stress docs
- name: DOCUMENT_TYPE
value: 'Command'
value: "Command"
# Provide the format of SSM doc
# if not using the default stress docs
- name: DOCUMENT_FORMAT
value: 'YAML'
value: "YAML"
# Provide the path of SSM doc
# if not using the default stress docs
- name: DOCUMENT_PATH
value: 'Litmus-AWS-SSM-Docs-For-EC2-CPU-Hog.yml'
value: "Litmus-AWS-SSM-Docs-For-EC2-CPU-Hog.yml"
# if you want to install dependencies to run default SSM docs
- name: INSTALL_DEPENDENCIES
value: 'True'
value: "True"
labels:
name: aws-ssm-chaos-by-tag

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -43,7 +52,7 @@ spec:
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
verbs: ["create", "list", "get", "patch", "update", "delete"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -52,30 +61,30 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '30'
value: "30"
- name: CHAOS_INTERVAL
value: '30'
value: "30"
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
- name: EBS_VOLUME_ID
value: ''
value: ""
- name: REGION
value: ''
value: ""
- name: SEQUENCE
value: 'parallel'
value: "parallel"
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
# Provide the path of AWS credentials mounted from secret
- name: AWS_SHARED_CREDENTIALS_FILE
value: '/tmp/cloud_config.yml'
value: "/tmp/cloud_config.yml"
labels:
name: ebs-loss-by-id

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -43,7 +52,7 @@ spec:
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
verbs: ["create", "list", "get", "patch", "update", "delete"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -52,32 +61,32 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '30'
value: "30"
- name: CHAOS_INTERVAL
value: '30'
value: "30"
- name: RAMP_TIME
value: ''
value: ""
- name: EBS_VOLUME_TAG
value: ''
value: ""
- name: REGION
value: ''
value: ""
- name: SEQUENCE
value: 'parallel'
value: "parallel"
- name: VOLUME_AFFECTED_PERC
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
# Provide the path of AWS credentials mounted from secret
- name: AWS_SHARED_CREDENTIALS_FILE
value: '/tmp/cloud_config.yml'
value: "/tmp/cloud_config.yml"
labels:
name: ebs-loss-by-tag

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -47,7 +56,7 @@ spec:
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "list"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -56,42 +65,42 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '30'
value: "30"
- name: CHAOS_INTERVAL
value: '30'
value: "30"
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
# Provide a common tag to target ec2 instances
- name: EC2_INSTANCE_TAG
value: ''
value: ""
# enable it if the target instance is a part of self-managed nodegroup.
- name: MANAGED_NODEGROUP
value: 'disable'
value: "disable"
- name: REGION
value: ''
value: ""
# Target the percentage of instance filtered from tag
- name: INSTANCE_AFFECTED_PERC
value: ''
value: ""
- name: SEQUENCE
value: 'parallel'
value: "parallel"
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
# Provide the path of AWS credentials mounted from secret
- name: AWS_SHARED_CREDENTIALS_FILE
value: '/tmp/cloud_config.yml'
value: "/tmp/cloud_config.yml"
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: ec2-stop-by-tag

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -47,7 +56,7 @@ spec:
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "list"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -56,36 +65,36 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '30'
value: "30"
- name: CHAOS_INTERVAL
value: '30'
value: "30"
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
# enable it if the target instance is a part of self-managed nodegroup.
- name: MANAGED_NODEGROUP
value: 'disable'
value: "disable"
# 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: ''
value: ""
- name: REGION
value: ''
value: ""
- name: SEQUENCE
value: 'parallel'
value: "parallel"
# Provide the path of AWS credentials mounted from secret
- name: AWS_SHARED_CREDENTIALS_FILE
value: '/tmp/cloud_config.yml'
value: "/tmp/cloud_config.yml"
labels:
name: ec2-terminate-by-id