updated the tags to latest
Signed-off-by: Saranya-jena <saranya.jena@harness.io>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user