updated the tags to latest

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

View File

@@ -17,7 +17,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -58,7 +67,7 @@ spec:
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
verbs: ["create", "list", "get", "patch", "update", "delete"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -67,53 +76,53 @@ spec:
- /bin/bash
env:
- name: TARGET_CONTAINER
value: ''
value: ""
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
- name: TARGET_PODS
value: ''
value: ""
# provide the chaos interval
- name: CHAOS_INTERVAL
value: '10'
value: "10"
- name: SIGNAL
value: 'SIGKILL'
value: "SIGKILL"
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: "/run/containerd/containerd.sock"
# provide the name of container runtime
# it supports docker, containerd, crio
- name: CONTAINER_RUNTIME
value: 'containerd'
value: "containerd"
# provide the total chaos duration
- name: TOTAL_CHAOS_DURATION
value: '20'
value: "20"
## percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
# To select pods on specific node(s)
- name: NODE_LABEL
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: container-kill

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -59,7 +68,7 @@ spec:
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
verbs: ["create", "list", "get", "patch", "update", "delete"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -68,52 +77,52 @@ spec:
- /bin/bash
env:
- name: TARGET_CONTAINER
value: ''
value: ""
- name: FILL_PERCENTAGE
value: '80'
value: "80"
- name: TOTAL_CHAOS_DURATION
value: '60'
value: "60"
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
# provide the data block size
# supported unit is KB
- name: DATA_BLOCK_SIZE
value: '256'
value: "256"
- name: TARGET_PODS
value: ''
value: ""
- name: EPHEMERAL_STORAGE_MEBIBYTES
value: ''
value: ""
# To select pods on specific node(s)
- name: NODE_LABEL
value: ''
value: ""
## percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
# Provide the container runtime path
# Default set to docker container path
- name: CONTAINER_PATH
value: '/var/lib/docker/containers'
value: "/var/lib/docker/containers"
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: disk-fill

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -47,7 +56,7 @@ spec:
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "list"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -56,25 +65,25 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '90' # in seconds
value: "90" # in seconds
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
- name: NODE_LABEL
value: ''
value: ""
# provide lib image
- name: LIB_IMAGE
value: 'ubuntu:16.04'
value: "ubuntu:16.04"
# provide the target node name
- name: TARGET_NODE
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
labels:
name: docker-service-kill

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -47,7 +56,7 @@ spec:
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "list"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -56,25 +65,25 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
value: "60" # in seconds
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
- name: NODE_LABEL
value: ''
value: ""
# provide lib image
- name: LIB_IMAGE
value: 'ubuntu:16.04'
value: "ubuntu:16.04"
# provide the target node name
- name: TARGET_NODE
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
labels:
name: kubelet-service-kill

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -47,7 +56,7 @@ spec:
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "list"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -56,44 +65,44 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '60'
value: "60"
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
## ENTER THE NUMBER OF CORES OF CPU FOR CPU HOGGING
## OPTIONAL VALUE IN CASE OF EMPTY VALUE IT WILL TAKE NODE CPU CAPACITY
- name: NODE_CPU_CORE
value: ''
value: ""
## LOAD CPU WITH GIVEN PERCENT LOADING FOR THE CPU STRESS WORKERS.
## 0 IS EFFECTIVELY A SLEEP (NO LOAD) AND 100 IS FULL LOADING
- name: CPU_LOAD
value: '100'
value: "100"
# ENTER THE COMMA SEPARATED TARGET NODES NAME
- name: TARGET_NODES
value: ''
value: ""
- name: NODE_LABEL
value: ''
value: ""
# provide lib image
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
## percentage of total nodes to target
- name: NODES_AFFECTED_PERC
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
## it defines the sequence of chaos execution for multiple target nodes
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: node-cpu-hog

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -51,7 +60,7 @@ spec:
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "list", "patch"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -60,20 +69,20 @@ spec:
- /bin/bash
env:
- name: TARGET_NODE
value: ''
value: ""
- name: NODE_LABEL
value: ''
value: ""
- name: TOTAL_CHAOS_DURATION
value: '60'
value: "60"
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
labels:
name: node-drain

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -47,7 +56,7 @@ spec:
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "list"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -56,56 +65,56 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '120'
value: "120"
## specify the size as percentage of free space on the file system
## default value 90 (in percentage)
- name: FILESYSTEM_UTILIZATION_PERCENTAGE
value: '10'
value: "10"
## we can specify the size in Gigabyte (Gb) also in place of percentage of free space
## NOTE: for selecting this option FILESYSTEM_UTILIZATION_PERCENTAGE should be empty
- name: FILESYSTEM_UTILIZATION_BYTES
value: ''
value: ""
## Number of core of CPU
- name: CPU
value: '1'
value: "1"
## Total number of workers default value is 4
- name: NUMBER_OF_WORKERS
value: '4'
value: "4"
## Total number of VM workers
- name: VM_WORKERS
value: '1'
value: "1"
## enter the comma separated target nodes name
- name: TARGET_NODES
value: ''
value: ""
- name: NODE_LABEL
value: ''
value: ""
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
# provide lib image
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
## percentage of total nodes to target
- name: NODES_AFFECTED_PERC
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
## it defines the sequence of chaos execution for multiple target nodes
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: node-io-stress

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -47,7 +56,7 @@ spec:
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "list"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -56,47 +65,47 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '120'
value: "120"
## Specify the size as percent of total node capacity Ex: '30'
## NOTE: for selecting this option keep MEMORY_CONSUMPTION_MEBIBYTES empty
- name: MEMORY_CONSUMPTION_PERCENTAGE
value: ''
value: ""
## Specify the amount of memory to be consumed in mebibytes
## NOTE: for selecting this option keep MEMORY_CONSUMPTION_PERCENTAGE empty
- name: MEMORY_CONSUMPTION_MEBIBYTES
value: ''
value: ""
- name: NUMBER_OF_WORKERS
value: '1'
value: "1"
# ENTER THE COMMA SEPARATED TARGET NODES NAME
- name: TARGET_NODES
value: ''
value: ""
- name: NODE_LABEL
value: ''
value: ""
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
# provide lib image
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
## percentage of total nodes to target
- name: NODES_AFFECTED_PERC
value: ''
value: ""
## it defines the sequence of chaos execution for multiple target nodes
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: node-memory-hog

View File

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

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -47,7 +56,7 @@ spec:
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "list"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -56,16 +65,16 @@ spec:
- /bin/bash
env:
- name: SSH_USER
value: 'root'
value: "root"
- name: REBOOT_COMMAND
value: 'sudo systemctl reboot; true'
value: "sudo systemctl reboot; true"
- name: TOTAL_CHAOS_DURATION
value: '60'
value: "60"
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
# provide lib image
- name: LIB_IMAGE
@@ -73,17 +82,17 @@ spec:
# ENTER THE TARGET NODE NAME
- name: TARGET_NODE
value: ''
value: ""
- name: NODE_LABEL
value: ''
value: ""
# ENTER THE TARGET NODE IP
- name: TARGET_NODE_IP
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
labels:
name: node-restart

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -51,7 +60,7 @@ spec:
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "list", "patch", "update"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -60,25 +69,25 @@ spec:
- /bin/bash
env:
- name: TARGET_NODE
value: ''
value: ""
- name: NODE_LABEL
value: ''
value: ""
- name: TOTAL_CHAOS_DURATION
value: '60'
value: "60"
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
# set taint label & effect
# key=value:effect or key:effect
- name: TAINTS
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
labels:
name: node-taint

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -47,7 +56,7 @@ spec:
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
verbs: ["create", "list", "get", "patch", "update", "delete"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -56,18 +65,18 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '60'
value: "60"
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
# Number of replicas to scale
- name: REPLICA_COUNT
value: '5'
value: "5"
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
labels:
name: pod-autoscaler

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -59,7 +68,7 @@ spec:
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
verbs: ["create", "list", "get", "patch", "update", "delete"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -68,37 +77,37 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '60'
value: "60"
## Number of CPU cores to stress
- name: CPU_CORES
value: '1'
value: "1"
## Percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
## Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
# The command to kill the chaos process
- name: CHAOS_KILL_COMMAND
value: "kill $(find /proc -name exe -lname '*/md5sum' 2>&1 | grep -v 'Permission denied' | awk -F/ '{print $(NF-1)}')"
- name: TARGET_CONTAINER
value: ''
value: ""
- name: TARGET_PODS
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: pod-cpu-hog-exec

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -59,7 +68,7 @@ spec:
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
verbs: ["create", "list", "get", "patch", "update", "delete"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -68,58 +77,58 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '60'
value: "60"
## Number of CPU cores to stress
- name: CPU_CORES
value: '1'
value: "1"
## LOAD CPU WITH GIVEN PERCENT LOADING FOR THE CPU STRESS WORKERS.
## 0 IS EFFECTIVELY A SLEEP (NO LOAD) AND 100 IS FULL LOADING
- name: CPU_LOAD
value: '100'
value: "100"
## Percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
## Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
## It is used in pumba lib only
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
## It is used in pumba lib only
- name: STRESS_IMAGE
value: 'alexeiled/stress-ng:latest-ubuntu'
value: "alexeiled/stress-ng:latest-ubuntu"
## provide the cluster runtime
- name: CONTAINER_RUNTIME
value: 'containerd'
value: "containerd"
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: "/run/containerd/containerd.sock"
- name: TARGET_CONTAINER
value: ''
value: ""
- name: TARGET_PODS
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
# To select pods on specific node(s)
- name: NODE_LABEL
value: ''
value: ""
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: pod-cpu-hog

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -59,7 +68,7 @@ spec:
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
verbs: ["create", "list", "get", "patch", "update", "delete"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -68,39 +77,39 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '15'
value: "15"
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
- name: FORCE
value: 'true'
value: "true"
- name: CHAOS_INTERVAL
value: '5'
value: "5"
## percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
- name: TARGET_CONTAINER
value: ''
value: ""
- name: TARGET_PODS
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
# To select pods on specific node(s)
- name: NODE_LABEL
value: ''
value: ""
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: pod-delete

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -59,7 +68,7 @@ spec:
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
verbs: ["create", "list", "get", "patch", "update", "delete"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
args:
- -c
- ./experiments -name pod-dns-error
@@ -74,7 +83,7 @@ spec:
value: "chaosnative/go-runner:ci"
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
- name: TOTAL_CHAOS_DURATION
value: "60" # in seconds
@@ -92,11 +101,11 @@ spec:
# provide the name of container runtime, it supports docker, containerd, crio
- name: CONTAINER_RUNTIME
value: 'containerd'
value: "containerd"
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: "/run/containerd/containerd.sock"
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -59,7 +68,7 @@ spec:
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
verbs: ["create", "list", "get", "patch", "update", "delete"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
args:
- -c
- ./experiments -name pod-dns-spoof
@@ -74,7 +83,7 @@ spec:
value: "chaosnative/go-runner:ci"
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
- name: TOTAL_CHAOS_DURATION
value: "60" # in seconds
@@ -92,11 +101,11 @@ spec:
# provide the name of container runtime, it supports docker, containerd, crio
- name: CONTAINER_RUNTIME
value: 'containerd'
value: "containerd"
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: "/run/containerd/containerd.sock"
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -59,7 +68,7 @@ spec:
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
verbs: ["create", "list", "get", "patch", "update", "delete"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -68,14 +77,14 @@ spec:
- /bin/bash
env:
- name: TARGET_CONTAINER
value: ''
value: ""
# provide lib image
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
- name: LATENCY
value: '2000' #in ms
value: "2000" #in ms
# port of the target service
- name: TARGET_SERVICE_PORT
@@ -96,40 +105,40 @@ spec:
value: "eth0"
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
value: "60" # in seconds
# Time period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
# percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
- name: TARGET_PODS
value: ''
value: ""
# provide the name of container runtime
# for litmus LIB, it supports docker, containerd, crio
# for pumba LIB, it supports docker only
- name: CONTAINER_RUNTIME
value: 'containerd'
value: "containerd"
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: "/run/containerd/containerd.sock"
# To select pods on specific node(s)
- name: NODE_LABEL
value: ''
value: ""
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: pod-http-latency

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -59,7 +68,7 @@ spec:
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
verbs: ["create", "list", "get", "patch", "update", "delete"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -68,26 +77,26 @@ spec:
- /bin/bash
env:
- name: TARGET_CONTAINER
value: ''
value: ""
# provide lib image
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
# provide the body string to overwrite the response body
# if no value is provided, response will be an empty body.
- name: RESPONSE_BODY
value: ''
value: ""
# provide the encoding type for the response body
# currently supported value are gzip, deflate
# if empty no encoding will be applied
- name: CONTENT_ENCODING
value: ''
value: ""
# provide the content type for the response body
- name: CONTENT_TYPE
value: 'text/plain'
value: "text/plain"
# port of the target service
- name: TARGET_SERVICE_PORT
@@ -108,40 +117,40 @@ spec:
value: "eth0"
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
value: "60" # in seconds
# Time period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
# percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
- name: TARGET_PODS
value: ''
value: ""
# provide the name of container runtime
# for litmus LIB, it supports docker, containerd, crio
# for pumba LIB, it supports docker only
- name: CONTAINER_RUNTIME
value: 'containerd'
value: "containerd"
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: "/run/containerd/containerd.sock"
# To select pods on specific node(s)
- name: NODE_LABEL
value: ''
value: ""
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: pod-http-modify-body

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -59,7 +68,7 @@ spec:
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
verbs: ["create", "list", "get", "patch", "update", "delete"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -68,20 +77,20 @@ spec:
- /bin/bash
env:
- name: TARGET_CONTAINER
value: ''
value: ""
# provide lib image
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
# map of headers to modify/add; Eg: {"X-Litmus-Test-Header": "X-Litmus-Test-Value"}
# to remove a header, just set the value to ""; Eg: {"X-Litmus-Test-Header": ""}
- name: HEADERS_MAP
value: '{}'
value: "{}"
# whether to modify response headers or request headers. Accepted values: request, response
- name: HEADER_MODE
value: 'response'
value: "response"
# port of the target service
- name: TARGET_SERVICE_PORT
@@ -102,40 +111,40 @@ spec:
value: "eth0"
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
value: "60" # in seconds
# Time period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
# percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
- name: TARGET_PODS
value: ''
value: ""
# provide the name of container runtime
# for litmus LIB, it supports docker, containerd, crio
# for pumba LIB, it supports docker only
- name: CONTAINER_RUNTIME
value: 'containerd'
value: "containerd"
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: "/run/containerd/containerd.sock"
# To select pods on specific node(s)
- name: NODE_LABEL
value: ''
value: ""
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: pod-http-modify-header

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -59,7 +68,7 @@ spec:
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
verbs: ["create", "list", "get", "patch", "update", "delete"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -68,15 +77,15 @@ spec:
- /bin/bash
env:
- name: TARGET_CONTAINER
value: ''
value: ""
# provide lib image
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
# reset timeout specifies after how much duration to reset the connection
- name: RESET_TIMEOUT
value: '0' #in ms
value: "0" #in ms
# port of the target service
- name: TARGET_SERVICE_PORT
@@ -97,40 +106,40 @@ spec:
value: "eth0"
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
value: "60" # in seconds
# Time period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
# percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
- name: TARGET_PODS
value: ''
value: ""
# provide the name of container runtime
# for litmus LIB, it supports docker, containerd, crio
# for pumba LIB, it supports docker only
- name: CONTAINER_RUNTIME
value: 'containerd'
value: "containerd"
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: "/run/containerd/containerd.sock"
# To select pods on specific node(s)
- name: NODE_LABEL
value: ''
value: ""
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: pod-http-reset-peer

View File

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

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -59,7 +68,7 @@ spec:
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
verbs: ["create", "list", "get", "patch", "update", "delete"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -68,64 +77,64 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '120'
value: "120"
## specify the size as percentage of free space on the file system
## default value 90 (in percentage)
- name: FILESYSTEM_UTILIZATION_PERCENTAGE
value: '10'
value: "10"
## we can specify the size in Gigabyte (Gb) also in place of percentage of free space
## NOTE: for selecting this option FILESYSTEM_UTILIZATION_PERCENTAGE should be empty
- name: FILESYSTEM_UTILIZATION_BYTES
value: ''
value: ""
## Total number of workers default value is 4
- name: NUMBER_OF_WORKERS
value: '4'
value: "4"
## Percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
# provide volume mount path
- name: VOLUME_MOUNT_PATH
value: ''
value: ""
- name: TARGET_CONTAINER
value: ''
value: ""
## specify the comma separated target pods
- name: TARGET_PODS
value: ''
value: ""
# To select pods on specific node(s)
- name: NODE_LABEL
value: ''
value: ""
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
# provide lib image
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
## provide the cluster runtime
- name: CONTAINER_RUNTIME
value: 'containerd'
value: "containerd"
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: "/run/containerd/containerd.sock"
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: pod-io-stress

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -59,7 +68,7 @@ spec:
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
verbs: ["create", "list", "get", "patch", "update", "delete"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -68,19 +77,19 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '60'
value: "60"
## enter the amount of memory in megabytes to be consumed by the application pod
- name: MEMORY_CONSUMPTION
value: '500'
value: "500"
## percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
## Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
# The command to kill the chaos process
- name: CHAOS_KILL_COMMAND
@@ -89,16 +98,16 @@ spec:
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
- name: TARGET_CONTAINER
value: ''
value: ""
- name: TARGET_PODS
value: ''
value: ""
labels:
name: pod-memory-hog-exec

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -59,7 +68,7 @@ spec:
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
verbs: ["create", "list", "get", "patch", "update", "delete"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -68,57 +77,57 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '60'
value: "60"
## enter the amount of memory in megabytes to be consumed by the application pod
- name: MEMORY_CONSUMPTION
value: '500'
value: "500"
## Number of workers to perform stress
- name: NUMBER_OF_WORKERS
value: '1'
value: "1"
## percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
## Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
## It is used in pumba lib only
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
## It is used in pumba lib only
- name: STRESS_IMAGE
value: 'alexeiled/stress-ng:latest-ubuntu'
value: "alexeiled/stress-ng:latest-ubuntu"
## provide the cluster runtime
- name: CONTAINER_RUNTIME
value: 'containerd'
value: "containerd"
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: "/run/containerd/containerd.sock"
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
- name: TARGET_CONTAINER
value: ''
value: ""
- name: TARGET_PODS
value: ''
value: ""
# To select pods on specific node(s)
- name: NODE_LABEL
value: ''
value: ""
labels:
name: pod-memory-hog

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -59,7 +68,7 @@ spec:
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
verbs: ["create", "list", "get", "patch", "update", "delete"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -68,66 +77,66 @@ spec:
- /bin/bash
env:
- name: TARGET_CONTAINER
value: ''
value: ""
# provide lib image
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
- name: NETWORK_INTERFACE
value: 'eth0'
value: "eth0"
- name: TC_IMAGE
value: 'gaiadocker/iproute2'
value: "gaiadocker/iproute2"
- name: NETWORK_PACKET_CORRUPTION_PERCENTAGE
value: '100' #in PERCENTAGE
value: "100" #in PERCENTAGE
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
value: "60" # in seconds
# Time period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
## percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
- name: TARGET_PODS
value: ''
value: ""
# To select pods on specific node(s)
- name: NODE_LABEL
value: ''
value: ""
# provide the name of container runtime
# for litmus LIB, it supports docker, containerd, crio
# for pumba LIB, it supports docker only
- name: CONTAINER_RUNTIME
value: 'containerd'
value: "containerd"
# provide the destination ips
# chaos injection will be triggered for these destination ips
- name: DESTINATION_IPS
value: ''
value: ""
# provide the destination hosts
# chaos injection will be triggered for these destination hosts
- name: DESTINATION_HOSTS
value: ''
value: ""
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: "/run/containerd/containerd.sock"
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: pod-network-corruption

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -59,7 +68,7 @@ spec:
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
verbs: ["create", "list", "get", "patch", "update", "delete"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -68,64 +77,64 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '60'
value: "60"
- name: RAMP_TIME
value: ''
value: ""
- name: TARGET_CONTAINER
value: ''
value: ""
- name: TC_IMAGE
value: 'gaiadocker/iproute2'
value: "gaiadocker/iproute2"
- name: NETWORK_INTERFACE
value: 'eth0'
value: "eth0"
- name: NETWORK_PACKET_DUPLICATION_PERCENTAGE
value: '100' # in percentage
value: "100" # in percentage
- name: TARGET_PODS
value: ''
value: ""
# To select pods on specific node(s)
- name: NODE_LABEL
value: ''
value: ""
## percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
# provide the name of container runtime
# for litmus LIB, it supports docker, containerd, crio
# for pumba LIB, it supports docker only
- name: CONTAINER_RUNTIME
value: 'containerd'
value: "containerd"
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
# provide the destination ips
# chaos injection will be triggered for these destination ips
- name: DESTINATION_IPS
value: ''
value: ""
# provide the destination hosts
# chaos injection will be triggered for these destination hosts
- name: DESTINATION_HOSTS
value: ''
value: ""
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: "/run/containerd/containerd.sock"
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: pod-network-duplication

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -59,7 +68,7 @@ spec:
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
verbs: ["create", "list", "get", "patch", "update", "delete"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -68,69 +77,69 @@ spec:
- /bin/bash
env:
- name: TARGET_CONTAINER
value: ''
value: ""
- name: NETWORK_INTERFACE
value: 'eth0'
value: "eth0"
# provide lib image
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
- name: TC_IMAGE
value: 'gaiadocker/iproute2'
value: "gaiadocker/iproute2"
- name: NETWORK_LATENCY
value: '2000' #in ms
value: "2000" #in ms
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
value: "60" # in seconds
# Time period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
- name: JITTER
value: '0'
value: "0"
## percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
- name: TARGET_PODS
value: ''
value: ""
# provide the name of container runtime
# for litmus LIB, it supports docker, containerd, crio
# for pumba LIB, it supports docker only
- name: CONTAINER_RUNTIME
value: 'containerd'
value: "containerd"
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
# provide the destination ips
# chaos injection will be triggered for these destination ips
- name: DESTINATION_IPS
value: ''
value: ""
# provide the destination hosts
# chaos injection will be triggered for these destination hosts
- name: DESTINATION_HOSTS
value: ''
value: ""
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: "/run/containerd/containerd.sock"
# To select pods on specific node(s)
- name: NODE_LABEL
value: ''
value: ""
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: pod-network-latency

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -59,7 +68,7 @@ spec:
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
verbs: ["create", "list", "get", "patch", "update", "delete"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -68,66 +77,66 @@ spec:
- /bin/bash
env:
- name: TARGET_CONTAINER
value: ''
value: ""
# provide lib image
- name: LIB_IMAGE
value: 'chaosnative/go-runner:ci'
value: "chaosnative/go-runner:ci"
- name: NETWORK_INTERFACE
value: 'eth0'
value: "eth0"
- name: TC_IMAGE
value: 'gaiadocker/iproute2'
value: "gaiadocker/iproute2"
- name: NETWORK_PACKET_LOSS_PERCENTAGE
value: '100' #in PERCENTAGE
value: "100" #in PERCENTAGE
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
value: "60" # in seconds
# time period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
## percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
- name: TARGET_PODS
value: ''
value: ""
# To select pods on specific node(s)
- name: NODE_LABEL
value: ''
value: ""
# provide the name of container runtime
# for litmus LIB, it supports docker, containerd, crio
# for pumba LIB, it supports docker only
- name: CONTAINER_RUNTIME
value: 'containerd'
value: "containerd"
# provide the destination ips
# chaos injection will be triggered for these destination ips
- name: DESTINATION_IPS
value: ''
value: ""
# provide the destination hosts
# chaos injection will be triggered for these destination hosts
- name: DESTINATION_HOSTS
value: ''
value: ""
# provide the socket file path
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'
value: "/run/containerd/containerd.sock"
## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'
value: "parallel"
labels:
name: pod-network-loss

View File

@@ -18,7 +18,16 @@ spec:
# Create and monitor the experiment & helper pods
- apiGroups: [""]
resources: ["pods"]
verbs: ["create", "delete", "get", "list", "patch", "update", "deletecollection"]
verbs:
[
"create",
"delete",
"get",
"list",
"patch",
"update",
"deletecollection",
]
# Performs CRUD operations on the events inside chaosengine and chaosresult
- apiGroups: [""]
resources: ["events"]
@@ -47,7 +56,7 @@ spec:
- apiGroups: ["litmuschaos.io"]
resources: ["chaosengines", "chaosexperiments", "chaosresults"]
verbs: ["create", "list", "get", "patch", "update", "delete"]
image: "litmuschaos/go-runner:3.0.0-beta10"
image: "litmuschaos/go-runner:latest"
imagePullPolicy: Always
args:
- -c
@@ -56,41 +65,41 @@ spec:
- /bin/bash
env:
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
value: "60" # in seconds
# time period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
value: ""
- name: DEFAULT_HEALTH_CHECK
value: 'false'
value: "false"
# provide the destination ips
# chaos injection will be triggered for these destination ips
- name: DESTINATION_IPS
value: ''
value: ""
# provide the destination hosts
# chaos injection will be triggered for these destination hosts
- name: DESTINATION_HOSTS
value: ''
value: ""
# provide network policy type
# support ingress, egress, all values
- name: POLICY_TYPES
value: 'all'
value: "all"
# provide labels of the destination pods
- name: POD_SELECTOR
value: ''
value: ""
# provide labels the destination namespaces
- name: NAMESPACE_SELECTOR
value: ''
value: ""
# provide comma separated ports
- name: PORTS
value: ''
value: ""
labels:
name: pod-network-partition