940863422: version upgraded for chaos-charts
This commit is contained in:
@@ -547,7 +547,7 @@ spec:
|
|||||||
- "update"
|
- "update"
|
||||||
- "delete"
|
- "delete"
|
||||||
- "deletecollection"
|
- "deletecollection"
|
||||||
image: "litmuschaos/go-runner:latest"
|
image: "litmuschaos/go-runner:ci"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -577,12 +577,16 @@ spec:
|
|||||||
|
|
||||||
## It is used in pumba lib only
|
## It is used in pumba lib only
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'litmuschaos/go-runner:latest'
|
value: 'litmuschaos/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
|
||||||
|
- name: CONTAINER_RUNTIME
|
||||||
|
value: 'docker'
|
||||||
|
|
||||||
# provide the socket file path
|
# provide the socket file path
|
||||||
# it is used in pumba lib
|
# it is used in pumba lib
|
||||||
- name: SOCKET_PATH
|
- name: SOCKET_PATH
|
||||||
@@ -651,7 +655,7 @@ spec:
|
|||||||
- "update"
|
- "update"
|
||||||
- "delete"
|
- "delete"
|
||||||
- "deletecollection"
|
- "deletecollection"
|
||||||
image: "litmuschaos/go-runner:latest"
|
image: "litmuschaos/go-runner:ci"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -666,6 +670,10 @@ spec:
|
|||||||
- name: MEMORY_CONSUMPTION
|
- name: MEMORY_CONSUMPTION
|
||||||
value: '500'
|
value: '500'
|
||||||
|
|
||||||
|
## Number of workers to perform stress
|
||||||
|
- name: NUMBER_OF_WORKERS
|
||||||
|
value: '1'
|
||||||
|
|
||||||
## percentage of total pods to target
|
## percentage of total pods to target
|
||||||
- name: PODS_AFFECTED_PERC
|
- name: PODS_AFFECTED_PERC
|
||||||
value: ''
|
value: ''
|
||||||
@@ -681,7 +689,7 @@ spec:
|
|||||||
|
|
||||||
## It is used in pumba lib only
|
## It is used in pumba lib only
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'litmuschaos/go-runner:latest'
|
value: 'litmuschaos/go-runner:ci'
|
||||||
|
|
||||||
## It is used in pumba lib only
|
## It is used in pumba lib only
|
||||||
- name: STRESS_IMAGE
|
- name: STRESS_IMAGE
|
||||||
@@ -1126,6 +1134,97 @@ spec:
|
|||||||
app.kubernetes.io/component: experiment-job
|
app.kubernetes.io/component: experiment-job
|
||||||
app.kubernetes.io/version: latest
|
app.kubernetes.io/version: latest
|
||||||
|
|
||||||
|
---
|
||||||
|
---
|
||||||
|
apiVersion: litmuschaos.io/v1alpha1
|
||||||
|
description:
|
||||||
|
message: |
|
||||||
|
Injects memory consumption on pods belonging to an app deployment
|
||||||
|
kind: ChaosExperiment
|
||||||
|
metadata:
|
||||||
|
name: pod-memory-hog-exec
|
||||||
|
labels:
|
||||||
|
name: pod-memory-hog-exec
|
||||||
|
app.kubernetes.io/part-of: litmus
|
||||||
|
app.kubernetes.io/component: chaosexperiment
|
||||||
|
app.kubernetes.io/version: latest
|
||||||
|
spec:
|
||||||
|
definition:
|
||||||
|
scope: Namespaced
|
||||||
|
permissions:
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
- "batch"
|
||||||
|
- "apps"
|
||||||
|
- "apps.openshift.io"
|
||||||
|
- "argoproj.io"
|
||||||
|
- "litmuschaos.io"
|
||||||
|
resources:
|
||||||
|
- "jobs"
|
||||||
|
- "pods"
|
||||||
|
- "pods/log"
|
||||||
|
- "replicationcontrollers"
|
||||||
|
- "deployments"
|
||||||
|
- "statefulsets"
|
||||||
|
- "daemonsets"
|
||||||
|
- "replicasets"
|
||||||
|
- "deploymentconfigs"
|
||||||
|
- "rollouts"
|
||||||
|
- "pods/exec"
|
||||||
|
- "events"
|
||||||
|
- "chaosengines"
|
||||||
|
- "chaosexperiments"
|
||||||
|
- "chaosresults"
|
||||||
|
verbs:
|
||||||
|
- "create"
|
||||||
|
- "list"
|
||||||
|
- "get"
|
||||||
|
- "patch"
|
||||||
|
- "update"
|
||||||
|
- "delete"
|
||||||
|
- "deletecollection"
|
||||||
|
image: "litmuschaos/go-runner:ci"
|
||||||
|
imagePullPolicy: Always
|
||||||
|
args:
|
||||||
|
- -c
|
||||||
|
- ./experiments -name pod-memory-hog-exec
|
||||||
|
command:
|
||||||
|
- /bin/bash
|
||||||
|
env:
|
||||||
|
- name: TOTAL_CHAOS_DURATION
|
||||||
|
value: '60'
|
||||||
|
|
||||||
|
## enter the amount of memory in megabytes to be consumed by the application pod
|
||||||
|
- name: MEMORY_CONSUMPTION
|
||||||
|
value: '500'
|
||||||
|
|
||||||
|
## percentage of total pods to target
|
||||||
|
- name: PODS_AFFECTED_PERC
|
||||||
|
value: ''
|
||||||
|
|
||||||
|
## Period to wait before and after injection of chaos in sec
|
||||||
|
- name: RAMP_TIME
|
||||||
|
value: ''
|
||||||
|
|
||||||
|
## env var that describes the library used to execute the chaos
|
||||||
|
## default: litmus. Supported values: litmus
|
||||||
|
- name: LIB
|
||||||
|
value: 'litmus'
|
||||||
|
|
||||||
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
|
## supported values: serial, parallel
|
||||||
|
- name: SEQUENCE
|
||||||
|
value: 'parallel'
|
||||||
|
|
||||||
|
- name: TARGET_PODS
|
||||||
|
value: ''
|
||||||
|
|
||||||
|
labels:
|
||||||
|
name: pod-memory-hog-exec
|
||||||
|
app.kubernetes.io/part-of: litmus
|
||||||
|
app.kubernetes.io/component: experiment-job
|
||||||
|
app.kubernetes.io/version: latest
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: litmuschaos.io/v1alpha1
|
apiVersion: litmuschaos.io/v1alpha1
|
||||||
description:
|
description:
|
||||||
@@ -1754,7 +1853,7 @@ spec:
|
|||||||
- "update"
|
- "update"
|
||||||
- "delete"
|
- "delete"
|
||||||
- "deletecollection"
|
- "deletecollection"
|
||||||
image: "litmuschaos/go-runner:latest"
|
image: "litmuschaos/go-runner:ci"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -1796,16 +1895,19 @@ spec:
|
|||||||
value: ''
|
value: ''
|
||||||
|
|
||||||
# Provide the LIB here
|
# Provide the LIB here
|
||||||
# Only pumba supported
|
# support litmus and pumba
|
||||||
- name: LIB
|
- name: LIB
|
||||||
value: 'pumba'
|
value: 'litmus'
|
||||||
|
|
||||||
# provide lib image
|
# provide lib image
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'litmuschaos/go-runner:latest'
|
value: 'litmuschaos/go-runner:ci'
|
||||||
|
|
||||||
|
## provide the cluster runtime
|
||||||
|
- name: CONTAINER_RUNTIME
|
||||||
|
value: 'docker'
|
||||||
|
|
||||||
# provide the socket file path
|
# provide the socket file path
|
||||||
# it is used in pumba lib
|
|
||||||
- name: SOCKET_PATH
|
- name: SOCKET_PATH
|
||||||
value: '/var/run/docker.sock'
|
value: '/var/run/docker.sock'
|
||||||
|
|
||||||
@@ -1992,6 +2094,96 @@ spec:
|
|||||||
app.kubernetes.io/component: experiment-job
|
app.kubernetes.io/component: experiment-job
|
||||||
app.kubernetes.io/version: latest
|
app.kubernetes.io/version: latest
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: litmuschaos.io/v1alpha1
|
||||||
|
description:
|
||||||
|
message: |
|
||||||
|
Injects cpu consumption on pods belonging to an app deployment
|
||||||
|
kind: ChaosExperiment
|
||||||
|
metadata:
|
||||||
|
name: pod-cpu-hog-exec
|
||||||
|
labels:
|
||||||
|
name: pod-cpu-hog-exec
|
||||||
|
app.kubernetes.io/part-of: litmus
|
||||||
|
app.kubernetes.io/component: chaosexperiment
|
||||||
|
app.kubernetes.io/version: latest
|
||||||
|
spec:
|
||||||
|
definition:
|
||||||
|
scope: Namespaced
|
||||||
|
permissions:
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
- "batch"
|
||||||
|
- "apps"
|
||||||
|
- "apps.openshift.io"
|
||||||
|
- "argoproj.io"
|
||||||
|
- "litmuschaos.io"
|
||||||
|
resources:
|
||||||
|
- "jobs"
|
||||||
|
- "pods"
|
||||||
|
- "pods/log"
|
||||||
|
- "events"
|
||||||
|
- "replicationcontrollers"
|
||||||
|
- "deployments"
|
||||||
|
- "statefulsets"
|
||||||
|
- "daemonsets"
|
||||||
|
- "replicasets"
|
||||||
|
- "deploymentconfigs"
|
||||||
|
- "rollouts"
|
||||||
|
- "pods/exec"
|
||||||
|
- "chaosengines"
|
||||||
|
- "chaosexperiments"
|
||||||
|
- "chaosresults"
|
||||||
|
verbs:
|
||||||
|
- "create"
|
||||||
|
- "list"
|
||||||
|
- "get"
|
||||||
|
- "patch"
|
||||||
|
- "update"
|
||||||
|
- "delete"
|
||||||
|
- "deletecollection"
|
||||||
|
image: "litmuschaos/go-runner:ci"
|
||||||
|
imagePullPolicy: Always
|
||||||
|
args:
|
||||||
|
- -c
|
||||||
|
- ./experiments -name pod-cpu-hog-exec
|
||||||
|
command:
|
||||||
|
- /bin/bash
|
||||||
|
env:
|
||||||
|
- name: TOTAL_CHAOS_DURATION
|
||||||
|
value: '60'
|
||||||
|
|
||||||
|
## Number of CPU cores to stress
|
||||||
|
- name: CPU_CORES
|
||||||
|
value: '1'
|
||||||
|
|
||||||
|
## Percentage of total pods to target
|
||||||
|
- name: PODS_AFFECTED_PERC
|
||||||
|
value: ''
|
||||||
|
|
||||||
|
## Period to wait before and after injection of chaos in sec
|
||||||
|
- name: RAMP_TIME
|
||||||
|
value: ''
|
||||||
|
|
||||||
|
## env var that describes the library used to execute the chaos
|
||||||
|
## default: litmus. Supported values: litmus
|
||||||
|
- name: LIB
|
||||||
|
value: 'litmus'
|
||||||
|
|
||||||
|
- name: TARGET_PODS
|
||||||
|
value: ''
|
||||||
|
|
||||||
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
|
## supported values: serial, parallel
|
||||||
|
- name: SEQUENCE
|
||||||
|
value: 'parallel'
|
||||||
|
|
||||||
|
labels:
|
||||||
|
name: pod-cpu-hog-exec
|
||||||
|
app.kubernetes.io/part-of: litmus
|
||||||
|
app.kubernetes.io/component: experiment-job
|
||||||
|
app.kubernetes.io/version: latest
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: litmuschaos.io/v1alpha1
|
apiVersion: litmuschaos.io/v1alpha1
|
||||||
description:
|
description:
|
||||||
|
Reference in New Issue
Block a user