updated the tags to latest
Signed-off-by: Saranya-jena <saranya.jena@harness.io>
This commit is contained in:
@@ -71,7 +71,7 @@ spec:
|
|||||||
verbs:
|
verbs:
|
||||||
- "get"
|
- "get"
|
||||||
- "list"
|
- "list"
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
|
@@ -75,7 +75,7 @@ spec:
|
|||||||
verbs:
|
verbs:
|
||||||
- "get"
|
- "get"
|
||||||
- "list"
|
- "list"
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
|
@@ -72,7 +72,7 @@ spec:
|
|||||||
verbs:
|
verbs:
|
||||||
- "get"
|
- "get"
|
||||||
- "list"
|
- "list"
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -95,7 +95,7 @@ spec:
|
|||||||
|
|
||||||
# provide lib image
|
# provide lib image
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'litmuschaos/go-runner:3.0.0-beta10'
|
value: 'litmuschaos/go-runner:latest'
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: node-cpu-hog
|
name: node-cpu-hog
|
||||||
@@ -137,7 +137,7 @@ spec:
|
|||||||
value: '60' # in seconds
|
value: '60' # in seconds
|
||||||
container:
|
container:
|
||||||
image: litmuschaos/litmus-checker:latest
|
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
|
- name: cleanup-chaos-resources
|
||||||
container:
|
container:
|
||||||
|
@@ -76,7 +76,7 @@ spec:
|
|||||||
verbs:
|
verbs:
|
||||||
- "get"
|
- "get"
|
||||||
- "list"
|
- "list"
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -99,7 +99,7 @@ spec:
|
|||||||
|
|
||||||
# provide lib image
|
# provide lib image
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'litmuschaos/go-runner:3.0.0-beta10'
|
value: 'litmuschaos/go-runner:latest'
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: node-cpu-hog
|
name: node-cpu-hog
|
||||||
@@ -141,7 +141,7 @@ spec:
|
|||||||
value: '60' # in seconds
|
value: '60' # in seconds
|
||||||
container:
|
container:
|
||||||
image: litmuschaos/litmus-checker:latest
|
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
|
- name: cleanup-chaos-resources
|
||||||
container:
|
container:
|
||||||
|
@@ -72,7 +72,7 @@ spec:
|
|||||||
verbs:
|
verbs:
|
||||||
- "get"
|
- "get"
|
||||||
- "list"
|
- "list"
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -95,7 +95,7 @@ spec:
|
|||||||
|
|
||||||
# provide lib image
|
# provide lib image
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'litmuschaos/go-runner:3.0.0-beta10'
|
value: 'litmuschaos/go-runner:latest'
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: node-memory-hog
|
name: node-memory-hog
|
||||||
@@ -137,7 +137,7 @@ spec:
|
|||||||
value: '60' # in seconds
|
value: '60' # in seconds
|
||||||
container:
|
container:
|
||||||
image: litmuschaos/litmus-checker:latest
|
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
|
- name: cleanup-chaos-resources
|
||||||
container:
|
container:
|
||||||
|
@@ -75,7 +75,7 @@ spec:
|
|||||||
verbs:
|
verbs:
|
||||||
- "get"
|
- "get"
|
||||||
- "list"
|
- "list"
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -94,7 +94,7 @@ spec:
|
|||||||
value: ''
|
value: ''
|
||||||
# provide lib image
|
# provide lib image
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'litmuschaos/go-runner:3.0.0-beta10'
|
value: 'litmuschaos/go-runner:latest'
|
||||||
labels:
|
labels:
|
||||||
name: node-memory-hog
|
name: node-memory-hog
|
||||||
container:
|
container:
|
||||||
@@ -133,7 +133,7 @@ spec:
|
|||||||
value: '60' # in seconds
|
value: '60' # in seconds
|
||||||
container:
|
container:
|
||||||
image: litmuschaos/litmus-checker:latest
|
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
|
- name: cleanup-chaos-resources
|
||||||
container:
|
container:
|
||||||
image: litmuschaos/k8s:latest
|
image: litmuschaos/k8s:latest
|
||||||
|
@@ -64,7 +64,7 @@ spec:
|
|||||||
- "patch"
|
- "patch"
|
||||||
- "update"
|
- "update"
|
||||||
- "delete"
|
- "delete"
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -143,7 +143,7 @@ spec:
|
|||||||
value: "kill -9 $(ps afx | grep \"[md5sum] /dev/zero\" | awk '{print$1}' | tr '\n' ' ')"
|
value: "kill -9 $(ps afx | grep \"[md5sum] /dev/zero\" | awk '{print$1}' | tr '\n' ' ')"
|
||||||
container:
|
container:
|
||||||
image: litmuschaos/litmus-checker:latest
|
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
|
- name: cleanup-chaos-resources
|
||||||
container:
|
container:
|
||||||
|
@@ -68,7 +68,7 @@ spec:
|
|||||||
- "patch"
|
- "patch"
|
||||||
- "update"
|
- "update"
|
||||||
- "delete"
|
- "delete"
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -147,7 +147,7 @@ spec:
|
|||||||
value: "kill -9 $(ps afx | grep \"[md5sum] /dev/zero\" | awk '{print$1}' | tr '\n' ' ')"
|
value: "kill -9 $(ps afx | grep \"[md5sum] /dev/zero\" | awk '{print$1}' | tr '\n' ' ')"
|
||||||
container:
|
container:
|
||||||
image: litmuschaos/litmus-checker:latest
|
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
|
- name: cleanup-chaos-resources
|
||||||
container:
|
container:
|
||||||
|
@@ -74,7 +74,7 @@ spec:
|
|||||||
verbs:
|
verbs:
|
||||||
- "get"
|
- "get"
|
||||||
- "list"
|
- "list"
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -145,7 +145,7 @@ spec:
|
|||||||
value: "false"
|
value: "false"
|
||||||
container:
|
container:
|
||||||
image: litmuschaos/litmus-checker:latest
|
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
|
- name: cleanup-chaos-resources
|
||||||
container:
|
container:
|
||||||
|
@@ -78,7 +78,7 @@ spec:
|
|||||||
verbs:
|
verbs:
|
||||||
- "get"
|
- "get"
|
||||||
- "list"
|
- "list"
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -149,7 +149,7 @@ spec:
|
|||||||
value: "false"
|
value: "false"
|
||||||
container:
|
container:
|
||||||
image: litmuschaos/litmus-checker:latest
|
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
|
- name: cleanup-chaos-resources
|
||||||
container:
|
container:
|
||||||
|
@@ -64,7 +64,7 @@ spec:
|
|||||||
- "patch"
|
- "patch"
|
||||||
- "update"
|
- "update"
|
||||||
- "delete"
|
- "delete"
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
- ./experiments -name pod-memory-hog
|
- ./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' ' ')"
|
value: "kill -9 $(ps afx | grep \"[dd] if /dev/zero\" | awk '{print $1}' | tr '\n' ' ')"
|
||||||
container:
|
container:
|
||||||
image: litmuschaos/litmus-checker:latest
|
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
|
- name: cleanup-chaos-resources
|
||||||
container:
|
container:
|
||||||
|
@@ -68,7 +68,7 @@ spec:
|
|||||||
- "patch"
|
- "patch"
|
||||||
- "update"
|
- "update"
|
||||||
- "delete"
|
- "delete"
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
- ./experiments -name pod-memory-hog
|
- ./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' ' ')"
|
value: "kill -9 $(ps afx | grep \"[dd] if /dev/zero\" | awk '{print $1}' | tr '\n' ' ')"
|
||||||
container:
|
container:
|
||||||
image: litmuschaos/litmus-checker:latest
|
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
|
- name: cleanup-chaos-resources
|
||||||
container:
|
container:
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -43,7 +52,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -52,71 +61,71 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60'
|
value: "60"
|
||||||
|
|
||||||
- name: CHAOS_INTERVAL
|
- name: CHAOS_INTERVAL
|
||||||
value: '60'
|
value: "60"
|
||||||
|
|
||||||
# Period to wait before and after injection of chaos in sec
|
# Period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# Instance ID of the target EC2 instance
|
# Instance ID of the target EC2 instance
|
||||||
# Multiple IDs can also be provided as comma separated values ex: id1,id2
|
# Multiple IDs can also be provided as comma separated values ex: id1,id2
|
||||||
- name: EC2_INSTANCE_ID
|
- name: EC2_INSTANCE_ID
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: REGION
|
- name: REGION
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# it defines the sequence of chaos execution for multiple target instances
|
# it defines the sequence of chaos execution for multiple target instances
|
||||||
# supported values: serial, parallel
|
# supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
# Provide the path of AWS credentials mounted from secret
|
# Provide the path of AWS credentials mounted from secret
|
||||||
- name: AWS_SHARED_CREDENTIALS_FILE
|
- name: AWS_SHARED_CREDENTIALS_FILE
|
||||||
value: '/tmp/cloud_config.yml'
|
value: "/tmp/cloud_config.yml"
|
||||||
|
|
||||||
# provide the number of workers for memory stress
|
# provide the number of workers for memory stress
|
||||||
- name: NUMBER_OF_WORKERS
|
- name: NUMBER_OF_WORKERS
|
||||||
value: '1'
|
value: "1"
|
||||||
|
|
||||||
# provide the percentage of available memory to stress
|
# provide the percentage of available memory to stress
|
||||||
- name: MEMORY_PERCENTAGE
|
- name: MEMORY_PERCENTAGE
|
||||||
value: '80'
|
value: "80"
|
||||||
|
|
||||||
# provide the CPU chores to be consumed
|
# provide the CPU chores to be consumed
|
||||||
# 0 will consume all the available CPU cores
|
# 0 will consume all the available CPU cores
|
||||||
- name: CPU_CORE
|
- name: CPU_CORE
|
||||||
value: '0'
|
value: "0"
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
# Provide the name of SSM doc
|
# Provide the name of SSM doc
|
||||||
# if not using the default stress docs
|
# if not using the default stress docs
|
||||||
- name: DOCUMENT_NAME
|
- name: DOCUMENT_NAME
|
||||||
value: 'LitmusChaos-AWS-SSM-Doc'
|
value: "LitmusChaos-AWS-SSM-Doc"
|
||||||
|
|
||||||
# Provide the type of SSM doc
|
# Provide the type of SSM doc
|
||||||
# if not using the default stress docs
|
# if not using the default stress docs
|
||||||
- name: DOCUMENT_TYPE
|
- name: DOCUMENT_TYPE
|
||||||
value: 'Command'
|
value: "Command"
|
||||||
|
|
||||||
# Provide the format of SSM doc
|
# Provide the format of SSM doc
|
||||||
# if not using the default stress docs
|
# if not using the default stress docs
|
||||||
- name: DOCUMENT_FORMAT
|
- name: DOCUMENT_FORMAT
|
||||||
value: 'YAML'
|
value: "YAML"
|
||||||
|
|
||||||
# Provide the path of SSM doc
|
# Provide the path of SSM doc
|
||||||
# if not using the default stress docs
|
# if not using the default stress docs
|
||||||
- name: DOCUMENT_PATH
|
- 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
|
# if you want to install dependencies to run default SSM docs
|
||||||
- name: INSTALL_DEPENDENCIES
|
- name: INSTALL_DEPENDENCIES
|
||||||
value: 'True'
|
value: "True"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: aws-ssm-chaos-by-id
|
name: aws-ssm-chaos-by-id
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -43,7 +52,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -52,75 +61,75 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60'
|
value: "60"
|
||||||
|
|
||||||
- name: CHAOS_INTERVAL
|
- name: CHAOS_INTERVAL
|
||||||
value: '60'
|
value: "60"
|
||||||
|
|
||||||
# Period to wait before and after injection of chaos in sec
|
# Period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide tag of the target EC2 instances
|
# provide tag of the target EC2 instances
|
||||||
# ex: team:devops (key:value)
|
# ex: team:devops (key:value)
|
||||||
- name: EC2_INSTANCE_TAG
|
- name: EC2_INSTANCE_TAG
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: REGION
|
- name: REGION
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# it defines the sequence of chaos execution for multiple target instances
|
# it defines the sequence of chaos execution for multiple target instances
|
||||||
# supported values: serial, parallel
|
# supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
# Provide the path of AWS credentials mounted from secret
|
# Provide the path of AWS credentials mounted from secret
|
||||||
- name: AWS_SHARED_CREDENTIALS_FILE
|
- name: AWS_SHARED_CREDENTIALS_FILE
|
||||||
value: '/tmp/cloud_config.yml'
|
value: "/tmp/cloud_config.yml"
|
||||||
|
|
||||||
# percentage of total instance to target
|
# percentage of total instance to target
|
||||||
- name: INSTANCE_AFFECTED_PERC
|
- name: INSTANCE_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the number of workers for memory stress
|
# provide the number of workers for memory stress
|
||||||
- name: NUMBER_OF_WORKERS
|
- name: NUMBER_OF_WORKERS
|
||||||
value: '1'
|
value: "1"
|
||||||
|
|
||||||
# provide the percentage of available memory to stress
|
# provide the percentage of available memory to stress
|
||||||
- name: MEMORY_PERCENTAGE
|
- name: MEMORY_PERCENTAGE
|
||||||
value: '80'
|
value: "80"
|
||||||
|
|
||||||
# provide the CPU chores to comsumed
|
# provide the CPU chores to comsumed
|
||||||
# 0 will consume all the available CPU cores
|
# 0 will consume all the available CPU cores
|
||||||
- name: CPU_CORE
|
- name: CPU_CORE
|
||||||
value: '0'
|
value: "0"
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
# Provide the name of SSM doc
|
# Provide the name of SSM doc
|
||||||
# if not using the default stress docs
|
# if not using the default stress docs
|
||||||
- name: DOCUMENT_NAME
|
- name: DOCUMENT_NAME
|
||||||
value: 'LitmusChaos-AWS-SSM-Doc'
|
value: "LitmusChaos-AWS-SSM-Doc"
|
||||||
|
|
||||||
# Provide the type of SSM doc
|
# Provide the type of SSM doc
|
||||||
# if not using the default stress docs
|
# if not using the default stress docs
|
||||||
- name: DOCUMENT_TYPE
|
- name: DOCUMENT_TYPE
|
||||||
value: 'Command'
|
value: "Command"
|
||||||
|
|
||||||
# Provide the format of SSM doc
|
# Provide the format of SSM doc
|
||||||
# if not using the default stress docs
|
# if not using the default stress docs
|
||||||
- name: DOCUMENT_FORMAT
|
- name: DOCUMENT_FORMAT
|
||||||
value: 'YAML'
|
value: "YAML"
|
||||||
|
|
||||||
# Provide the path of SSM doc
|
# Provide the path of SSM doc
|
||||||
# if not using the default stress docs
|
# if not using the default stress docs
|
||||||
- name: DOCUMENT_PATH
|
- 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
|
# if you want to install dependencies to run default SSM docs
|
||||||
- name: INSTALL_DEPENDENCIES
|
- name: INSTALL_DEPENDENCIES
|
||||||
value: 'True'
|
value: "True"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: aws-ssm-chaos-by-tag
|
name: aws-ssm-chaos-by-tag
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -43,7 +52,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -52,30 +61,30 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '30'
|
value: "30"
|
||||||
|
|
||||||
- name: CHAOS_INTERVAL
|
- name: CHAOS_INTERVAL
|
||||||
value: '30'
|
value: "30"
|
||||||
|
|
||||||
# Period to wait before and after injection of chaos in sec
|
# Period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: EBS_VOLUME_ID
|
- name: EBS_VOLUME_ID
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: REGION
|
- name: REGION
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
# Provide the path of AWS credentials mounted from secret
|
# Provide the path of AWS credentials mounted from secret
|
||||||
- name: AWS_SHARED_CREDENTIALS_FILE
|
- name: AWS_SHARED_CREDENTIALS_FILE
|
||||||
value: '/tmp/cloud_config.yml'
|
value: "/tmp/cloud_config.yml"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: ebs-loss-by-id
|
name: ebs-loss-by-id
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -43,7 +52,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -52,32 +61,32 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '30'
|
value: "30"
|
||||||
|
|
||||||
- name: CHAOS_INTERVAL
|
- name: CHAOS_INTERVAL
|
||||||
value: '30'
|
value: "30"
|
||||||
|
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: EBS_VOLUME_TAG
|
- name: EBS_VOLUME_TAG
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: REGION
|
- name: REGION
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
- name: VOLUME_AFFECTED_PERC
|
- name: VOLUME_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
# Provide the path of AWS credentials mounted from secret
|
# Provide the path of AWS credentials mounted from secret
|
||||||
- name: AWS_SHARED_CREDENTIALS_FILE
|
- name: AWS_SHARED_CREDENTIALS_FILE
|
||||||
value: '/tmp/cloud_config.yml'
|
value: "/tmp/cloud_config.yml"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: ebs-loss-by-tag
|
name: ebs-loss-by-tag
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -47,7 +56,7 @@ spec:
|
|||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["nodes"]
|
resources: ["nodes"]
|
||||||
verbs: ["get", "list"]
|
verbs: ["get", "list"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -56,42 +65,42 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '30'
|
value: "30"
|
||||||
|
|
||||||
- name: CHAOS_INTERVAL
|
- name: CHAOS_INTERVAL
|
||||||
value: '30'
|
value: "30"
|
||||||
|
|
||||||
# Period to wait before and after injection of chaos in sec
|
# Period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# Provide a common tag to target ec2 instances
|
# Provide a common tag to target ec2 instances
|
||||||
- name: EC2_INSTANCE_TAG
|
- name: EC2_INSTANCE_TAG
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# enable it if the target instance is a part of self-managed nodegroup.
|
# enable it if the target instance is a part of self-managed nodegroup.
|
||||||
- name: MANAGED_NODEGROUP
|
- name: MANAGED_NODEGROUP
|
||||||
value: 'disable'
|
value: "disable"
|
||||||
|
|
||||||
- name: REGION
|
- name: REGION
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# Target the percentage of instance filtered from tag
|
# Target the percentage of instance filtered from tag
|
||||||
- name: INSTANCE_AFFECTED_PERC
|
- name: INSTANCE_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
# Provide the path of AWS credentials mounted from secret
|
# Provide the path of AWS credentials mounted from secret
|
||||||
- name: AWS_SHARED_CREDENTIALS_FILE
|
- name: AWS_SHARED_CREDENTIALS_FILE
|
||||||
value: '/tmp/cloud_config.yml'
|
value: "/tmp/cloud_config.yml"
|
||||||
|
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: ec2-stop-by-tag
|
name: ec2-stop-by-tag
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -47,7 +56,7 @@ spec:
|
|||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["nodes"]
|
resources: ["nodes"]
|
||||||
verbs: ["get", "list"]
|
verbs: ["get", "list"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -56,36 +65,36 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '30'
|
value: "30"
|
||||||
|
|
||||||
- name: CHAOS_INTERVAL
|
- name: CHAOS_INTERVAL
|
||||||
value: '30'
|
value: "30"
|
||||||
|
|
||||||
# Period to wait before and after injection of chaos in sec
|
# Period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
# enable it if the target instance is a part of self-managed nodegroup.
|
# enable it if the target instance is a part of self-managed nodegroup.
|
||||||
- name: MANAGED_NODEGROUP
|
- name: MANAGED_NODEGROUP
|
||||||
value: 'disable'
|
value: "disable"
|
||||||
|
|
||||||
# Instance ID of the target EC2 instance
|
# Instance ID of the target EC2 instance
|
||||||
# Multiple IDs can also be provided as comma separated values ex: id1,id2
|
# Multiple IDs can also be provided as comma separated values ex: id1,id2
|
||||||
- name: EC2_INSTANCE_ID
|
- name: EC2_INSTANCE_ID
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: REGION
|
- name: REGION
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
# Provide the path of AWS credentials mounted from secret
|
# Provide the path of AWS credentials mounted from secret
|
||||||
- name: AWS_SHARED_CREDENTIALS_FILE
|
- name: AWS_SHARED_CREDENTIALS_FILE
|
||||||
value: '/tmp/cloud_config.yml'
|
value: "/tmp/cloud_config.yml"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: ec2-terminate-by-id
|
name: ec2-terminate-by-id
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -43,7 +52,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -52,37 +61,37 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '30'
|
value: "30"
|
||||||
|
|
||||||
- name: CHAOS_INTERVAL
|
- name: CHAOS_INTERVAL
|
||||||
value: '30'
|
value: "30"
|
||||||
|
|
||||||
# Period to wait before and after injection of chaos in sec
|
# Period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the resource group of the instance
|
# provide the resource group of the instance
|
||||||
- name: RESOURCE_GROUP
|
- name: RESOURCE_GROUP
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# accepts enable/disable, default is disable
|
# accepts enable/disable, default is disable
|
||||||
- name: SCALE_SET
|
- name: SCALE_SET
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the virtual disk names (comma separated if multiple)
|
# provide the virtual disk names (comma separated if multiple)
|
||||||
- name: VIRTUAL_DISK_NAMES
|
- name: VIRTUAL_DISK_NAMES
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the sequence type for the run. Options: serial/parallel
|
# provide the sequence type for the run. Options: serial/parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
# provide the path to aks credentials mounted from secret
|
# provide the path to aks credentials mounted from secret
|
||||||
- name: AZURE_AUTH_LOCATION
|
- name: AZURE_AUTH_LOCATION
|
||||||
value: '/tmp/azure.auth'
|
value: "/tmp/azure.auth"
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: azure-disk-loss
|
name: azure-disk-loss
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -43,7 +52,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -52,36 +61,36 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '30'
|
value: "30"
|
||||||
|
|
||||||
- name: CHAOS_INTERVAL
|
- name: CHAOS_INTERVAL
|
||||||
value: '30'
|
value: "30"
|
||||||
|
|
||||||
# Period to wait before and after injection of chaos in sec
|
# Period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the target instance name(s) (comma separated if multiple)
|
# provide the target instance name(s) (comma separated if multiple)
|
||||||
- name: AZURE_INSTANCE_NAMES
|
- name: AZURE_INSTANCE_NAMES
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the resource group of the instance
|
# provide the resource group of the instance
|
||||||
- name: RESOURCE_GROUP
|
- name: RESOURCE_GROUP
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# accepts enable/disable, default is disable
|
# accepts enable/disable, default is disable
|
||||||
- name: SCALE_SET
|
- name: SCALE_SET
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# Provide the path of aks credentials mounted from secret
|
# Provide the path of aks credentials mounted from secret
|
||||||
- name: AZURE_AUTH_LOCATION
|
- name: AZURE_AUTH_LOCATION
|
||||||
value: '/tmp/azure.auth'
|
value: "/tmp/azure.auth"
|
||||||
|
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: azure-instance-stop
|
name: azure-instance-stop
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -39,7 +48,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -49,35 +58,35 @@ spec:
|
|||||||
env:
|
env:
|
||||||
# set chaos duration (in sec) as desired
|
# set chaos duration (in sec) as desired
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '30'
|
value: "30"
|
||||||
|
|
||||||
# set chaos interval (in sec) as desired
|
# set chaos interval (in sec) as desired
|
||||||
- name: CHAOS_INTERVAL
|
- name: CHAOS_INTERVAL
|
||||||
value: '30'
|
value: "30"
|
||||||
|
|
||||||
# set the GCP project id
|
# set the GCP project id
|
||||||
- name: GCP_PROJECT_ID
|
- name: GCP_PROJECT_ID
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# set the zone in which all the disks are created
|
# set the zone in which all the disks are created
|
||||||
# all the disks must exist in the same zone
|
# all the disks must exist in the same zone
|
||||||
- name: ZONES
|
- name: ZONES
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# set the label of the target disk volumes
|
# set the label of the target disk volumes
|
||||||
- name: DISK_VOLUME_LABEL
|
- name: DISK_VOLUME_LABEL
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# set the percentage value of the disks with the given label
|
# set the percentage value of the disks with the given label
|
||||||
# which should be targeted as part of the chaos injection
|
# which should be targeted as part of the chaos injection
|
||||||
- name: DISK_AFFECTED_PERC
|
- name: DISK_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: gcp-vm-disk-loss-by-label
|
name: gcp-vm-disk-loss-by-label
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -39,7 +48,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -48,40 +57,40 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '30'
|
value: "30"
|
||||||
|
|
||||||
- name: CHAOS_INTERVAL
|
- name: CHAOS_INTERVAL
|
||||||
value: '30'
|
value: "30"
|
||||||
|
|
||||||
# Period to wait before and after injection of chaos in sec
|
# Period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# parallel or serial; determines how chaos is injected
|
# parallel or serial; determines how chaos is injected
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
# set the GCP project id
|
# set the GCP project id
|
||||||
- name: GCP_PROJECT_ID
|
- name: GCP_PROJECT_ID
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# set the disk volume name(s) as comma seperated values
|
# set the disk volume name(s) as comma seperated values
|
||||||
# eg. volume1,volume2,...
|
# eg. volume1,volume2,...
|
||||||
- name: DISK_VOLUME_NAMES
|
- name: DISK_VOLUME_NAMES
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# set the disk zone(s) as comma seperated values in the corresponding
|
# set the disk zone(s) as comma seperated values in the corresponding
|
||||||
# order of DISK_VOLUME_NAME
|
# order of DISK_VOLUME_NAME
|
||||||
# eg. zone1,zone2,...
|
# eg. zone1,zone2,...
|
||||||
- name: ZONES
|
- name: ZONES
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
# parallel or serial; determines how chaos is injected
|
# parallel or serial; determines how chaos is injected
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: gcp-vm-disk-loss
|
name: gcp-vm-disk-loss
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -43,7 +52,7 @@ spec:
|
|||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["nodes"]
|
resources: ["nodes"]
|
||||||
verbs: ["get", "list"]
|
verbs: ["get", "list"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -53,39 +62,39 @@ spec:
|
|||||||
env:
|
env:
|
||||||
# set chaos duration (in sec) as desired
|
# set chaos duration (in sec) as desired
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '30'
|
value: "30"
|
||||||
|
|
||||||
# set chaos interval (in sec) as desired
|
# set chaos interval (in sec) as desired
|
||||||
- name: CHAOS_INTERVAL
|
- name: CHAOS_INTERVAL
|
||||||
value: '30'
|
value: "30"
|
||||||
|
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
# GCP project ID to which the VM instances belong
|
# GCP project ID to which the VM instances belong
|
||||||
- name: GCP_PROJECT_ID
|
- name: GCP_PROJECT_ID
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# Label of the target VM instance(s)
|
# Label of the target VM instance(s)
|
||||||
- name: INSTANCE_LABEL
|
- name: INSTANCE_LABEL
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# Zone in which the target VM instance(s) filtered by the label exist
|
# Zone in which the target VM instance(s) filtered by the label exist
|
||||||
# all the instances should lie in a single zone
|
# all the instances should lie in a single zone
|
||||||
- name: ZONES
|
- name: ZONES
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# enable it if the target instance is a part of a managed instance group
|
# enable it if the target instance is a part of a managed instance group
|
||||||
- name: MANAGED_INSTANCE_GROUP
|
- name: MANAGED_INSTANCE_GROUP
|
||||||
value: 'disable'
|
value: "disable"
|
||||||
|
|
||||||
# set the percentage value of the instances with the given label
|
# set the percentage value of the instances with the given label
|
||||||
# which should be targeted as part of the chaos injection
|
# which should be targeted as part of the chaos injection
|
||||||
- name: INSTANCE_AFFECTED_PERC
|
- name: INSTANCE_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: gcp-vm-instance-stop-by-label
|
name: gcp-vm-instance-stop-by-label
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -43,7 +52,7 @@ spec:
|
|||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["nodes"]
|
resources: ["nodes"]
|
||||||
verbs: ["get", "list"]
|
verbs: ["get", "list"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -52,44 +61,44 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '30'
|
value: "30"
|
||||||
|
|
||||||
- name: CHAOS_INTERVAL
|
- 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
|
# parallel or serial; determines how the VM instances are terminated, all at once or one at a time
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
# period to wait before and after injection of chaos in sec
|
# period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- 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
|
# enable or disable; shall be set to enable if the target instances are a part of a managed instance group
|
||||||
- name: MANAGED_INSTANCE_GROUP
|
- name: MANAGED_INSTANCE_GROUP
|
||||||
value: 'disable'
|
value: "disable"
|
||||||
|
|
||||||
# Instance name of the target VM instance(s)
|
# Instance name of the target VM instance(s)
|
||||||
# Multiple instance names can be provided as comma separated values ex: instance1,instance2
|
# Multiple instance names can be provided as comma separated values ex: instance1,instance2
|
||||||
- name: VM_INSTANCE_NAMES
|
- name: VM_INSTANCE_NAMES
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# GCP project ID to which the VM instances belong
|
# GCP project ID to which the VM instances belong
|
||||||
- name: GCP_PROJECT_ID
|
- name: GCP_PROJECT_ID
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# Instance zone(s) of the target VM instance(s)
|
# 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
|
# 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
|
# respective instance name in VM_INSTANCE_NAME as comma separated values ex: zone1,zone2
|
||||||
- name: ZONES
|
- name: ZONES
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
# parallel or serial; determines how chaos is injected
|
# parallel or serial; determines how chaos is injected
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: gcp-vm-instance-stop
|
name: gcp-vm-instance-stop
|
||||||
|
@@ -17,7 +17,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -58,7 +67,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -67,53 +76,53 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TARGET_CONTAINER
|
- name: TARGET_CONTAINER
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# Period to wait before and after injection of chaos in sec
|
# Period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: TARGET_PODS
|
- name: TARGET_PODS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the chaos interval
|
# provide the chaos interval
|
||||||
- name: CHAOS_INTERVAL
|
- name: CHAOS_INTERVAL
|
||||||
value: '10'
|
value: "10"
|
||||||
|
|
||||||
- name: SIGNAL
|
- name: SIGNAL
|
||||||
value: 'SIGKILL'
|
value: "SIGKILL"
|
||||||
|
|
||||||
# provide the socket file path
|
# provide the socket file path
|
||||||
- name: SOCKET_PATH
|
- name: SOCKET_PATH
|
||||||
value: '/run/containerd/containerd.sock'
|
value: "/run/containerd/containerd.sock"
|
||||||
|
|
||||||
# provide the name of container runtime
|
# provide the name of container runtime
|
||||||
# it supports docker, containerd, crio
|
# it supports docker, containerd, crio
|
||||||
- name: CONTAINER_RUNTIME
|
- name: CONTAINER_RUNTIME
|
||||||
value: 'containerd'
|
value: "containerd"
|
||||||
|
|
||||||
# provide the total chaos duration
|
# provide the total chaos duration
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '20'
|
value: "20"
|
||||||
|
|
||||||
## percentage of total pods to target
|
## percentage of total pods to target
|
||||||
- name: PODS_AFFECTED_PERC
|
- name: PODS_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# To select pods on specific node(s)
|
# To select pods on specific node(s)
|
||||||
- name: NODE_LABEL
|
- name: NODE_LABEL
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'chaosnative/go-runner:ci'
|
value: "chaosnative/go-runner:ci"
|
||||||
|
|
||||||
## it defines the sequence of chaos execution for multiple target pods
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: container-kill
|
name: container-kill
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -59,7 +68,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -68,52 +77,52 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TARGET_CONTAINER
|
- name: TARGET_CONTAINER
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: FILL_PERCENTAGE
|
- name: FILL_PERCENTAGE
|
||||||
value: '80'
|
value: "80"
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60'
|
value: "60"
|
||||||
|
|
||||||
# Period to wait before and after injection of chaos in sec
|
# Period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the data block size
|
# provide the data block size
|
||||||
# supported unit is KB
|
# supported unit is KB
|
||||||
- name: DATA_BLOCK_SIZE
|
- name: DATA_BLOCK_SIZE
|
||||||
value: '256'
|
value: "256"
|
||||||
|
|
||||||
- name: TARGET_PODS
|
- name: TARGET_PODS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: EPHEMERAL_STORAGE_MEBIBYTES
|
- name: EPHEMERAL_STORAGE_MEBIBYTES
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# To select pods on specific node(s)
|
# To select pods on specific node(s)
|
||||||
- name: NODE_LABEL
|
- name: NODE_LABEL
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## percentage of total pods to target
|
## percentage of total pods to target
|
||||||
- name: PODS_AFFECTED_PERC
|
- name: PODS_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'chaosnative/go-runner:ci'
|
value: "chaosnative/go-runner:ci"
|
||||||
|
|
||||||
# Provide the container runtime path
|
# Provide the container runtime path
|
||||||
# Default set to docker container path
|
# Default set to docker container path
|
||||||
- name: 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
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: disk-fill
|
name: disk-fill
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -47,7 +56,7 @@ spec:
|
|||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["nodes"]
|
resources: ["nodes"]
|
||||||
verbs: ["get", "list"]
|
verbs: ["get", "list"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -56,25 +65,25 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '90' # in seconds
|
value: "90" # in seconds
|
||||||
|
|
||||||
# Period to wait before injection of chaos in sec
|
# Period to wait before injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: NODE_LABEL
|
- name: NODE_LABEL
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide lib image
|
# provide lib image
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'ubuntu:16.04'
|
value: "ubuntu:16.04"
|
||||||
|
|
||||||
# provide the target node name
|
# provide the target node name
|
||||||
- name: TARGET_NODE
|
- name: TARGET_NODE
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: docker-service-kill
|
name: docker-service-kill
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -47,7 +56,7 @@ spec:
|
|||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["nodes"]
|
resources: ["nodes"]
|
||||||
verbs: ["get", "list"]
|
verbs: ["get", "list"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -56,25 +65,25 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60' # in seconds
|
value: "60" # in seconds
|
||||||
|
|
||||||
# Period to wait before and after injection of chaos in sec
|
# Period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: NODE_LABEL
|
- name: NODE_LABEL
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide lib image
|
# provide lib image
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'ubuntu:16.04'
|
value: "ubuntu:16.04"
|
||||||
|
|
||||||
# provide the target node name
|
# provide the target node name
|
||||||
- name: TARGET_NODE
|
- name: TARGET_NODE
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: kubelet-service-kill
|
name: kubelet-service-kill
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -47,7 +56,7 @@ spec:
|
|||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["nodes"]
|
resources: ["nodes"]
|
||||||
verbs: ["get", "list"]
|
verbs: ["get", "list"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -56,44 +65,44 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60'
|
value: "60"
|
||||||
|
|
||||||
# Period to wait before and after injection of chaos in sec
|
# Period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## ENTER THE NUMBER OF CORES OF CPU FOR CPU HOGGING
|
## ENTER THE NUMBER OF CORES OF CPU FOR CPU HOGGING
|
||||||
## OPTIONAL VALUE IN CASE OF EMPTY VALUE IT WILL TAKE NODE CPU CAPACITY
|
## OPTIONAL VALUE IN CASE OF EMPTY VALUE IT WILL TAKE NODE CPU CAPACITY
|
||||||
- name: NODE_CPU_CORE
|
- name: NODE_CPU_CORE
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## LOAD CPU WITH GIVEN PERCENT LOADING FOR THE CPU STRESS WORKERS.
|
## LOAD CPU WITH GIVEN PERCENT LOADING FOR THE CPU STRESS WORKERS.
|
||||||
## 0 IS EFFECTIVELY A SLEEP (NO LOAD) AND 100 IS FULL LOADING
|
## 0 IS EFFECTIVELY A SLEEP (NO LOAD) AND 100 IS FULL LOADING
|
||||||
- name: CPU_LOAD
|
- name: CPU_LOAD
|
||||||
value: '100'
|
value: "100"
|
||||||
|
|
||||||
# ENTER THE COMMA SEPARATED TARGET NODES NAME
|
# ENTER THE COMMA SEPARATED TARGET NODES NAME
|
||||||
- name: TARGET_NODES
|
- name: TARGET_NODES
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: NODE_LABEL
|
- name: NODE_LABEL
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide lib image
|
# provide lib image
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'chaosnative/go-runner:ci'
|
value: "chaosnative/go-runner:ci"
|
||||||
|
|
||||||
## percentage of total nodes to target
|
## percentage of total nodes to target
|
||||||
- name: NODES_AFFECTED_PERC
|
- name: NODES_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
## it defines the sequence of chaos execution for multiple target nodes
|
## it defines the sequence of chaos execution for multiple target nodes
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: node-cpu-hog
|
name: node-cpu-hog
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -51,7 +60,7 @@ spec:
|
|||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["nodes"]
|
resources: ["nodes"]
|
||||||
verbs: ["get", "list", "patch"]
|
verbs: ["get", "list", "patch"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -60,20 +69,20 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TARGET_NODE
|
- name: TARGET_NODE
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: NODE_LABEL
|
- name: NODE_LABEL
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60'
|
value: "60"
|
||||||
|
|
||||||
# Period to wait before and after injection of chaos in sec
|
# Period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: node-drain
|
name: node-drain
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -47,7 +56,7 @@ spec:
|
|||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["nodes"]
|
resources: ["nodes"]
|
||||||
verbs: ["get", "list"]
|
verbs: ["get", "list"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -56,56 +65,56 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '120'
|
value: "120"
|
||||||
|
|
||||||
## specify the size as percentage of free space on the file system
|
## specify the size as percentage of free space on the file system
|
||||||
## default value 90 (in percentage)
|
## default value 90 (in percentage)
|
||||||
- name: FILESYSTEM_UTILIZATION_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
|
## 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
|
## NOTE: for selecting this option FILESYSTEM_UTILIZATION_PERCENTAGE should be empty
|
||||||
- name: FILESYSTEM_UTILIZATION_BYTES
|
- name: FILESYSTEM_UTILIZATION_BYTES
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## Number of core of CPU
|
## Number of core of CPU
|
||||||
- name: CPU
|
- name: CPU
|
||||||
value: '1'
|
value: "1"
|
||||||
|
|
||||||
## Total number of workers default value is 4
|
## Total number of workers default value is 4
|
||||||
- name: NUMBER_OF_WORKERS
|
- name: NUMBER_OF_WORKERS
|
||||||
value: '4'
|
value: "4"
|
||||||
|
|
||||||
## Total number of VM workers
|
## Total number of VM workers
|
||||||
- name: VM_WORKERS
|
- name: VM_WORKERS
|
||||||
value: '1'
|
value: "1"
|
||||||
|
|
||||||
## enter the comma separated target nodes name
|
## enter the comma separated target nodes name
|
||||||
- name: TARGET_NODES
|
- name: TARGET_NODES
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: NODE_LABEL
|
- name: NODE_LABEL
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# Period to wait before and after injection of chaos in sec
|
# Period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide lib image
|
# provide lib image
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'chaosnative/go-runner:ci'
|
value: "chaosnative/go-runner:ci"
|
||||||
|
|
||||||
## percentage of total nodes to target
|
## percentage of total nodes to target
|
||||||
- name: NODES_AFFECTED_PERC
|
- name: NODES_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
## it defines the sequence of chaos execution for multiple target nodes
|
## it defines the sequence of chaos execution for multiple target nodes
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: node-io-stress
|
name: node-io-stress
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -47,7 +56,7 @@ spec:
|
|||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["nodes"]
|
resources: ["nodes"]
|
||||||
verbs: ["get", "list"]
|
verbs: ["get", "list"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -56,47 +65,47 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '120'
|
value: "120"
|
||||||
|
|
||||||
## Specify the size as percent of total node capacity Ex: '30'
|
## Specify the size as percent of total node capacity Ex: '30'
|
||||||
## NOTE: for selecting this option keep MEMORY_CONSUMPTION_MEBIBYTES empty
|
## NOTE: for selecting this option keep MEMORY_CONSUMPTION_MEBIBYTES empty
|
||||||
- name: MEMORY_CONSUMPTION_PERCENTAGE
|
- name: MEMORY_CONSUMPTION_PERCENTAGE
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## Specify the amount of memory to be consumed in mebibytes
|
## Specify the amount of memory to be consumed in mebibytes
|
||||||
## NOTE: for selecting this option keep MEMORY_CONSUMPTION_PERCENTAGE empty
|
## NOTE: for selecting this option keep MEMORY_CONSUMPTION_PERCENTAGE empty
|
||||||
- name: MEMORY_CONSUMPTION_MEBIBYTES
|
- name: MEMORY_CONSUMPTION_MEBIBYTES
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: NUMBER_OF_WORKERS
|
- name: NUMBER_OF_WORKERS
|
||||||
value: '1'
|
value: "1"
|
||||||
|
|
||||||
# ENTER THE COMMA SEPARATED TARGET NODES NAME
|
# ENTER THE COMMA SEPARATED TARGET NODES NAME
|
||||||
- name: TARGET_NODES
|
- name: TARGET_NODES
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: NODE_LABEL
|
- name: NODE_LABEL
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# Period to wait before and after injection of chaos in sec
|
# Period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide lib image
|
# provide lib image
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'chaosnative/go-runner:ci'
|
value: "chaosnative/go-runner:ci"
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
## percentage of total nodes to target
|
## percentage of total nodes to target
|
||||||
- name: NODES_AFFECTED_PERC
|
- name: NODES_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## it defines the sequence of chaos execution for multiple target nodes
|
## it defines the sequence of chaos execution for multiple target nodes
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: node-memory-hog
|
name: node-memory-hog
|
||||||
|
@@ -18,36 +18,45 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
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)
|
# Fetch configmaps & secrets details and mount it to the experiment pod (if specified)
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["configmaps","secrets"]
|
resources: ["configmaps", "secrets"]
|
||||||
verbs: ["get","list",]
|
verbs: ["get", "list"]
|
||||||
# Track and get the runner, experiment, and helper pods log
|
# Track and get the runner, experiment, and helper pods log
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods/log"]
|
resources: ["pods/log"]
|
||||||
verbs: ["get","list","watch"]
|
verbs: ["get", "list", "watch"]
|
||||||
# for creating and managing to execute comands inside target container
|
# for creating and managing to execute comands inside target container
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods/exec"]
|
resources: ["pods/exec"]
|
||||||
verbs: ["get","list","create"]
|
verbs: ["get", "list", "create"]
|
||||||
# for configuring and monitor the experiment job by the chaos-runner pod
|
# for configuring and monitor the experiment job by the chaos-runner pod
|
||||||
- apiGroups: ["batch"]
|
- apiGroups: ["batch"]
|
||||||
resources: ["jobs"]
|
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
|
# for creation, status polling and deletion of litmus chaos resources used within a chaos workflow
|
||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines","chaosexperiments","chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create","list","get","patch","update","delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
# for experiment to perform node status checks
|
# for experiment to perform node status checks
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["nodes"]
|
resources: ["nodes"]
|
||||||
verbs: ["get","list"]
|
verbs: ["get", "list"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -56,32 +65,32 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: SSH_USER
|
- name: SSH_USER
|
||||||
value: 'root'
|
value: "root"
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60'
|
value: "60"
|
||||||
|
|
||||||
- name: REBOOT_COMMAND
|
- name: REBOOT_COMMAND
|
||||||
value: '-o ServerAliveInterval=1 -o ServerAliveCountMax=1 "sudo systemctl poweroff --force --force" ; true'
|
value: '-o ServerAliveInterval=1 -o ServerAliveCountMax=1 "sudo systemctl poweroff --force --force" ; true'
|
||||||
|
|
||||||
# Period to wait before and after injection of chaos in sec
|
# Period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide lib image
|
# provide lib image
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: "litmuschaos/go-runner:3.0.0-beta10"
|
value: "litmuschaos/go-runner:latest"
|
||||||
|
|
||||||
# ENTER THE TARGET NODE NAME
|
# ENTER THE TARGET NODE NAME
|
||||||
- name: TARGET_NODE
|
- name: TARGET_NODE
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: NODE_LABEL
|
- name: NODE_LABEL
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# ENTER THE TARGET NODE IP
|
# ENTER THE TARGET NODE IP
|
||||||
- name: TARGET_NODE_IP
|
- name: TARGET_NODE_IP
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: node-poweroff
|
name: node-poweroff
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -47,7 +56,7 @@ spec:
|
|||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["nodes"]
|
resources: ["nodes"]
|
||||||
verbs: ["get", "list"]
|
verbs: ["get", "list"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -56,16 +65,16 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: SSH_USER
|
- name: SSH_USER
|
||||||
value: 'root'
|
value: "root"
|
||||||
- name: REBOOT_COMMAND
|
- name: REBOOT_COMMAND
|
||||||
value: 'sudo systemctl reboot; true'
|
value: "sudo systemctl reboot; true"
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60'
|
value: "60"
|
||||||
|
|
||||||
# Period to wait before and after injection of chaos in sec
|
# Period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide lib image
|
# provide lib image
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
@@ -73,17 +82,17 @@ spec:
|
|||||||
|
|
||||||
# ENTER THE TARGET NODE NAME
|
# ENTER THE TARGET NODE NAME
|
||||||
- name: TARGET_NODE
|
- name: TARGET_NODE
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: NODE_LABEL
|
- name: NODE_LABEL
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# ENTER THE TARGET NODE IP
|
# ENTER THE TARGET NODE IP
|
||||||
- name: TARGET_NODE_IP
|
- name: TARGET_NODE_IP
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: node-restart
|
name: node-restart
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -51,7 +60,7 @@ spec:
|
|||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["nodes"]
|
resources: ["nodes"]
|
||||||
verbs: ["get", "list", "patch", "update"]
|
verbs: ["get", "list", "patch", "update"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -60,25 +69,25 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TARGET_NODE
|
- name: TARGET_NODE
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: NODE_LABEL
|
- name: NODE_LABEL
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60'
|
value: "60"
|
||||||
|
|
||||||
# Period to wait before and after injection of chaos in sec
|
# Period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# set taint label & effect
|
# set taint label & effect
|
||||||
# key=value:effect or key:effect
|
# key=value:effect or key:effect
|
||||||
- name: TAINTS
|
- name: TAINTS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: node-taint
|
name: node-taint
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -47,7 +56,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -56,18 +65,18 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60'
|
value: "60"
|
||||||
|
|
||||||
# Period to wait before and after injection of chaos in sec
|
# Period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# Number of replicas to scale
|
# Number of replicas to scale
|
||||||
- name: REPLICA_COUNT
|
- name: REPLICA_COUNT
|
||||||
value: '5'
|
value: "5"
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: pod-autoscaler
|
name: pod-autoscaler
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -59,7 +68,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -68,37 +77,37 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60'
|
value: "60"
|
||||||
|
|
||||||
## Number of CPU cores to stress
|
## Number of CPU cores to stress
|
||||||
- name: CPU_CORES
|
- name: CPU_CORES
|
||||||
value: '1'
|
value: "1"
|
||||||
|
|
||||||
## Percentage of total pods to target
|
## Percentage of total pods to target
|
||||||
- name: PODS_AFFECTED_PERC
|
- name: PODS_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## Period to wait before and after injection of chaos in sec
|
## Period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# The command to kill the chaos process
|
# The command to kill the chaos process
|
||||||
- name: CHAOS_KILL_COMMAND
|
- name: CHAOS_KILL_COMMAND
|
||||||
value: "kill $(find /proc -name exe -lname '*/md5sum' 2>&1 | grep -v 'Permission denied' | awk -F/ '{print $(NF-1)}')"
|
value: "kill $(find /proc -name exe -lname '*/md5sum' 2>&1 | grep -v 'Permission denied' | awk -F/ '{print $(NF-1)}')"
|
||||||
|
|
||||||
- name: TARGET_CONTAINER
|
- name: TARGET_CONTAINER
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: TARGET_PODS
|
- name: TARGET_PODS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
## it defines the sequence of chaos execution for multiple target pods
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: pod-cpu-hog-exec
|
name: pod-cpu-hog-exec
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -59,7 +68,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -68,58 +77,58 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60'
|
value: "60"
|
||||||
|
|
||||||
## Number of CPU cores to stress
|
## Number of CPU cores to stress
|
||||||
- name: CPU_CORES
|
- name: CPU_CORES
|
||||||
value: '1'
|
value: "1"
|
||||||
|
|
||||||
## LOAD CPU WITH GIVEN PERCENT LOADING FOR THE CPU STRESS WORKERS.
|
## LOAD CPU WITH GIVEN PERCENT LOADING FOR THE CPU STRESS WORKERS.
|
||||||
## 0 IS EFFECTIVELY A SLEEP (NO LOAD) AND 100 IS FULL LOADING
|
## 0 IS EFFECTIVELY A SLEEP (NO LOAD) AND 100 IS FULL LOADING
|
||||||
- name: CPU_LOAD
|
- name: CPU_LOAD
|
||||||
value: '100'
|
value: "100"
|
||||||
|
|
||||||
## Percentage of total pods to target
|
## Percentage of total pods to target
|
||||||
- name: PODS_AFFECTED_PERC
|
- name: PODS_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## Period to wait before and after injection of chaos in sec
|
## Period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## It is used in pumba lib only
|
## It is used in pumba lib only
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'chaosnative/go-runner:ci'
|
value: "chaosnative/go-runner:ci"
|
||||||
|
|
||||||
## It is used in pumba lib only
|
## It is used in pumba lib only
|
||||||
- name: STRESS_IMAGE
|
- name: STRESS_IMAGE
|
||||||
value: 'alexeiled/stress-ng:latest-ubuntu'
|
value: "alexeiled/stress-ng:latest-ubuntu"
|
||||||
|
|
||||||
## provide the cluster runtime
|
## provide the cluster runtime
|
||||||
- name: CONTAINER_RUNTIME
|
- name: CONTAINER_RUNTIME
|
||||||
value: 'containerd'
|
value: "containerd"
|
||||||
|
|
||||||
# provide the socket file path
|
# provide the socket file path
|
||||||
- name: SOCKET_PATH
|
- name: SOCKET_PATH
|
||||||
value: '/run/containerd/containerd.sock'
|
value: "/run/containerd/containerd.sock"
|
||||||
|
|
||||||
- name: TARGET_CONTAINER
|
- name: TARGET_CONTAINER
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: TARGET_PODS
|
- name: TARGET_PODS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
# To select pods on specific node(s)
|
# To select pods on specific node(s)
|
||||||
- name: NODE_LABEL
|
- name: NODE_LABEL
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## it defines the sequence of chaos execution for multiple target pods
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: pod-cpu-hog
|
name: pod-cpu-hog
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -59,7 +68,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -68,39 +77,39 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '15'
|
value: "15"
|
||||||
|
|
||||||
# Period to wait before and after injection of chaos in sec
|
# Period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: FORCE
|
- name: FORCE
|
||||||
value: 'true'
|
value: "true"
|
||||||
|
|
||||||
- name: CHAOS_INTERVAL
|
- name: CHAOS_INTERVAL
|
||||||
value: '5'
|
value: "5"
|
||||||
|
|
||||||
## percentage of total pods to target
|
## percentage of total pods to target
|
||||||
- name: PODS_AFFECTED_PERC
|
- name: PODS_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: TARGET_CONTAINER
|
- name: TARGET_CONTAINER
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: TARGET_PODS
|
- name: TARGET_PODS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
# To select pods on specific node(s)
|
# To select pods on specific node(s)
|
||||||
- name: NODE_LABEL
|
- name: NODE_LABEL
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## it defines the sequence of chaos execution for multiple target pods
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: pod-delete
|
name: pod-delete
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -59,7 +68,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
- ./experiments -name pod-dns-error
|
- ./experiments -name pod-dns-error
|
||||||
@@ -74,7 +83,7 @@ spec:
|
|||||||
value: "chaosnative/go-runner:ci"
|
value: "chaosnative/go-runner:ci"
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: "60" # in seconds
|
value: "60" # in seconds
|
||||||
@@ -92,11 +101,11 @@ spec:
|
|||||||
|
|
||||||
# provide the name of container runtime, it supports docker, containerd, crio
|
# provide the name of container runtime, it supports docker, containerd, crio
|
||||||
- name: CONTAINER_RUNTIME
|
- name: CONTAINER_RUNTIME
|
||||||
value: 'containerd'
|
value: "containerd"
|
||||||
|
|
||||||
# provide the socket file path
|
# provide the socket file path
|
||||||
- name: SOCKET_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
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -59,7 +68,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
- ./experiments -name pod-dns-spoof
|
- ./experiments -name pod-dns-spoof
|
||||||
@@ -74,7 +83,7 @@ spec:
|
|||||||
value: "chaosnative/go-runner:ci"
|
value: "chaosnative/go-runner:ci"
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: "60" # in seconds
|
value: "60" # in seconds
|
||||||
@@ -92,11 +101,11 @@ spec:
|
|||||||
|
|
||||||
# provide the name of container runtime, it supports docker, containerd, crio
|
# provide the name of container runtime, it supports docker, containerd, crio
|
||||||
- name: CONTAINER_RUNTIME
|
- name: CONTAINER_RUNTIME
|
||||||
value: 'containerd'
|
value: "containerd"
|
||||||
|
|
||||||
# provide the socket file path
|
# provide the socket file path
|
||||||
- name: SOCKET_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
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -59,7 +68,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -68,14 +77,14 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TARGET_CONTAINER
|
- name: TARGET_CONTAINER
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide lib image
|
# provide lib image
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'chaosnative/go-runner:ci'
|
value: "chaosnative/go-runner:ci"
|
||||||
|
|
||||||
- name: LATENCY
|
- name: LATENCY
|
||||||
value: '2000' #in ms
|
value: "2000" #in ms
|
||||||
|
|
||||||
# port of the target service
|
# port of the target service
|
||||||
- name: TARGET_SERVICE_PORT
|
- name: TARGET_SERVICE_PORT
|
||||||
@@ -96,40 +105,40 @@ spec:
|
|||||||
value: "eth0"
|
value: "eth0"
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60' # in seconds
|
value: "60" # in seconds
|
||||||
|
|
||||||
# Time period to wait before and after injection of chaos in sec
|
# Time period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
# percentage of total pods to target
|
# percentage of total pods to target
|
||||||
- name: PODS_AFFECTED_PERC
|
- name: PODS_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: TARGET_PODS
|
- name: TARGET_PODS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the name of container runtime
|
# provide the name of container runtime
|
||||||
# for litmus LIB, it supports docker, containerd, crio
|
# for litmus LIB, it supports docker, containerd, crio
|
||||||
# for pumba LIB, it supports docker only
|
# for pumba LIB, it supports docker only
|
||||||
- name: CONTAINER_RUNTIME
|
- name: CONTAINER_RUNTIME
|
||||||
value: 'containerd'
|
value: "containerd"
|
||||||
|
|
||||||
# provide the socket file path
|
# provide the socket file path
|
||||||
- name: SOCKET_PATH
|
- name: SOCKET_PATH
|
||||||
value: '/run/containerd/containerd.sock'
|
value: "/run/containerd/containerd.sock"
|
||||||
|
|
||||||
# To select pods on specific node(s)
|
# To select pods on specific node(s)
|
||||||
- name: NODE_LABEL
|
- name: NODE_LABEL
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## it defines the sequence of chaos execution for multiple target pods
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: pod-http-latency
|
name: pod-http-latency
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -59,7 +68,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -68,26 +77,26 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TARGET_CONTAINER
|
- name: TARGET_CONTAINER
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide lib image
|
# provide lib image
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'chaosnative/go-runner:ci'
|
value: "chaosnative/go-runner:ci"
|
||||||
|
|
||||||
# provide the body string to overwrite the response body
|
# provide the body string to overwrite the response body
|
||||||
# if no value is provided, response will be an empty body.
|
# if no value is provided, response will be an empty body.
|
||||||
- name: RESPONSE_BODY
|
- name: RESPONSE_BODY
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the encoding type for the response body
|
# provide the encoding type for the response body
|
||||||
# currently supported value are gzip, deflate
|
# currently supported value are gzip, deflate
|
||||||
# if empty no encoding will be applied
|
# if empty no encoding will be applied
|
||||||
- name: CONTENT_ENCODING
|
- name: CONTENT_ENCODING
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the content type for the response body
|
# provide the content type for the response body
|
||||||
- name: CONTENT_TYPE
|
- name: CONTENT_TYPE
|
||||||
value: 'text/plain'
|
value: "text/plain"
|
||||||
|
|
||||||
# port of the target service
|
# port of the target service
|
||||||
- name: TARGET_SERVICE_PORT
|
- name: TARGET_SERVICE_PORT
|
||||||
@@ -108,40 +117,40 @@ spec:
|
|||||||
value: "eth0"
|
value: "eth0"
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60' # in seconds
|
value: "60" # in seconds
|
||||||
|
|
||||||
# Time period to wait before and after injection of chaos in sec
|
# Time period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
# percentage of total pods to target
|
# percentage of total pods to target
|
||||||
- name: PODS_AFFECTED_PERC
|
- name: PODS_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: TARGET_PODS
|
- name: TARGET_PODS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the name of container runtime
|
# provide the name of container runtime
|
||||||
# for litmus LIB, it supports docker, containerd, crio
|
# for litmus LIB, it supports docker, containerd, crio
|
||||||
# for pumba LIB, it supports docker only
|
# for pumba LIB, it supports docker only
|
||||||
- name: CONTAINER_RUNTIME
|
- name: CONTAINER_RUNTIME
|
||||||
value: 'containerd'
|
value: "containerd"
|
||||||
|
|
||||||
# provide the socket file path
|
# provide the socket file path
|
||||||
- name: SOCKET_PATH
|
- name: SOCKET_PATH
|
||||||
value: '/run/containerd/containerd.sock'
|
value: "/run/containerd/containerd.sock"
|
||||||
|
|
||||||
# To select pods on specific node(s)
|
# To select pods on specific node(s)
|
||||||
- name: NODE_LABEL
|
- name: NODE_LABEL
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## it defines the sequence of chaos execution for multiple target pods
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: pod-http-modify-body
|
name: pod-http-modify-body
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -59,7 +68,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -68,20 +77,20 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TARGET_CONTAINER
|
- name: TARGET_CONTAINER
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide lib image
|
# provide lib image
|
||||||
- name: 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"}
|
# 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": ""}
|
# to remove a header, just set the value to ""; Eg: {"X-Litmus-Test-Header": ""}
|
||||||
- name: HEADERS_MAP
|
- name: HEADERS_MAP
|
||||||
value: '{}'
|
value: "{}"
|
||||||
|
|
||||||
# whether to modify response headers or request headers. Accepted values: request, response
|
# whether to modify response headers or request headers. Accepted values: request, response
|
||||||
- name: HEADER_MODE
|
- name: HEADER_MODE
|
||||||
value: 'response'
|
value: "response"
|
||||||
|
|
||||||
# port of the target service
|
# port of the target service
|
||||||
- name: TARGET_SERVICE_PORT
|
- name: TARGET_SERVICE_PORT
|
||||||
@@ -102,40 +111,40 @@ spec:
|
|||||||
value: "eth0"
|
value: "eth0"
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60' # in seconds
|
value: "60" # in seconds
|
||||||
|
|
||||||
# Time period to wait before and after injection of chaos in sec
|
# Time period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
# percentage of total pods to target
|
# percentage of total pods to target
|
||||||
- name: PODS_AFFECTED_PERC
|
- name: PODS_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: TARGET_PODS
|
- name: TARGET_PODS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the name of container runtime
|
# provide the name of container runtime
|
||||||
# for litmus LIB, it supports docker, containerd, crio
|
# for litmus LIB, it supports docker, containerd, crio
|
||||||
# for pumba LIB, it supports docker only
|
# for pumba LIB, it supports docker only
|
||||||
- name: CONTAINER_RUNTIME
|
- name: CONTAINER_RUNTIME
|
||||||
value: 'containerd'
|
value: "containerd"
|
||||||
|
|
||||||
# provide the socket file path
|
# provide the socket file path
|
||||||
- name: SOCKET_PATH
|
- name: SOCKET_PATH
|
||||||
value: '/run/containerd/containerd.sock'
|
value: "/run/containerd/containerd.sock"
|
||||||
|
|
||||||
# To select pods on specific node(s)
|
# To select pods on specific node(s)
|
||||||
- name: NODE_LABEL
|
- name: NODE_LABEL
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## it defines the sequence of chaos execution for multiple target pods
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: pod-http-modify-header
|
name: pod-http-modify-header
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -59,7 +68,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -68,15 +77,15 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TARGET_CONTAINER
|
- name: TARGET_CONTAINER
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide lib image
|
# provide lib image
|
||||||
- name: 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
|
# reset timeout specifies after how much duration to reset the connection
|
||||||
- name: RESET_TIMEOUT
|
- name: RESET_TIMEOUT
|
||||||
value: '0' #in ms
|
value: "0" #in ms
|
||||||
|
|
||||||
# port of the target service
|
# port of the target service
|
||||||
- name: TARGET_SERVICE_PORT
|
- name: TARGET_SERVICE_PORT
|
||||||
@@ -97,40 +106,40 @@ spec:
|
|||||||
value: "eth0"
|
value: "eth0"
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60' # in seconds
|
value: "60" # in seconds
|
||||||
|
|
||||||
# Time period to wait before and after injection of chaos in sec
|
# Time period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
# percentage of total pods to target
|
# percentage of total pods to target
|
||||||
- name: PODS_AFFECTED_PERC
|
- name: PODS_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: TARGET_PODS
|
- name: TARGET_PODS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the name of container runtime
|
# provide the name of container runtime
|
||||||
# for litmus LIB, it supports docker, containerd, crio
|
# for litmus LIB, it supports docker, containerd, crio
|
||||||
# for pumba LIB, it supports docker only
|
# for pumba LIB, it supports docker only
|
||||||
- name: CONTAINER_RUNTIME
|
- name: CONTAINER_RUNTIME
|
||||||
value: 'containerd'
|
value: "containerd"
|
||||||
|
|
||||||
# provide the socket file path
|
# provide the socket file path
|
||||||
- name: SOCKET_PATH
|
- name: SOCKET_PATH
|
||||||
value: '/run/containerd/containerd.sock'
|
value: "/run/containerd/containerd.sock"
|
||||||
|
|
||||||
# To select pods on specific node(s)
|
# To select pods on specific node(s)
|
||||||
- name: NODE_LABEL
|
- name: NODE_LABEL
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## it defines the sequence of chaos execution for multiple target pods
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: pod-http-reset-peer
|
name: pod-http-reset-peer
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -59,7 +68,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -68,18 +77,18 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TARGET_CONTAINER
|
- name: TARGET_CONTAINER
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide lib image
|
# provide lib image
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'chaosnative/go-runner:ci'
|
value: "chaosnative/go-runner:ci"
|
||||||
|
|
||||||
# modified status code for the HTTP response
|
# modified status code for the HTTP response
|
||||||
# if no value is provided, a random status code from the supported code list will selected
|
# 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
|
# 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]
|
# 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
|
- name: STATUS_CODE
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# whether to modify the body as per the status code provided
|
# whether to modify the body as per the status code provided
|
||||||
- name: "MODIFY_RESPONSE_BODY"
|
- 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
|
# 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
|
- name: RESPONSE_BODY
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the encoding type for the response body
|
# provide the encoding type for the response body
|
||||||
# currently supported value are gzip, deflate
|
# currently supported value are gzip, deflate
|
||||||
# if empty no encoding will be applied
|
# if empty no encoding will be applied
|
||||||
- name: CONTENT_ENCODING
|
- name: CONTENT_ENCODING
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the content type for the response body
|
# provide the content type for the response body
|
||||||
- name: CONTENT_TYPE
|
- name: CONTENT_TYPE
|
||||||
value: 'text/plain'
|
value: "text/plain"
|
||||||
|
|
||||||
# port of the target service
|
# port of the target service
|
||||||
- name: TARGET_SERVICE_PORT
|
- name: TARGET_SERVICE_PORT
|
||||||
@@ -118,40 +127,40 @@ spec:
|
|||||||
value: "eth0"
|
value: "eth0"
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60' # in seconds
|
value: "60" # in seconds
|
||||||
|
|
||||||
# Time period to wait before and after injection of chaos in sec
|
# Time period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
# percentage of total pods to target
|
# percentage of total pods to target
|
||||||
- name: PODS_AFFECTED_PERC
|
- name: PODS_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: TARGET_PODS
|
- name: TARGET_PODS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the name of container runtime
|
# provide the name of container runtime
|
||||||
# for litmus LIB, it supports docker, containerd, crio
|
# for litmus LIB, it supports docker, containerd, crio
|
||||||
# for pumba LIB, it supports docker only
|
# for pumba LIB, it supports docker only
|
||||||
- name: CONTAINER_RUNTIME
|
- name: CONTAINER_RUNTIME
|
||||||
value: 'containerd'
|
value: "containerd"
|
||||||
|
|
||||||
# provide the socket file path
|
# provide the socket file path
|
||||||
- name: SOCKET_PATH
|
- name: SOCKET_PATH
|
||||||
value: '/run/containerd/containerd.sock'
|
value: "/run/containerd/containerd.sock"
|
||||||
|
|
||||||
# To select pods on specific node(s)
|
# To select pods on specific node(s)
|
||||||
- name: NODE_LABEL
|
- name: NODE_LABEL
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## it defines the sequence of chaos execution for multiple target pods
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: pod-http-status-code
|
name: pod-http-status-code
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -59,7 +68,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -68,64 +77,64 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '120'
|
value: "120"
|
||||||
|
|
||||||
## specify the size as percentage of free space on the file system
|
## specify the size as percentage of free space on the file system
|
||||||
## default value 90 (in percentage)
|
## default value 90 (in percentage)
|
||||||
- name: FILESYSTEM_UTILIZATION_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
|
## 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
|
## NOTE: for selecting this option FILESYSTEM_UTILIZATION_PERCENTAGE should be empty
|
||||||
- name: FILESYSTEM_UTILIZATION_BYTES
|
- name: FILESYSTEM_UTILIZATION_BYTES
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## Total number of workers default value is 4
|
## Total number of workers default value is 4
|
||||||
- name: NUMBER_OF_WORKERS
|
- name: NUMBER_OF_WORKERS
|
||||||
value: '4'
|
value: "4"
|
||||||
|
|
||||||
## Percentage of total pods to target
|
## Percentage of total pods to target
|
||||||
- name: PODS_AFFECTED_PERC
|
- name: PODS_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide volume mount path
|
# provide volume mount path
|
||||||
- name: VOLUME_MOUNT_PATH
|
- name: VOLUME_MOUNT_PATH
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: TARGET_CONTAINER
|
- name: TARGET_CONTAINER
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## specify the comma separated target pods
|
## specify the comma separated target pods
|
||||||
- name: TARGET_PODS
|
- name: TARGET_PODS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# To select pods on specific node(s)
|
# To select pods on specific node(s)
|
||||||
- name: NODE_LABEL
|
- name: NODE_LABEL
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# Period to wait before and after injection of chaos in sec
|
# Period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide lib image
|
# provide lib image
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'chaosnative/go-runner:ci'
|
value: "chaosnative/go-runner:ci"
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
## provide the cluster runtime
|
## provide the cluster runtime
|
||||||
- name: CONTAINER_RUNTIME
|
- name: CONTAINER_RUNTIME
|
||||||
value: 'containerd'
|
value: "containerd"
|
||||||
|
|
||||||
# provide the socket file path
|
# provide the socket file path
|
||||||
- name: SOCKET_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
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: pod-io-stress
|
name: pod-io-stress
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -59,7 +68,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -68,19 +77,19 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60'
|
value: "60"
|
||||||
|
|
||||||
## enter the amount of memory in megabytes to be consumed by the application pod
|
## enter the amount of memory in megabytes to be consumed by the application pod
|
||||||
- name: MEMORY_CONSUMPTION
|
- name: MEMORY_CONSUMPTION
|
||||||
value: '500'
|
value: "500"
|
||||||
|
|
||||||
## percentage of total pods to target
|
## percentage of total pods to target
|
||||||
- name: PODS_AFFECTED_PERC
|
- name: PODS_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## Period to wait before and after injection of chaos in sec
|
## Period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# The command to kill the chaos process
|
# The command to kill the chaos process
|
||||||
- name: CHAOS_KILL_COMMAND
|
- name: CHAOS_KILL_COMMAND
|
||||||
@@ -89,16 +98,16 @@ spec:
|
|||||||
## it defines the sequence of chaos execution for multiple target pods
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
- name: TARGET_CONTAINER
|
- name: TARGET_CONTAINER
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: TARGET_PODS
|
- name: TARGET_PODS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: pod-memory-hog-exec
|
name: pod-memory-hog-exec
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -59,7 +68,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -68,57 +77,57 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60'
|
value: "60"
|
||||||
|
|
||||||
## enter the amount of memory in megabytes to be consumed by the application pod
|
## enter the amount of memory in megabytes to be consumed by the application pod
|
||||||
- name: MEMORY_CONSUMPTION
|
- name: MEMORY_CONSUMPTION
|
||||||
value: '500'
|
value: "500"
|
||||||
|
|
||||||
## Number of workers to perform stress
|
## Number of workers to perform stress
|
||||||
- name: NUMBER_OF_WORKERS
|
- name: NUMBER_OF_WORKERS
|
||||||
value: '1'
|
value: "1"
|
||||||
|
|
||||||
## percentage of total pods to target
|
## percentage of total pods to target
|
||||||
- name: PODS_AFFECTED_PERC
|
- name: PODS_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## Period to wait before and after injection of chaos in sec
|
## Period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## It is used in pumba lib only
|
## It is used in pumba lib only
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'chaosnative/go-runner:ci'
|
value: "chaosnative/go-runner:ci"
|
||||||
|
|
||||||
## It is used in pumba lib only
|
## It is used in pumba lib only
|
||||||
- name: STRESS_IMAGE
|
- name: STRESS_IMAGE
|
||||||
value: 'alexeiled/stress-ng:latest-ubuntu'
|
value: "alexeiled/stress-ng:latest-ubuntu"
|
||||||
|
|
||||||
## provide the cluster runtime
|
## provide the cluster runtime
|
||||||
- name: CONTAINER_RUNTIME
|
- name: CONTAINER_RUNTIME
|
||||||
value: 'containerd'
|
value: "containerd"
|
||||||
|
|
||||||
# provide the socket file path
|
# provide the socket file path
|
||||||
- name: SOCKET_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
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
- name: TARGET_CONTAINER
|
- name: TARGET_CONTAINER
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: TARGET_PODS
|
- name: TARGET_PODS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# To select pods on specific node(s)
|
# To select pods on specific node(s)
|
||||||
- name: NODE_LABEL
|
- name: NODE_LABEL
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: pod-memory-hog
|
name: pod-memory-hog
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -59,7 +68,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -68,66 +77,66 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TARGET_CONTAINER
|
- name: TARGET_CONTAINER
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide lib image
|
# provide lib image
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'chaosnative/go-runner:ci'
|
value: "chaosnative/go-runner:ci"
|
||||||
|
|
||||||
- name: NETWORK_INTERFACE
|
- name: NETWORK_INTERFACE
|
||||||
value: 'eth0'
|
value: "eth0"
|
||||||
|
|
||||||
- name: TC_IMAGE
|
- name: TC_IMAGE
|
||||||
value: 'gaiadocker/iproute2'
|
value: "gaiadocker/iproute2"
|
||||||
|
|
||||||
- name: NETWORK_PACKET_CORRUPTION_PERCENTAGE
|
- name: NETWORK_PACKET_CORRUPTION_PERCENTAGE
|
||||||
value: '100' #in PERCENTAGE
|
value: "100" #in PERCENTAGE
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60' # in seconds
|
value: "60" # in seconds
|
||||||
|
|
||||||
# Time period to wait before and after injection of chaos in sec
|
# Time period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## percentage of total pods to target
|
## percentage of total pods to target
|
||||||
- name: PODS_AFFECTED_PERC
|
- name: PODS_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: TARGET_PODS
|
- name: TARGET_PODS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# To select pods on specific node(s)
|
# To select pods on specific node(s)
|
||||||
- name: NODE_LABEL
|
- name: NODE_LABEL
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the name of container runtime
|
# provide the name of container runtime
|
||||||
# for litmus LIB, it supports docker, containerd, crio
|
# for litmus LIB, it supports docker, containerd, crio
|
||||||
# for pumba LIB, it supports docker only
|
# for pumba LIB, it supports docker only
|
||||||
- name: CONTAINER_RUNTIME
|
- name: CONTAINER_RUNTIME
|
||||||
value: 'containerd'
|
value: "containerd"
|
||||||
|
|
||||||
# provide the destination ips
|
# provide the destination ips
|
||||||
# chaos injection will be triggered for these destination ips
|
# chaos injection will be triggered for these destination ips
|
||||||
- name: DESTINATION_IPS
|
- name: DESTINATION_IPS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the destination hosts
|
# provide the destination hosts
|
||||||
# chaos injection will be triggered for these destination hosts
|
# chaos injection will be triggered for these destination hosts
|
||||||
- name: DESTINATION_HOSTS
|
- name: DESTINATION_HOSTS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the socket file path
|
# provide the socket file path
|
||||||
- name: SOCKET_PATH
|
- name: SOCKET_PATH
|
||||||
value: '/run/containerd/containerd.sock'
|
value: "/run/containerd/containerd.sock"
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
## it defines the sequence of chaos execution for multiple target pods
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: pod-network-corruption
|
name: pod-network-corruption
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -59,7 +68,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -68,64 +77,64 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60'
|
value: "60"
|
||||||
|
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: TARGET_CONTAINER
|
- name: TARGET_CONTAINER
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: TC_IMAGE
|
- name: TC_IMAGE
|
||||||
value: 'gaiadocker/iproute2'
|
value: "gaiadocker/iproute2"
|
||||||
|
|
||||||
- name: NETWORK_INTERFACE
|
- name: NETWORK_INTERFACE
|
||||||
value: 'eth0'
|
value: "eth0"
|
||||||
|
|
||||||
- name: NETWORK_PACKET_DUPLICATION_PERCENTAGE
|
- name: NETWORK_PACKET_DUPLICATION_PERCENTAGE
|
||||||
value: '100' # in percentage
|
value: "100" # in percentage
|
||||||
|
|
||||||
- name: TARGET_PODS
|
- name: TARGET_PODS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# To select pods on specific node(s)
|
# To select pods on specific node(s)
|
||||||
- name: NODE_LABEL
|
- name: NODE_LABEL
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## percentage of total pods to target
|
## percentage of total pods to target
|
||||||
- name: PODS_AFFECTED_PERC
|
- name: PODS_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'chaosnative/go-runner:ci'
|
value: "chaosnative/go-runner:ci"
|
||||||
|
|
||||||
# provide the name of container runtime
|
# provide the name of container runtime
|
||||||
# for litmus LIB, it supports docker, containerd, crio
|
# for litmus LIB, it supports docker, containerd, crio
|
||||||
# for pumba LIB, it supports docker only
|
# for pumba LIB, it supports docker only
|
||||||
- name: CONTAINER_RUNTIME
|
- name: CONTAINER_RUNTIME
|
||||||
value: 'containerd'
|
value: "containerd"
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
# provide the destination ips
|
# provide the destination ips
|
||||||
# chaos injection will be triggered for these destination ips
|
# chaos injection will be triggered for these destination ips
|
||||||
- name: DESTINATION_IPS
|
- name: DESTINATION_IPS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the destination hosts
|
# provide the destination hosts
|
||||||
# chaos injection will be triggered for these destination hosts
|
# chaos injection will be triggered for these destination hosts
|
||||||
- name: DESTINATION_HOSTS
|
- name: DESTINATION_HOSTS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the socket file path
|
# provide the socket file path
|
||||||
- name: SOCKET_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
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: pod-network-duplication
|
name: pod-network-duplication
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -59,7 +68,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -68,69 +77,69 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TARGET_CONTAINER
|
- name: TARGET_CONTAINER
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: NETWORK_INTERFACE
|
- name: NETWORK_INTERFACE
|
||||||
value: 'eth0'
|
value: "eth0"
|
||||||
|
|
||||||
# provide lib image
|
# provide lib image
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'chaosnative/go-runner:ci'
|
value: "chaosnative/go-runner:ci"
|
||||||
|
|
||||||
- name: TC_IMAGE
|
- name: TC_IMAGE
|
||||||
value: 'gaiadocker/iproute2'
|
value: "gaiadocker/iproute2"
|
||||||
|
|
||||||
- name: NETWORK_LATENCY
|
- name: NETWORK_LATENCY
|
||||||
value: '2000' #in ms
|
value: "2000" #in ms
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60' # in seconds
|
value: "60" # in seconds
|
||||||
|
|
||||||
# Time period to wait before and after injection of chaos in sec
|
# Time period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: JITTER
|
- name: JITTER
|
||||||
value: '0'
|
value: "0"
|
||||||
|
|
||||||
## percentage of total pods to target
|
## percentage of total pods to target
|
||||||
- name: PODS_AFFECTED_PERC
|
- name: PODS_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: TARGET_PODS
|
- name: TARGET_PODS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the name of container runtime
|
# provide the name of container runtime
|
||||||
# for litmus LIB, it supports docker, containerd, crio
|
# for litmus LIB, it supports docker, containerd, crio
|
||||||
# for pumba LIB, it supports docker only
|
# for pumba LIB, it supports docker only
|
||||||
- name: CONTAINER_RUNTIME
|
- name: CONTAINER_RUNTIME
|
||||||
value: 'containerd'
|
value: "containerd"
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
# provide the destination ips
|
# provide the destination ips
|
||||||
# chaos injection will be triggered for these destination ips
|
# chaos injection will be triggered for these destination ips
|
||||||
- name: DESTINATION_IPS
|
- name: DESTINATION_IPS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the destination hosts
|
# provide the destination hosts
|
||||||
# chaos injection will be triggered for these destination hosts
|
# chaos injection will be triggered for these destination hosts
|
||||||
- name: DESTINATION_HOSTS
|
- name: DESTINATION_HOSTS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the socket file path
|
# provide the socket file path
|
||||||
- name: SOCKET_PATH
|
- name: SOCKET_PATH
|
||||||
value: '/run/containerd/containerd.sock'
|
value: "/run/containerd/containerd.sock"
|
||||||
|
|
||||||
# To select pods on specific node(s)
|
# To select pods on specific node(s)
|
||||||
- name: NODE_LABEL
|
- name: NODE_LABEL
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## it defines the sequence of chaos execution for multiple target pods
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: pod-network-latency
|
name: pod-network-latency
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -59,7 +68,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -68,66 +77,66 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TARGET_CONTAINER
|
- name: TARGET_CONTAINER
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide lib image
|
# provide lib image
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'chaosnative/go-runner:ci'
|
value: "chaosnative/go-runner:ci"
|
||||||
|
|
||||||
- name: NETWORK_INTERFACE
|
- name: NETWORK_INTERFACE
|
||||||
value: 'eth0'
|
value: "eth0"
|
||||||
|
|
||||||
- name: TC_IMAGE
|
- name: TC_IMAGE
|
||||||
value: 'gaiadocker/iproute2'
|
value: "gaiadocker/iproute2"
|
||||||
|
|
||||||
- name: NETWORK_PACKET_LOSS_PERCENTAGE
|
- name: NETWORK_PACKET_LOSS_PERCENTAGE
|
||||||
value: '100' #in PERCENTAGE
|
value: "100" #in PERCENTAGE
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60' # in seconds
|
value: "60" # in seconds
|
||||||
|
|
||||||
# time period to wait before and after injection of chaos in sec
|
# time period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## percentage of total pods to target
|
## percentage of total pods to target
|
||||||
- name: PODS_AFFECTED_PERC
|
- name: PODS_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
- name: TARGET_PODS
|
- name: TARGET_PODS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# To select pods on specific node(s)
|
# To select pods on specific node(s)
|
||||||
- name: NODE_LABEL
|
- name: NODE_LABEL
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the name of container runtime
|
# provide the name of container runtime
|
||||||
# for litmus LIB, it supports docker, containerd, crio
|
# for litmus LIB, it supports docker, containerd, crio
|
||||||
# for pumba LIB, it supports docker only
|
# for pumba LIB, it supports docker only
|
||||||
- name: CONTAINER_RUNTIME
|
- name: CONTAINER_RUNTIME
|
||||||
value: 'containerd'
|
value: "containerd"
|
||||||
|
|
||||||
# provide the destination ips
|
# provide the destination ips
|
||||||
# chaos injection will be triggered for these destination ips
|
# chaos injection will be triggered for these destination ips
|
||||||
- name: DESTINATION_IPS
|
- name: DESTINATION_IPS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the destination hosts
|
# provide the destination hosts
|
||||||
# chaos injection will be triggered for these destination hosts
|
# chaos injection will be triggered for these destination hosts
|
||||||
- name: DESTINATION_HOSTS
|
- name: DESTINATION_HOSTS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the socket file path
|
# provide the socket file path
|
||||||
- name: SOCKET_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
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: pod-network-loss
|
name: pod-network-loss
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -47,7 +56,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -56,41 +65,41 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60' # in seconds
|
value: "60" # in seconds
|
||||||
|
|
||||||
# time period to wait before and after injection of chaos in sec
|
# time period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
# provide the destination ips
|
# provide the destination ips
|
||||||
# chaos injection will be triggered for these destination ips
|
# chaos injection will be triggered for these destination ips
|
||||||
- name: DESTINATION_IPS
|
- name: DESTINATION_IPS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the destination hosts
|
# provide the destination hosts
|
||||||
# chaos injection will be triggered for these destination hosts
|
# chaos injection will be triggered for these destination hosts
|
||||||
- name: DESTINATION_HOSTS
|
- name: DESTINATION_HOSTS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide network policy type
|
# provide network policy type
|
||||||
# support ingress, egress, all values
|
# support ingress, egress, all values
|
||||||
- name: POLICY_TYPES
|
- name: POLICY_TYPES
|
||||||
value: 'all'
|
value: "all"
|
||||||
|
|
||||||
# provide labels of the destination pods
|
# provide labels of the destination pods
|
||||||
- name: POD_SELECTOR
|
- name: POD_SELECTOR
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide labels the destination namespaces
|
# provide labels the destination namespaces
|
||||||
- name: NAMESPACE_SELECTOR
|
- name: NAMESPACE_SELECTOR
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide comma separated ports
|
# provide comma separated ports
|
||||||
- name: PORTS
|
- name: PORTS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: pod-network-partition
|
name: pod-network-partition
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -39,7 +48,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -49,34 +58,34 @@ spec:
|
|||||||
env:
|
env:
|
||||||
# port of the spring boot application
|
# port of the spring boot application
|
||||||
- name: CM_PORT
|
- name: CM_PORT
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
#it contains number of requests are to be attacked
|
#it contains number of requests are to be attacked
|
||||||
# n value means nth request will be affected
|
# n value means nth request will be affected
|
||||||
- name: CM_LEVEL
|
- name: CM_LEVEL
|
||||||
value: '1'
|
value: "1"
|
||||||
|
|
||||||
# it limits watched packages/classes/methods
|
# it limits watched packages/classes/methods
|
||||||
- name: CM_WATCHED_CUSTOM_SERVICES
|
- name: CM_WATCHED_CUSTOM_SERVICES
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide name of watcher
|
# provide name of watcher
|
||||||
# it supports controller, restController, service, repository, component, webClient
|
# it supports controller, restController, service, repository, component, webClient
|
||||||
- name: CM_WATCHERS
|
- name: CM_WATCHERS
|
||||||
value: 'restController'
|
value: "restController"
|
||||||
|
|
||||||
## percentage of total pods to target
|
## percentage of total pods to target
|
||||||
- name: PODS_AFFECTED_PERC
|
- name: PODS_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## Period to wait before and after injection of chaos
|
## Period to wait before and after injection of chaos
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## it defines the sequence of chaos execution for multiple target pods
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: spring-boot-app-kill
|
name: spring-boot-app-kill
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -39,7 +48,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -50,41 +59,41 @@ spec:
|
|||||||
# it contains fraction of cpu to be stressed(0.95 equals 95%)
|
# it contains fraction of cpu to be stressed(0.95 equals 95%)
|
||||||
# it supports value in range [0.1,1.0]
|
# it supports value in range [0.1,1.0]
|
||||||
- name: CPU_LOAD_FRACTION
|
- name: CPU_LOAD_FRACTION
|
||||||
value: '0.9'
|
value: "0.9"
|
||||||
|
|
||||||
# port of the spring boot application
|
# port of the spring boot application
|
||||||
- name: CM_PORT
|
- name: CM_PORT
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
#it contains number of requests are to be attacked
|
#it contains number of requests are to be attacked
|
||||||
# n value means nth request will be affected
|
# n value means nth request will be affected
|
||||||
- name: CM_LEVEL
|
- name: CM_LEVEL
|
||||||
value: '1'
|
value: "1"
|
||||||
|
|
||||||
# it limits watched packages/classes/methods
|
# it limits watched packages/classes/methods
|
||||||
- name: CM_WATCHED_CUSTOM_SERVICES
|
- name: CM_WATCHED_CUSTOM_SERVICES
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide name of watcher
|
# provide name of watcher
|
||||||
# it supports controller, restController, service, repository, component, webClient
|
# it supports controller, restController, service, repository, component, webClient
|
||||||
- name: CM_WATCHERS
|
- name: CM_WATCHERS
|
||||||
value: 'restController'
|
value: "restController"
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '30'
|
value: "30"
|
||||||
|
|
||||||
## percentage of total pods to target
|
## percentage of total pods to target
|
||||||
- name: PODS_AFFECTED_PERC
|
- name: PODS_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## Period to wait before and after injection of chaos
|
## Period to wait before and after injection of chaos
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## it defines the sequence of chaos execution for multiple target pods
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: spring-boot-cpu-stress
|
name: spring-boot-cpu-stress
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -39,7 +48,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -49,45 +58,45 @@ spec:
|
|||||||
env:
|
env:
|
||||||
# Type of raised exception
|
# Type of raised exception
|
||||||
- name: CM_EXCEPTIONS_TYPE
|
- name: CM_EXCEPTIONS_TYPE
|
||||||
value: 'java.lang.IllegalArgumentException'
|
value: "java.lang.IllegalArgumentException"
|
||||||
|
|
||||||
# Argument of raised exception
|
# Argument of raised exception
|
||||||
- name: CM_EXCEPTIONS_ARGUMENTS
|
- 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
|
# port of the spring boot application
|
||||||
- name: CM_PORT
|
- name: CM_PORT
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
#it contains number of requests are to be attacked
|
#it contains number of requests are to be attacked
|
||||||
# n value means nth request will be affected
|
# n value means nth request will be affected
|
||||||
- name: CM_LEVEL
|
- name: CM_LEVEL
|
||||||
value: '1'
|
value: "1"
|
||||||
|
|
||||||
# it limits watched packages/classes/methods
|
# it limits watched packages/classes/methods
|
||||||
- name: CM_WATCHED_CUSTOM_SERVICES
|
- name: CM_WATCHED_CUSTOM_SERVICES
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide name of watcher
|
# provide name of watcher
|
||||||
# it supports controller, restController, service, repository, component, webClient
|
# it supports controller, restController, service, repository, component, webClient
|
||||||
- name: CM_WATCHERS
|
- name: CM_WATCHERS
|
||||||
value: 'restController'
|
value: "restController"
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '30'
|
value: "30"
|
||||||
|
|
||||||
## percentage of total pods to target
|
## percentage of total pods to target
|
||||||
- name: PODS_AFFECTED_PERC
|
- name: PODS_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## Period to wait before and after injection of chaos
|
## Period to wait before and after injection of chaos
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## it defines the sequence of chaos execution for multiple target pods
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: spring-boot-exceptions
|
name: spring-boot-exceptions
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -39,7 +48,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -49,84 +58,84 @@ spec:
|
|||||||
env:
|
env:
|
||||||
# it enables spring app-kill fault
|
# it enables spring app-kill fault
|
||||||
- name: CM_KILL_APPLICATION_ACTIVE
|
- name: CM_KILL_APPLICATION_ACTIVE
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# it enables spring-boot latency fault
|
# it enables spring-boot latency fault
|
||||||
- name: CM_LATENCY_ACTIVE
|
- name: CM_LATENCY_ACTIVE
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide the latency (ms)
|
# provide the latency (ms)
|
||||||
# it is applicable when latency is active
|
# it is applicable when latency is active
|
||||||
- name: LATENCY
|
- name: LATENCY
|
||||||
value: '2000'
|
value: "2000"
|
||||||
|
|
||||||
# it enables spring-boot memory stress fault
|
# it enables spring-boot memory stress fault
|
||||||
- name: CM_MEMORY_ACTIVE
|
- name: CM_MEMORY_ACTIVE
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# it contains fraction of memory to be stressed(0.70 equals 70%)
|
# it contains fraction of memory to be stressed(0.70 equals 70%)
|
||||||
# it supports value in range [0.01,0.95]
|
# it supports value in range [0.01,0.95]
|
||||||
# it is applicable when memory is active
|
# it is applicable when memory is active
|
||||||
- name: MEMORY_FILL_FRACTION
|
- name: MEMORY_FILL_FRACTION
|
||||||
value: '0.70'
|
value: "0.70"
|
||||||
|
|
||||||
# it enables spring-boot cpu stress fault
|
# it enables spring-boot cpu stress fault
|
||||||
- name: CM_CPU_ACTIVE
|
- name: CM_CPU_ACTIVE
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# it contains fraction of cpu to be stressed(0.95 equals 95%)
|
# it contains fraction of cpu to be stressed(0.95 equals 95%)
|
||||||
# it supports value in range [0.1,1.0]
|
# it supports value in range [0.1,1.0]
|
||||||
# it is applicable when cpu is active
|
# it is applicable when cpu is active
|
||||||
- name: CPU_LOAD_FRACTION
|
- name: CPU_LOAD_FRACTION
|
||||||
value: '0.9'
|
value: "0.9"
|
||||||
|
|
||||||
# it enables spring-boot exceptions fault
|
# it enables spring-boot exceptions fault
|
||||||
- name: CM_EXCEPTIONS_ACTIVE
|
- name: CM_EXCEPTIONS_ACTIVE
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# Type of raised exception
|
# Type of raised exception
|
||||||
# it is applicable when exceptions is active
|
# it is applicable when exceptions is active
|
||||||
- name: CM_EXCEPTIONS_TYPE
|
- name: CM_EXCEPTIONS_TYPE
|
||||||
value: 'java.lang.IllegalArgumentException'
|
value: "java.lang.IllegalArgumentException"
|
||||||
|
|
||||||
# Argument of raised exception
|
# Argument of raised exception
|
||||||
# it is applicable when exceptions is active
|
# it is applicable when exceptions is active
|
||||||
- name: CM_EXCEPTIONS_ARGUMENTS
|
- 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
|
# port of the spring boot application
|
||||||
- name: CM_PORT
|
- name: CM_PORT
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
#it contains number of requests are to be attacked
|
#it contains number of requests are to be attacked
|
||||||
# n value means nth request will be affected
|
# n value means nth request will be affected
|
||||||
- name: CM_LEVEL
|
- name: CM_LEVEL
|
||||||
value: '1'
|
value: "1"
|
||||||
|
|
||||||
# it limits watched packages/classes/methods
|
# it limits watched packages/classes/methods
|
||||||
- name: CM_WATCHED_CUSTOM_SERVICES
|
- name: CM_WATCHED_CUSTOM_SERVICES
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide name of watcher
|
# provide name of watcher
|
||||||
# it supports controller, restController, service, repository, component, webClient
|
# it supports controller, restController, service, repository, component, webClient
|
||||||
- name: CM_WATCHERS
|
- name: CM_WATCHERS
|
||||||
value: 'restController'
|
value: "restController"
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '30'
|
value: "30"
|
||||||
|
|
||||||
## percentage of total pods to target
|
## percentage of total pods to target
|
||||||
- name: PODS_AFFECTED_PERC
|
- name: PODS_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## Period to wait before and after injection of chaos
|
## Period to wait before and after injection of chaos
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## it defines the sequence of chaos execution for multiple target pods
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: spring-boot-faults
|
name: spring-boot-faults
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -39,7 +48,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -49,41 +58,41 @@ spec:
|
|||||||
env:
|
env:
|
||||||
# provide the latency (ms)
|
# provide the latency (ms)
|
||||||
- name: LATENCY
|
- name: LATENCY
|
||||||
value: '2000'
|
value: "2000"
|
||||||
|
|
||||||
# port of the spring boot application
|
# port of the spring boot application
|
||||||
- name: CM_PORT
|
- name: CM_PORT
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# it contains number of requests are to be attacked
|
# it contains number of requests are to be attacked
|
||||||
# n value means nth request will be affected
|
# n value means nth request will be affected
|
||||||
- name: CM_LEVEL
|
- name: CM_LEVEL
|
||||||
value: '1'
|
value: "1"
|
||||||
|
|
||||||
# it limits watched packages/classes/methods
|
# it limits watched packages/classes/methods
|
||||||
- name: CM_WATCHED_CUSTOM_SERVICES
|
- name: CM_WATCHED_CUSTOM_SERVICES
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide name of watcher
|
# provide name of watcher
|
||||||
# it supports controller, restController, service, repository, component, webClient
|
# it supports controller, restController, service, repository, component, webClient
|
||||||
- name: CM_WATCHERS
|
- name: CM_WATCHERS
|
||||||
value: 'restController'
|
value: "restController"
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '30'
|
value: "30"
|
||||||
|
|
||||||
## percentage of total pods to target
|
## percentage of total pods to target
|
||||||
- name: PODS_AFFECTED_PERC
|
- name: PODS_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## Period to wait before and after injection of chaos
|
## Period to wait before and after injection of chaos
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## it defines the sequence of chaos execution for multiple target pods
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: spring-boot-latency
|
name: spring-boot-latency
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -39,7 +48,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -50,41 +59,41 @@ spec:
|
|||||||
# it contains fraction of memory to be stressed(0.70 equals 70%)
|
# it contains fraction of memory to be stressed(0.70 equals 70%)
|
||||||
# it supports value in range [0.01,0.95]
|
# it supports value in range [0.01,0.95]
|
||||||
- name: MEMORY_FILL_FRACTION
|
- name: MEMORY_FILL_FRACTION
|
||||||
value: '0.70'
|
value: "0.70"
|
||||||
|
|
||||||
# port of the spring boot application
|
# port of the spring boot application
|
||||||
- name: CM_PORT
|
- name: CM_PORT
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# it contains number of requests are to be attacked
|
# it contains number of requests are to be attacked
|
||||||
# n value means nth request will be affected
|
# n value means nth request will be affected
|
||||||
- name: CM_LEVEL
|
- name: CM_LEVEL
|
||||||
value: '1'
|
value: "1"
|
||||||
|
|
||||||
# it limits watched packages/classes/methods
|
# it limits watched packages/classes/methods
|
||||||
- name: CM_WATCHED_CUSTOM_SERVICES
|
- name: CM_WATCHED_CUSTOM_SERVICES
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
# provide name of watcher
|
# provide name of watcher
|
||||||
# it supports controller, restController, service, repository, component, webClient
|
# it supports controller, restController, service, repository, component, webClient
|
||||||
- name: CM_WATCHERS
|
- name: CM_WATCHERS
|
||||||
value: 'restController'
|
value: "restController"
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '30'
|
value: "30"
|
||||||
|
|
||||||
## percentage of total pods to target
|
## percentage of total pods to target
|
||||||
- name: PODS_AFFECTED_PERC
|
- name: PODS_AFFECTED_PERC
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## Period to wait before and after injection of chaos
|
## Period to wait before and after injection of chaos
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
## it defines the sequence of chaos execution for multiple target pods
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: spring-boot-memory-stress
|
name: spring-boot-memory-stress
|
||||||
|
@@ -18,7 +18,16 @@ spec:
|
|||||||
# Create and monitor the experiment & helper pods
|
# Create and monitor the experiment & helper pods
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods"]
|
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
|
# Performs CRUD operations on the events inside chaosengine and chaosresult
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
@@ -59,7 +68,7 @@ spec:
|
|||||||
- apiGroups: ["litmuschaos.io"]
|
- apiGroups: ["litmuschaos.io"]
|
||||||
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
|
||||||
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
verbs: ["create", "list", "get", "patch", "update", "delete"]
|
||||||
image: "litmuschaos/go-runner:3.0.0-beta10"
|
image: "litmuschaos/go-runner:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -68,13 +77,13 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '30'
|
value: "30"
|
||||||
|
|
||||||
- name: CHAOS_INTERVAL
|
- name: CHAOS_INTERVAL
|
||||||
value: '10'
|
value: "10"
|
||||||
|
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: VCENTERSERVER
|
- name: VCENTERSERVER
|
||||||
valueFrom:
|
valueFrom:
|
||||||
@@ -95,13 +104,13 @@ spec:
|
|||||||
key: VCENTERPASS
|
key: VCENTERPASS
|
||||||
|
|
||||||
- name: APP_VM_MOIDS
|
- name: APP_VM_MOIDS
|
||||||
value: ''
|
value: ""
|
||||||
|
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
value: 'parallel'
|
value: "parallel"
|
||||||
|
|
||||||
- name: DEFAULT_HEALTH_CHECK
|
- name: DEFAULT_HEALTH_CHECK
|
||||||
value: 'false'
|
value: "false"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: vmware-vm-poweroff
|
name: vmware-vm-poweroff
|
||||||
|
Reference in New Issue
Block a user