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

@@ -71,7 +71,7 @@ spec:
verbs:
- "get"
- "list"
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c

View File

@@ -75,7 +75,7 @@ spec:
verbs:
- "get"
- "list"
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c

View File

@@ -72,7 +72,7 @@ spec:
verbs:
- "get"
- "list"
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -95,7 +95,7 @@ spec:
# provide lib image
- name: LIB_IMAGE
value: 'litmuschaos/go-runner:3.0.0-beta10'
value: 'litmuschaos/go-runner:latest'
labels:
name: node-cpu-hog
@@ -137,7 +137,7 @@ spec:
value: '60' # in seconds
container:
image: litmuschaos/litmus-checker:latest
args: ["-file=/tmp/chaosengine.yaml","-saveName=/tmp/engine-name"]
args: ["-file=/tmp/chaosengine.yaml", "-saveName=/tmp/engine-name"]
- name: cleanup-chaos-resources
container:

View File

@@ -76,7 +76,7 @@ spec:
verbs:
- "get"
- "list"
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -99,7 +99,7 @@ spec:
# provide lib image
- name: LIB_IMAGE
value: 'litmuschaos/go-runner:3.0.0-beta10'
value: 'litmuschaos/go-runner:latest'
labels:
name: node-cpu-hog
@@ -141,7 +141,7 @@ spec:
value: '60' # in seconds
container:
image: litmuschaos/litmus-checker:latest
args: ["-file=/tmp/chaosengine.yaml","-saveName=/tmp/engine-name"]
args: ["-file=/tmp/chaosengine.yaml", "-saveName=/tmp/engine-name"]
- name: cleanup-chaos-resources
container:

View File

@@ -72,7 +72,7 @@ spec:
verbs:
- "get"
- "list"
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -95,7 +95,7 @@ spec:
# provide lib image
- name: LIB_IMAGE
value: 'litmuschaos/go-runner:3.0.0-beta10'
value: 'litmuschaos/go-runner:latest'
labels:
name: node-memory-hog
@@ -137,7 +137,7 @@ spec:
value: '60' # in seconds
container:
image: litmuschaos/litmus-checker:latest
args: ["-file=/tmp/chaosengine.yaml","-saveName=/tmp/engine-name"]
args: ["-file=/tmp/chaosengine.yaml", "-saveName=/tmp/engine-name"]
- name: cleanup-chaos-resources
container:

View File

@@ -75,7 +75,7 @@ spec:
verbs:
- "get"
- "list"
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -94,7 +94,7 @@ spec:
value: ''
# provide lib image
- name: LIB_IMAGE
value: 'litmuschaos/go-runner:3.0.0-beta10'
value: 'litmuschaos/go-runner:latest'
labels:
name: node-memory-hog
container:
@@ -133,7 +133,7 @@ spec:
value: '60' # in seconds
container:
image: litmuschaos/litmus-checker:latest
args: ["-file=/tmp/chaosengine.yaml","-saveName=/tmp/engine-name"]
args: ["-file=/tmp/chaosengine.yaml", "-saveName=/tmp/engine-name"]
- name: cleanup-chaos-resources
container:
image: litmuschaos/k8s:latest

View File

@@ -64,7 +64,7 @@ spec:
- "patch"
- "update"
- "delete"
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -143,7 +143,7 @@ spec:
value: "kill -9 $(ps afx | grep \"[md5sum] /dev/zero\" | awk '{print$1}' | tr '\n' ' ')"
container:
image: litmuschaos/litmus-checker:latest
args: ["-file=/tmp/chaosengine.yaml","-saveName=/tmp/engine-name"]
args: ["-file=/tmp/chaosengine.yaml", "-saveName=/tmp/engine-name"]
- name: cleanup-chaos-resources
container:

View File

@@ -68,7 +68,7 @@ spec:
- "patch"
- "update"
- "delete"
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -147,7 +147,7 @@ spec:
value: "kill -9 $(ps afx | grep \"[md5sum] /dev/zero\" | awk '{print$1}' | tr '\n' ' ')"
container:
image: litmuschaos/litmus-checker:latest
args: ["-file=/tmp/chaosengine.yaml","-saveName=/tmp/engine-name"]
args: ["-file=/tmp/chaosengine.yaml", "-saveName=/tmp/engine-name"]
- name: cleanup-chaos-resources
container:

View File

@@ -74,7 +74,7 @@ spec:
verbs:
- "get"
- "list"
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -145,7 +145,7 @@ spec:
value: "false"
container:
image: litmuschaos/litmus-checker:latest
args: ["-file=/tmp/chaosengine.yaml","-saveName=/tmp/engine-name"]
args: ["-file=/tmp/chaosengine.yaml", "-saveName=/tmp/engine-name"]
- name: cleanup-chaos-resources
container:

View File

@@ -78,7 +78,7 @@ spec:
verbs:
- "get"
- "list"
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -149,7 +149,7 @@ spec:
value: "false"
container:
image: litmuschaos/litmus-checker:latest
args: ["-file=/tmp/chaosengine.yaml","-saveName=/tmp/engine-name"]
args: ["-file=/tmp/chaosengine.yaml", "-saveName=/tmp/engine-name"]
- name: cleanup-chaos-resources
container:

View File

@@ -64,7 +64,7 @@ spec:
- "patch"
- "update"
- "delete"
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
args:
- -c
- ./experiments -name pod-memory-hog
@@ -142,7 +142,7 @@ spec:
value: "kill -9 $(ps afx | grep \"[dd] if /dev/zero\" | awk '{print $1}' | tr '\n' ' ')"
container:
image: litmuschaos/litmus-checker:latest
args: ["-file=/tmp/chaosengine.yaml","-saveName=/tmp/engine-name"]
args: ["-file=/tmp/chaosengine.yaml", "-saveName=/tmp/engine-name"]
- name: cleanup-chaos-resources
container:

View File

@@ -68,7 +68,7 @@ spec:
- "patch"
- "update"
- "delete"
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
args:
- -c
- ./experiments -name pod-memory-hog
@@ -146,7 +146,7 @@ spec:
value: "kill -9 $(ps afx | grep \"[dd] if /dev/zero\" | awk '{print $1}' | tr '\n' ' ')"
container:
image: litmuschaos/litmus-checker:latest
args: ["-file=/tmp/chaosengine.yaml","-saveName=/tmp/engine-name"]
args: ["-file=/tmp/chaosengine.yaml", "-saveName=/tmp/engine-name"]
- name: cleanup-chaos-resources
container:

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

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,37 +61,37 @@ 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 the resource group of the instance
- name: RESOURCE_GROUP
value: ''
value: ""
# accepts enable/disable, default is disable
- name: SCALE_SET
value: ''
value: ""
# provide the virtual disk names (comma separated if multiple)
- name: VIRTUAL_DISK_NAMES
value: ''
value: ""
# provide the sequence type for the run. Options: serial/parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
# provide the path to aks credentials mounted from secret
- name: AZURE_AUTH_LOCATION
value: '/tmp/azure.auth'
value: "/tmp/azure.auth"
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
labels:
name: azure-disk-loss

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,36 +61,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: ""
# provide the target instance name(s) (comma separated if multiple)
- name: AZURE_INSTANCE_NAMES
value: ''
value: ""
# provide the resource group of the instance
- name: RESOURCE_GROUP
value: ''
value: ""
# accepts enable/disable, default is disable
- name: SCALE_SET
value: ''
value: ""
# Provide the path of aks credentials mounted from secret
- name: AZURE_AUTH_LOCATION
value: '/tmp/azure.auth'
value: "/tmp/azure.auth"
- name: SEQUENCE
value: 'parallel'
value: "parallel"
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
labels:
name: azure-instance-stop

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"]
@@ -39,7 +48,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
@@ -49,35 +58,35 @@ spec:
env:
# set chaos duration (in sec) as desired
- name: TOTAL_CHAOS_DURATION
value: '30'
value: "30"
# set chaos interval (in sec) as desired
- name: CHAOS_INTERVAL
value: '30'
value: "30"
# set the GCP project id
- name: GCP_PROJECT_ID
value: ''
value: ""
# set the zone in which all the disks are created
# all the disks must exist in the same zone
- name: ZONES
value: ''
value: ""
# set the label of the target disk volumes
- name: DISK_VOLUME_LABEL
value: ''
value: ""
# set the percentage value of the disks with the given label
# which should be targeted as part of the chaos injection
- name: DISK_AFFECTED_PERC
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: gcp-vm-disk-loss-by-label

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"]
@@ -39,7 +48,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
@@ -48,40 +57,40 @@ 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: ""
# parallel or serial; determines how chaos is injected
- name: SEQUENCE
value: 'parallel'
value: "parallel"
# set the GCP project id
- name: GCP_PROJECT_ID
value: ''
value: ""
# set the disk volume name(s) as comma seperated values
# eg. volume1,volume2,...
- name: DISK_VOLUME_NAMES
value: ''
value: ""
# set the disk zone(s) as comma seperated values in the corresponding
# order of DISK_VOLUME_NAME
# eg. zone1,zone2,...
- name: ZONES
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
# parallel or serial; determines how chaos is injected
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: gcp-vm-disk-loss

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: [""]
resources: ["nodes"]
verbs: ["get", "list"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -53,39 +62,39 @@ spec:
env:
# set chaos duration (in sec) as desired
- name: TOTAL_CHAOS_DURATION
value: '30'
value: "30"
# set chaos interval (in sec) as desired
- name: CHAOS_INTERVAL
value: '30'
value: "30"
- name: SEQUENCE
value: 'parallel'
value: "parallel"
# GCP project ID to which the VM instances belong
- name: GCP_PROJECT_ID
value: ''
value: ""
# Label of the target VM instance(s)
- name: INSTANCE_LABEL
value: ''
value: ""
# Zone in which the target VM instance(s) filtered by the label exist
# all the instances should lie in a single zone
- name: ZONES
value: ''
value: ""
# enable it if the target instance is a part of a managed instance group
- name: MANAGED_INSTANCE_GROUP
value: 'disable'
value: "disable"
# set the percentage value of the instances with the given label
# which should be targeted as part of the chaos injection
- name: INSTANCE_AFFECTED_PERC
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
labels:
name: gcp-vm-instance-stop-by-label

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: [""]
resources: ["nodes"]
verbs: ["get", "list"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -52,44 +61,44 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '30'
value: "30"
- name: CHAOS_INTERVAL
value: '30'
value: "30"
# parallel or serial; determines how the VM instances are terminated, all at once or one at a time
- name: SEQUENCE
value: 'parallel'
value: "parallel"
# period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
# enable or disable; shall be set to enable if the target instances are a part of a managed instance group
- name: MANAGED_INSTANCE_GROUP
value: 'disable'
value: "disable"
# Instance name of the target VM instance(s)
# Multiple instance names can be provided as comma separated values ex: instance1,instance2
- name: VM_INSTANCE_NAMES
value: ''
value: ""
# GCP project ID to which the VM instances belong
- name: GCP_PROJECT_ID
value: ''
value: ""
# Instance zone(s) of the target VM instance(s)
# If more than one instance is targetted, provide zone for each in the order of their
# respective instance name in VM_INSTANCE_NAME as comma separated values ex: zone1,zone2
- name: ZONES
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
# parallel or serial; determines how chaos is injected
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: gcp-vm-instance-stop

View File

@@ -17,7 +17,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"]
@@ -58,7 +67,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
@@ -67,53 +76,53 @@ spec:
- /bin/bash
env:
- name: TARGET_CONTAINER
value: ''
value: ""
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
- name: TARGET_PODS
value: ''
value: ""
# provide the chaos interval
- name: CHAOS_INTERVAL
value: '10'
value: "10"
- name: SIGNAL
value: 'SIGKILL'
value: "SIGKILL"
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: "/run/containerd/containerd.sock"
# provide the name of container runtime
# it supports docker, containerd, crio
- name: CONTAINER_RUNTIME
value: 'containerd'
value: "containerd"
# provide the total chaos duration
- name: TOTAL_CHAOS_DURATION
value: '20'
value: "20"
## percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
# To select pods on specific node(s)
- name: NODE_LABEL
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: container-kill

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"]
@@ -59,7 +68,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
@@ -68,52 +77,52 @@ spec:
- /bin/bash
env:
- name: TARGET_CONTAINER
value: ''
value: ""
- name: FILL_PERCENTAGE
value: '80'
value: "80"
- name: TOTAL_CHAOS_DURATION
value: '60'
value: "60"
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
# provide the data block size
# supported unit is KB
- name: DATA_BLOCK_SIZE
value: '256'
value: "256"
- name: TARGET_PODS
value: ''
value: ""
- name: EPHEMERAL_STORAGE_MEBIBYTES
value: ''
value: ""
# To select pods on specific node(s)
- name: NODE_LABEL
value: ''
value: ""
## percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
# Provide the container runtime path
# Default set to docker container path
- name: CONTAINER_PATH
value: '/var/lib/docker/containers'
value: "/var/lib/docker/containers"
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: disk-fill

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,25 +65,25 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '90' # in seconds
value: "90" # in seconds
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
- name: NODE_LABEL
value: ''
value: ""
# provide lib image
- name: LIB_IMAGE
value: 'ubuntu:16.04'
value: "ubuntu:16.04"
# provide the target node name
- name: TARGET_NODE
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
labels:
name: docker-service-kill

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,25 +65,25 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
value: "60" # in seconds
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
- name: NODE_LABEL
value: ''
value: ""
# provide lib image
- name: LIB_IMAGE
value: 'ubuntu:16.04'
value: "ubuntu:16.04"
# provide the target node name
- name: TARGET_NODE
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
labels:
name: kubelet-service-kill

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,44 +65,44 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '60'
value: "60"
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
## ENTER THE NUMBER OF CORES OF CPU FOR CPU HOGGING
## OPTIONAL VALUE IN CASE OF EMPTY VALUE IT WILL TAKE NODE CPU CAPACITY
- name: NODE_CPU_CORE
value: ''
value: ""
## LOAD CPU WITH GIVEN PERCENT LOADING FOR THE CPU STRESS WORKERS.
## 0 IS EFFECTIVELY A SLEEP (NO LOAD) AND 100 IS FULL LOADING
- name: CPU_LOAD
value: '100'
value: "100"
# ENTER THE COMMA SEPARATED TARGET NODES NAME
- name: TARGET_NODES
value: ''
value: ""
- name: NODE_LABEL
value: ''
value: ""
# provide lib image
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
## percentage of total nodes to target
- name: NODES_AFFECTED_PERC
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
## it defines the sequence of chaos execution for multiple target nodes
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: node-cpu-hog

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"]
@@ -51,7 +60,7 @@ spec:
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "list", "patch"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -60,20 +69,20 @@ spec:
- /bin/bash
env:
- name: TARGET_NODE
value: ''
value: ""
- name: NODE_LABEL
value: ''
value: ""
- name: TOTAL_CHAOS_DURATION
value: '60'
value: "60"
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
labels:
name: node-drain

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,56 +65,56 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '120'
value: "120"
## specify the size as percentage of free space on the file system
## default value 90 (in percentage)
- name: FILESYSTEM_UTILIZATION_PERCENTAGE
value: '10'
value: "10"
## we can specify the size in Gigabyte (Gb) also in place of percentage of free space
## NOTE: for selecting this option FILESYSTEM_UTILIZATION_PERCENTAGE should be empty
- name: FILESYSTEM_UTILIZATION_BYTES
value: ''
value: ""
## Number of core of CPU
- name: CPU
value: '1'
value: "1"
## Total number of workers default value is 4
- name: NUMBER_OF_WORKERS
value: '4'
value: "4"
## Total number of VM workers
- name: VM_WORKERS
value: '1'
value: "1"
## enter the comma separated target nodes name
- name: TARGET_NODES
value: ''
value: ""
- name: NODE_LABEL
value: ''
value: ""
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
# provide lib image
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
## percentage of total nodes to target
- name: NODES_AFFECTED_PERC
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
## it defines the sequence of chaos execution for multiple target nodes
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: node-io-stress

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,47 +65,47 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '120'
value: "120"
## Specify the size as percent of total node capacity Ex: '30'
## NOTE: for selecting this option keep MEMORY_CONSUMPTION_MEBIBYTES empty
- name: MEMORY_CONSUMPTION_PERCENTAGE
value: ''
value: ""
## Specify the amount of memory to be consumed in mebibytes
## NOTE: for selecting this option keep MEMORY_CONSUMPTION_PERCENTAGE empty
- name: MEMORY_CONSUMPTION_MEBIBYTES
value: ''
value: ""
- name: NUMBER_OF_WORKERS
value: '1'
value: "1"
# ENTER THE COMMA SEPARATED TARGET NODES NAME
- name: TARGET_NODES
value: ''
value: ""
- name: NODE_LABEL
value: ''
value: ""
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
# provide lib image
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
## percentage of total nodes to target
- name: NODES_AFFECTED_PERC
value: ''
value: ""
## it defines the sequence of chaos execution for multiple target nodes
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: node-memory-hog

View File

@@ -18,70 +18,79 @@ 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"]
verbs: ["create","get","list","patch","update"]
verbs: ["create", "get", "list", "patch", "update"]
# Fetch configmaps & secrets details and mount it to the experiment pod (if specified)
- apiGroups: [""]
resources: ["configmaps","secrets"]
verbs: ["get","list",]
resources: ["configmaps", "secrets"]
verbs: ["get", "list"]
# 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"]
verbs: ["get","list","create"]
verbs: ["get", "list", "create"]
# for configuring and monitor the experiment job by the chaos-runner pod
- apiGroups: ["batch"]
resources: ["jobs"]
verbs: ["create","list","get","delete","deletecollection"]
verbs: ["create", "list", "get", "delete", "deletecollection"]
# for creation, status polling and deletion of litmus chaos resources used within a chaos workflow
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines","chaosexperiments","chaosresults"]
verbs: ["create","list","get","patch","update","delete"]
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
verbs: ["create", "list", "get", "patch", "update", "delete"]
# for experiment to perform node status checks
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get","list"]
image: "litmuschaos/go-runner:3.0.0-beta10"
verbs: ["get", "list"]
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
- ./experiments -name node-restart
- -c
- ./experiments -name node-restart
command:
- /bin/bash
- /bin/bash
env:
- name: SSH_USER
value: 'root'
- name: SSH_USER
value: "root"
- name: TOTAL_CHAOS_DURATION
value: '60'
- name: TOTAL_CHAOS_DURATION
value: "60"
- name: REBOOT_COMMAND
value: '-o ServerAliveInterval=1 -o ServerAliveCountMax=1 "sudo systemctl poweroff --force --force" ; true'
- name: REBOOT_COMMAND
value: '-o ServerAliveInterval=1 -o ServerAliveCountMax=1 "sudo systemctl poweroff --force --force" ; true'
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ""
# provide lib image
- name: LIB_IMAGE
value: "litmuschaos/go-runner:3.0.0-beta10"
# provide lib image
- name: LIB_IMAGE
value: "litmuschaos/go-runner:latest"
# ENTER THE TARGET NODE NAME
- name: TARGET_NODE
value: ''
# ENTER THE TARGET NODE NAME
- name: TARGET_NODE
value: ""
- name: NODE_LABEL
value: ''
- name: NODE_LABEL
value: ""
# ENTER THE TARGET NODE IP
- name: TARGET_NODE_IP
value: ''
# ENTER THE TARGET NODE IP
- name: TARGET_NODE_IP
value: ""
labels:
name: node-poweroff

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,16 +65,16 @@ spec:
- /bin/bash
env:
- name: SSH_USER
value: 'root'
value: "root"
- name: REBOOT_COMMAND
value: 'sudo systemctl reboot; true'
value: "sudo systemctl reboot; true"
- name: TOTAL_CHAOS_DURATION
value: '60'
value: "60"
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
# provide lib image
- name: LIB_IMAGE
@@ -73,17 +82,17 @@ spec:
# ENTER THE TARGET NODE NAME
- name: TARGET_NODE
value: ''
value: ""
- name: NODE_LABEL
value: ''
value: ""
# ENTER THE TARGET NODE IP
- name: TARGET_NODE_IP
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
labels:
name: node-restart

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"]
@@ -51,7 +60,7 @@ spec:
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "list", "patch", "update"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -60,25 +69,25 @@ spec:
- /bin/bash
env:
- name: TARGET_NODE
value: ''
value: ""
- name: NODE_LABEL
value: ''
value: ""
- name: TOTAL_CHAOS_DURATION
value: '60'
value: "60"
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
# set taint label & effect
# key=value:effect or key:effect
- name: TAINTS
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
labels:
name: node-taint

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: ["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
@@ -56,18 +65,18 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '60'
value: "60"
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
# Number of replicas to scale
- name: REPLICA_COUNT
value: '5'
value: "5"
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
labels:
name: pod-autoscaler

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"]
@@ -59,7 +68,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
@@ -68,37 +77,37 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '60'
value: "60"
## Number of CPU cores to stress
- name: CPU_CORES
value: '1'
value: "1"
## Percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
## Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
# The command to kill the chaos process
- name: CHAOS_KILL_COMMAND
value: "kill $(find /proc -name exe -lname '*/md5sum' 2>&1 | grep -v 'Permission denied' | awk -F/ '{print $(NF-1)}')"
- name: TARGET_CONTAINER
value: ''
value: ""
- name: TARGET_PODS
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: pod-cpu-hog-exec

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"]
@@ -59,7 +68,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
@@ -68,58 +77,58 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '60'
value: "60"
## Number of CPU cores to stress
- name: CPU_CORES
value: '1'
value: "1"
## LOAD CPU WITH GIVEN PERCENT LOADING FOR THE CPU STRESS WORKERS.
## 0 IS EFFECTIVELY A SLEEP (NO LOAD) AND 100 IS FULL LOADING
- name: CPU_LOAD
value: '100'
value: "100"
## Percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
## Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
## It is used in pumba lib only
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
## It is used in pumba lib only
- name: STRESS_IMAGE
value: 'alexeiled/stress-ng:latest-ubuntu'
value: "alexeiled/stress-ng:latest-ubuntu"
## provide the cluster runtime
- name: CONTAINER_RUNTIME
value: 'containerd'
value: "containerd"
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: "/run/containerd/containerd.sock"
- name: TARGET_CONTAINER
value: ''
value: ""
- name: TARGET_PODS
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
# To select pods on specific node(s)
- name: NODE_LABEL
value: ''
value: ""
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: pod-cpu-hog

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"]
@@ -59,7 +68,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
@@ -68,39 +77,39 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '15'
value: "15"
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
- name: FORCE
value: 'true'
value: "true"
- name: CHAOS_INTERVAL
value: '5'
value: "5"
## percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
- name: TARGET_CONTAINER
value: ''
value: ""
- name: TARGET_PODS
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
# To select pods on specific node(s)
- name: NODE_LABEL
value: ''
value: ""
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: pod-delete

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"]
@@ -59,7 +68,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"
args:
- -c
- ./experiments -name pod-dns-error
@@ -74,7 +83,7 @@ spec:
value: "chaosnative/go-runner:ci"
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
- name: TOTAL_CHAOS_DURATION
value: "60" # in seconds
@@ -92,11 +101,11 @@ spec:
# provide the name of container runtime, it supports docker, containerd, crio
- name: CONTAINER_RUNTIME
value: 'containerd'
value: "containerd"
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: "/run/containerd/containerd.sock"
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel

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"]
@@ -59,7 +68,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"
args:
- -c
- ./experiments -name pod-dns-spoof
@@ -74,7 +83,7 @@ spec:
value: "chaosnative/go-runner:ci"
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
- name: TOTAL_CHAOS_DURATION
value: "60" # in seconds
@@ -92,11 +101,11 @@ spec:
# provide the name of container runtime, it supports docker, containerd, crio
- name: CONTAINER_RUNTIME
value: 'containerd'
value: "containerd"
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: "/run/containerd/containerd.sock"
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel

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"]
@@ -59,7 +68,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
@@ -68,14 +77,14 @@ spec:
- /bin/bash
env:
- name: TARGET_CONTAINER
value: ''
value: ""
# provide lib image
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
- name: LATENCY
value: '2000' #in ms
value: "2000" #in ms
# port of the target service
- name: TARGET_SERVICE_PORT
@@ -96,40 +105,40 @@ spec:
value: "eth0"
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
value: "60" # in seconds
# Time period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
# percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
- name: TARGET_PODS
value: ''
value: ""
# provide the name of container runtime
# for litmus LIB, it supports docker, containerd, crio
# for pumba LIB, it supports docker only
- name: CONTAINER_RUNTIME
value: 'containerd'
value: "containerd"
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: "/run/containerd/containerd.sock"
# To select pods on specific node(s)
- name: NODE_LABEL
value: ''
value: ""
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: pod-http-latency

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"]
@@ -59,7 +68,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
@@ -68,26 +77,26 @@ spec:
- /bin/bash
env:
- name: TARGET_CONTAINER
value: ''
value: ""
# provide lib image
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
# provide the body string to overwrite the response body
# if no value is provided, response will be an empty body.
- name: RESPONSE_BODY
value: ''
value: ""
# provide the encoding type for the response body
# currently supported value are gzip, deflate
# if empty no encoding will be applied
- name: CONTENT_ENCODING
value: ''
value: ""
# provide the content type for the response body
- name: CONTENT_TYPE
value: 'text/plain'
value: "text/plain"
# port of the target service
- name: TARGET_SERVICE_PORT
@@ -108,40 +117,40 @@ spec:
value: "eth0"
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
value: "60" # in seconds
# Time period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
# percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
- name: TARGET_PODS
value: ''
value: ""
# provide the name of container runtime
# for litmus LIB, it supports docker, containerd, crio
# for pumba LIB, it supports docker only
- name: CONTAINER_RUNTIME
value: 'containerd'
value: "containerd"
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: "/run/containerd/containerd.sock"
# To select pods on specific node(s)
- name: NODE_LABEL
value: ''
value: ""
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: pod-http-modify-body

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"]
@@ -59,7 +68,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
@@ -68,20 +77,20 @@ spec:
- /bin/bash
env:
- name: TARGET_CONTAINER
value: ''
value: ""
# provide lib image
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
# map of headers to modify/add; Eg: {"X-Litmus-Test-Header": "X-Litmus-Test-Value"}
# to remove a header, just set the value to ""; Eg: {"X-Litmus-Test-Header": ""}
- name: HEADERS_MAP
value: '{}'
value: "{}"
# whether to modify response headers or request headers. Accepted values: request, response
- name: HEADER_MODE
value: 'response'
value: "response"
# port of the target service
- name: TARGET_SERVICE_PORT
@@ -102,40 +111,40 @@ spec:
value: "eth0"
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
value: "60" # in seconds
# Time period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
# percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
- name: TARGET_PODS
value: ''
value: ""
# provide the name of container runtime
# for litmus LIB, it supports docker, containerd, crio
# for pumba LIB, it supports docker only
- name: CONTAINER_RUNTIME
value: 'containerd'
value: "containerd"
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: "/run/containerd/containerd.sock"
# To select pods on specific node(s)
- name: NODE_LABEL
value: ''
value: ""
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: pod-http-modify-header

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"]
@@ -59,7 +68,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
@@ -68,15 +77,15 @@ spec:
- /bin/bash
env:
- name: TARGET_CONTAINER
value: ''
value: ""
# provide lib image
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
# reset timeout specifies after how much duration to reset the connection
- name: RESET_TIMEOUT
value: '0' #in ms
value: "0" #in ms
# port of the target service
- name: TARGET_SERVICE_PORT
@@ -97,40 +106,40 @@ spec:
value: "eth0"
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
value: "60" # in seconds
# Time period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
# percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
- name: TARGET_PODS
value: ''
value: ""
# provide the name of container runtime
# for litmus LIB, it supports docker, containerd, crio
# for pumba LIB, it supports docker only
- name: CONTAINER_RUNTIME
value: 'containerd'
value: "containerd"
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: "/run/containerd/containerd.sock"
# To select pods on specific node(s)
- name: NODE_LABEL
value: ''
value: ""
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: pod-http-reset-peer

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"]
@@ -59,7 +68,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
@@ -68,18 +77,18 @@ spec:
- /bin/bash
env:
- name: TARGET_CONTAINER
value: ''
value: ""
# provide lib image
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
# modified status code for the HTTP response
# if no value is provided, a random status code from the supported code list will selected
# if an invalid status code is provided, the experiment will fail
# supported status code list: [200, 201, 202, 204, 300, 301, 302, 304, 307, 400, 401, 403, 404, 500, 501, 502, 503, 504]
- name: STATUS_CODE
value: ''
value: ""
# whether to modify the body as per the status code provided
- name: "MODIFY_RESPONSE_BODY"
@@ -87,17 +96,17 @@ spec:
# provide the body string to overwrite the response body. This will be used only if MODIFY_RESPONSE_BODY is set to true
- name: RESPONSE_BODY
value: ''
value: ""
# provide the encoding type for the response body
# currently supported value are gzip, deflate
# if empty no encoding will be applied
- name: CONTENT_ENCODING
value: ''
value: ""
# provide the content type for the response body
- name: CONTENT_TYPE
value: 'text/plain'
value: "text/plain"
# port of the target service
- name: TARGET_SERVICE_PORT
@@ -118,40 +127,40 @@ spec:
value: "eth0"
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
value: "60" # in seconds
# Time period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
# percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
- name: TARGET_PODS
value: ''
value: ""
# provide the name of container runtime
# for litmus LIB, it supports docker, containerd, crio
# for pumba LIB, it supports docker only
- name: CONTAINER_RUNTIME
value: 'containerd'
value: "containerd"
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: "/run/containerd/containerd.sock"
# To select pods on specific node(s)
- name: NODE_LABEL
value: ''
value: ""
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: pod-http-status-code

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"]
@@ -59,7 +68,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
@@ -68,64 +77,64 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '120'
value: "120"
## specify the size as percentage of free space on the file system
## default value 90 (in percentage)
- name: FILESYSTEM_UTILIZATION_PERCENTAGE
value: '10'
value: "10"
## we can specify the size in Gigabyte (Gb) also in place of percentage of free space
## NOTE: for selecting this option FILESYSTEM_UTILIZATION_PERCENTAGE should be empty
- name: FILESYSTEM_UTILIZATION_BYTES
value: ''
value: ""
## Total number of workers default value is 4
- name: NUMBER_OF_WORKERS
value: '4'
value: "4"
## Percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
# provide volume mount path
- name: VOLUME_MOUNT_PATH
value: ''
value: ""
- name: TARGET_CONTAINER
value: ''
value: ""
## specify the comma separated target pods
- name: TARGET_PODS
value: ''
value: ""
# To select pods on specific node(s)
- name: NODE_LABEL
value: ''
value: ""
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
# provide lib image
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
## provide the cluster runtime
- name: CONTAINER_RUNTIME
value: 'containerd'
value: "containerd"
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: "/run/containerd/containerd.sock"
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: pod-io-stress

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"]
@@ -59,7 +68,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
@@ -68,19 +77,19 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '60'
value: "60"
## enter the amount of memory in megabytes to be consumed by the application pod
- name: MEMORY_CONSUMPTION
value: '500'
value: "500"
## percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
## Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
# The command to kill the chaos process
- name: CHAOS_KILL_COMMAND
@@ -89,16 +98,16 @@ spec:
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
- name: TARGET_CONTAINER
value: ''
value: ""
- name: TARGET_PODS
value: ''
value: ""
labels:
name: pod-memory-hog-exec

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"]
@@ -59,7 +68,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
@@ -68,57 +77,57 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '60'
value: "60"
## enter the amount of memory in megabytes to be consumed by the application pod
- name: MEMORY_CONSUMPTION
value: '500'
value: "500"
## Number of workers to perform stress
- name: NUMBER_OF_WORKERS
value: '1'
value: "1"
## percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
## Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
## It is used in pumba lib only
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
## It is used in pumba lib only
- name: STRESS_IMAGE
value: 'alexeiled/stress-ng:latest-ubuntu'
value: "alexeiled/stress-ng:latest-ubuntu"
## provide the cluster runtime
- name: CONTAINER_RUNTIME
value: 'containerd'
value: "containerd"
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: "/run/containerd/containerd.sock"
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
- name: TARGET_CONTAINER
value: ''
value: ""
- name: TARGET_PODS
value: ''
value: ""
# To select pods on specific node(s)
- name: NODE_LABEL
value: ''
value: ""
labels:
name: pod-memory-hog

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"]
@@ -59,7 +68,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
@@ -68,66 +77,66 @@ spec:
- /bin/bash
env:
- name: TARGET_CONTAINER
value: ''
value: ""
# provide lib image
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
- name: NETWORK_INTERFACE
value: 'eth0'
value: "eth0"
- name: TC_IMAGE
value: 'gaiadocker/iproute2'
value: "gaiadocker/iproute2"
- name: NETWORK_PACKET_CORRUPTION_PERCENTAGE
value: '100' #in PERCENTAGE
value: "100" #in PERCENTAGE
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
value: "60" # in seconds
# Time period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
## percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
- name: TARGET_PODS
value: ''
value: ""
# To select pods on specific node(s)
- name: NODE_LABEL
value: ''
value: ""
# provide the name of container runtime
# for litmus LIB, it supports docker, containerd, crio
# for pumba LIB, it supports docker only
- name: CONTAINER_RUNTIME
value: 'containerd'
value: "containerd"
# provide the destination ips
# chaos injection will be triggered for these destination ips
- name: DESTINATION_IPS
value: ''
value: ""
# provide the destination hosts
# chaos injection will be triggered for these destination hosts
- name: DESTINATION_HOSTS
value: ''
value: ""
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: "/run/containerd/containerd.sock"
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: pod-network-corruption

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"]
@@ -59,7 +68,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
@@ -68,64 +77,64 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '60'
value: "60"
- name: RAMP_TIME
value: ''
value: ""
- name: TARGET_CONTAINER
value: ''
value: ""
- name: TC_IMAGE
value: 'gaiadocker/iproute2'
value: "gaiadocker/iproute2"
- name: NETWORK_INTERFACE
value: 'eth0'
value: "eth0"
- name: NETWORK_PACKET_DUPLICATION_PERCENTAGE
value: '100' # in percentage
value: "100" # in percentage
- name: TARGET_PODS
value: ''
value: ""
# To select pods on specific node(s)
- name: NODE_LABEL
value: ''
value: ""
## percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
# provide the name of container runtime
# for litmus LIB, it supports docker, containerd, crio
# for pumba LIB, it supports docker only
- name: CONTAINER_RUNTIME
value: 'containerd'
value: "containerd"
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
# provide the destination ips
# chaos injection will be triggered for these destination ips
- name: DESTINATION_IPS
value: ''
value: ""
# provide the destination hosts
# chaos injection will be triggered for these destination hosts
- name: DESTINATION_HOSTS
value: ''
value: ""
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: "/run/containerd/containerd.sock"
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: pod-network-duplication

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"]
@@ -59,7 +68,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
@@ -68,69 +77,69 @@ spec:
- /bin/bash
env:
- name: TARGET_CONTAINER
value: ''
value: ""
- name: NETWORK_INTERFACE
value: 'eth0'
value: "eth0"
# provide lib image
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
- name: TC_IMAGE
value: 'gaiadocker/iproute2'
value: "gaiadocker/iproute2"
- name: NETWORK_LATENCY
value: '2000' #in ms
value: "2000" #in ms
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
value: "60" # in seconds
# Time period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
- name: JITTER
value: '0'
value: "0"
## percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
- name: TARGET_PODS
value: ''
value: ""
# provide the name of container runtime
# for litmus LIB, it supports docker, containerd, crio
# for pumba LIB, it supports docker only
- name: CONTAINER_RUNTIME
value: 'containerd'
value: "containerd"
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
# provide the destination ips
# chaos injection will be triggered for these destination ips
- name: DESTINATION_IPS
value: ''
value: ""
# provide the destination hosts
# chaos injection will be triggered for these destination hosts
- name: DESTINATION_HOSTS
value: ''
value: ""
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: "/run/containerd/containerd.sock"
# To select pods on specific node(s)
- name: NODE_LABEL
value: ''
value: ""
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: pod-network-latency

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"]
@@ -59,7 +68,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
@@ -68,66 +77,66 @@ spec:
- /bin/bash
env:
- name: TARGET_CONTAINER
value: ''
value: ""
# provide lib image
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
- name: NETWORK_INTERFACE
value: 'eth0'
value: "eth0"
- name: TC_IMAGE
value: 'gaiadocker/iproute2'
value: "gaiadocker/iproute2"
- name: NETWORK_PACKET_LOSS_PERCENTAGE
value: '100' #in PERCENTAGE
value: "100" #in PERCENTAGE
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
value: "60" # in seconds
# time period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
## percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
- name: TARGET_PODS
value: ''
value: ""
# To select pods on specific node(s)
- name: NODE_LABEL
value: ''
value: ""
# provide the name of container runtime
# for litmus LIB, it supports docker, containerd, crio
# for pumba LIB, it supports docker only
- name: CONTAINER_RUNTIME
value: 'containerd'
value: "containerd"
# provide the destination ips
# chaos injection will be triggered for these destination ips
- name: DESTINATION_IPS
value: ''
value: ""
# provide the destination hosts
# chaos injection will be triggered for these destination hosts
- name: DESTINATION_HOSTS
value: ''
value: ""
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: "/run/containerd/containerd.sock"
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: pod-network-loss

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: ["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
@@ -56,41 +65,41 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
value: "60" # in seconds
# time period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
# provide the destination ips
# chaos injection will be triggered for these destination ips
- name: DESTINATION_IPS
value: ''
value: ""
# provide the destination hosts
# chaos injection will be triggered for these destination hosts
- name: DESTINATION_HOSTS
value: ''
value: ""
# provide network policy type
# support ingress, egress, all values
- name: POLICY_TYPES
value: 'all'
value: "all"
# provide labels of the destination pods
- name: POD_SELECTOR
value: ''
value: ""
# provide labels the destination namespaces
- name: NAMESPACE_SELECTOR
value: ''
value: ""
# provide comma separated ports
- name: PORTS
value: ''
value: ""
labels:
name: pod-network-partition

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"]
@@ -39,7 +48,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
@@ -49,34 +58,34 @@ spec:
env:
# port of the spring boot application
- name: CM_PORT
value: ''
value: ""
#it contains number of requests are to be attacked
# n value means nth request will be affected
- name: CM_LEVEL
value: '1'
value: "1"
# it limits watched packages/classes/methods
- name: CM_WATCHED_CUSTOM_SERVICES
value: ''
value: ""
# provide name of watcher
# it supports controller, restController, service, repository, component, webClient
- name: CM_WATCHERS
value: 'restController'
value: "restController"
## percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
## Period to wait before and after injection of chaos
- name: RAMP_TIME
value: ''
value: ""
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: spring-boot-app-kill

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"]
@@ -39,7 +48,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
@@ -50,41 +59,41 @@ spec:
# it contains fraction of cpu to be stressed(0.95 equals 95%)
# it supports value in range [0.1,1.0]
- name: CPU_LOAD_FRACTION
value: '0.9'
value: "0.9"
# port of the spring boot application
- name: CM_PORT
value: ''
value: ""
#it contains number of requests are to be attacked
# n value means nth request will be affected
- name: CM_LEVEL
value: '1'
value: "1"
# it limits watched packages/classes/methods
- name: CM_WATCHED_CUSTOM_SERVICES
value: ''
value: ""
# provide name of watcher
# it supports controller, restController, service, repository, component, webClient
- name: CM_WATCHERS
value: 'restController'
value: "restController"
- name: TOTAL_CHAOS_DURATION
value: '30'
value: "30"
## percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
## Period to wait before and after injection of chaos
- name: RAMP_TIME
value: ''
value: ""
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: spring-boot-cpu-stress

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"]
@@ -39,7 +48,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
@@ -49,45 +58,45 @@ spec:
env:
# Type of raised exception
- name: CM_EXCEPTIONS_TYPE
value: 'java.lang.IllegalArgumentException'
value: "java.lang.IllegalArgumentException"
# Argument of raised exception
- name: CM_EXCEPTIONS_ARGUMENTS
value: 'java.lang.String:custom illegal argument exception'
value: "java.lang.String:custom illegal argument exception"
# port of the spring boot application
- name: CM_PORT
value: ''
value: ""
#it contains number of requests are to be attacked
# n value means nth request will be affected
- name: CM_LEVEL
value: '1'
value: "1"
# it limits watched packages/classes/methods
- name: CM_WATCHED_CUSTOM_SERVICES
value: ''
value: ""
# provide name of watcher
# it supports controller, restController, service, repository, component, webClient
- name: CM_WATCHERS
value: 'restController'
value: "restController"
- name: TOTAL_CHAOS_DURATION
value: '30'
value: "30"
## percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
## Period to wait before and after injection of chaos
- name: RAMP_TIME
value: ''
value: ""
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: spring-boot-exceptions

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"]
@@ -39,7 +48,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
@@ -49,84 +58,84 @@ spec:
env:
# it enables spring app-kill fault
- name: CM_KILL_APPLICATION_ACTIVE
value: ''
value: ""
# it enables spring-boot latency fault
# it enables spring-boot latency fault
- name: CM_LATENCY_ACTIVE
value: ''
value: ""
# provide the latency (ms)
# it is applicable when latency is active
- name: LATENCY
value: '2000'
value: "2000"
# it enables spring-boot memory stress fault
- name: CM_MEMORY_ACTIVE
value: ''
value: ""
# it contains fraction of memory to be stressed(0.70 equals 70%)
# it supports value in range [0.01,0.95]
# it is applicable when memory is active
- name: MEMORY_FILL_FRACTION
value: '0.70'
value: "0.70"
# it enables spring-boot cpu stress fault
- name: CM_CPU_ACTIVE
value: ''
value: ""
# it contains fraction of cpu to be stressed(0.95 equals 95%)
# it supports value in range [0.1,1.0]
# it is applicable when cpu is active
- name: CPU_LOAD_FRACTION
value: '0.9'
value: "0.9"
# it enables spring-boot exceptions fault
- name: CM_EXCEPTIONS_ACTIVE
value: ''
value: ""
# Type of raised exception
# it is applicable when exceptions is active
- name: CM_EXCEPTIONS_TYPE
value: 'java.lang.IllegalArgumentException'
value: "java.lang.IllegalArgumentException"
# Argument of raised exception
# it is applicable when exceptions is active
- name: CM_EXCEPTIONS_ARGUMENTS
value: 'java.lang.String:custom illegal argument exception'
value: "java.lang.String:custom illegal argument exception"
# port of the spring boot application
- name: CM_PORT
value: ''
value: ""
#it contains number of requests are to be attacked
# n value means nth request will be affected
- name: CM_LEVEL
value: '1'
value: "1"
# it limits watched packages/classes/methods
- name: CM_WATCHED_CUSTOM_SERVICES
value: ''
value: ""
# provide name of watcher
# it supports controller, restController, service, repository, component, webClient
- name: CM_WATCHERS
value: 'restController'
value: "restController"
- name: TOTAL_CHAOS_DURATION
value: '30'
value: "30"
## percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
## Period to wait before and after injection of chaos
- name: RAMP_TIME
value: ''
value: ""
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: spring-boot-faults

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"]
@@ -39,7 +48,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
@@ -49,41 +58,41 @@ spec:
env:
# provide the latency (ms)
- name: LATENCY
value: '2000'
value: "2000"
# port of the spring boot application
- name: CM_PORT
value: ''
value: ""
# it contains number of requests are to be attacked
# n value means nth request will be affected
- name: CM_LEVEL
value: '1'
value: "1"
# it limits watched packages/classes/methods
- name: CM_WATCHED_CUSTOM_SERVICES
value: ''
value: ""
# provide name of watcher
# it supports controller, restController, service, repository, component, webClient
- name: CM_WATCHERS
value: 'restController'
value: "restController"
- name: TOTAL_CHAOS_DURATION
value: '30'
value: "30"
## percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
## Period to wait before and after injection of chaos
- name: RAMP_TIME
value: ''
value: ""
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: spring-boot-latency

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"]
@@ -39,7 +48,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
@@ -50,41 +59,41 @@ spec:
# it contains fraction of memory to be stressed(0.70 equals 70%)
# it supports value in range [0.01,0.95]
- name: MEMORY_FILL_FRACTION
value: '0.70'
value: "0.70"
# port of the spring boot application
- name: CM_PORT
value: ''
value: ""
# it contains number of requests are to be attacked
# n value means nth request will be affected
- name: CM_LEVEL
value: '1'
value: "1"
# it limits watched packages/classes/methods
- name: CM_WATCHED_CUSTOM_SERVICES
value: ''
value: ""
# provide name of watcher
# it supports controller, restController, service, repository, component, webClient
- name: CM_WATCHERS
value: 'restController'
value: "restController"
- name: TOTAL_CHAOS_DURATION
value: '30'
value: "30"
## percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
## Period to wait before and after injection of chaos
- name: RAMP_TIME
value: ''
value: ""
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: spring-boot-memory-stress

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"]
@@ -59,7 +68,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
@@ -68,13 +77,13 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '30'
value: "30"
- name: CHAOS_INTERVAL
value: '10'
value: "10"
- name: RAMP_TIME
value: ''
value: ""
- name: VCENTERSERVER
valueFrom:
@@ -95,13 +104,13 @@ spec:
key: VCENTERPASS
- name: APP_VM_MOIDS
value: ''
value: ""
- name: SEQUENCE
value: 'parallel'
value: "parallel"
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
labels:
name: vmware-vm-poweroff