469: version upgraded for chaos-charts
This commit is contained in:
@@ -120,6 +120,64 @@ spec:
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
apiVersion: litmuschaos.io/v1alpha1
|
||||||
|
description:
|
||||||
|
message: |
|
||||||
|
Injects cpu consumption on pods belonging to an app deployment
|
||||||
|
kind: ChaosExperiment
|
||||||
|
metadata:
|
||||||
|
name: pod-cpu-hog
|
||||||
|
version: 0.1.1
|
||||||
|
spec:
|
||||||
|
definition:
|
||||||
|
scope: Namespaced
|
||||||
|
permissions:
|
||||||
|
apiGroups:
|
||||||
|
- ""
|
||||||
|
- "batch"
|
||||||
|
- "litmuschaos.io"
|
||||||
|
resources:
|
||||||
|
- "jobs"
|
||||||
|
- "pods"
|
||||||
|
- "pods/exec"
|
||||||
|
- "chaosengines"
|
||||||
|
- "chaosexperiments"
|
||||||
|
- "chaosresults"
|
||||||
|
verbs:
|
||||||
|
- "create"
|
||||||
|
- "list"
|
||||||
|
- "get"
|
||||||
|
- "patch"
|
||||||
|
- "delete"
|
||||||
|
image: "litmuschaos/ansible-runner:ci"
|
||||||
|
args:
|
||||||
|
- -c
|
||||||
|
- ansible-playbook ./experiments/generic/pod_cpu_hog/pod_cpu_hog_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
|
||||||
|
command:
|
||||||
|
- /bin/bash
|
||||||
|
env:
|
||||||
|
- name: ANSIBLE_STDOUT_CALLBACK
|
||||||
|
value: 'default'
|
||||||
|
|
||||||
|
- name: TARGET_CONTAINER
|
||||||
|
value: ''
|
||||||
|
|
||||||
|
- name: CPU_CORES
|
||||||
|
value: '1'
|
||||||
|
|
||||||
|
- name: TOTAL_CHAOS_DURATION
|
||||||
|
value: '60000' #in ms
|
||||||
|
|
||||||
|
- name: LIB
|
||||||
|
value: 'litmus'
|
||||||
|
|
||||||
|
- name: LIB_IMAGE
|
||||||
|
value: 'litmuschaos/app-cpu-stress:latest'
|
||||||
|
labels:
|
||||||
|
name: pod-cpu-hog
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
apiVersion: litmuschaos.io/v1alpha1
|
apiVersion: litmuschaos.io/v1alpha1
|
||||||
description:
|
description:
|
||||||
message: |
|
message: |
|
||||||
|
@@ -2,7 +2,7 @@ apiVersion: litmuchaos.io/v1alpha1
|
|||||||
kind: ChartServiceVersion
|
kind: ChartServiceVersion
|
||||||
metadata:
|
metadata:
|
||||||
name: generic
|
name: generic
|
||||||
version: 0.1.3
|
version: 0.1.4
|
||||||
annotations:
|
annotations:
|
||||||
categories: Kubernetes
|
categories: Kubernetes
|
||||||
chartDescription: Injects generic kubernetes chaos
|
chartDescription: Injects generic kubernetes chaos
|
||||||
|
@@ -5,7 +5,7 @@ description:
|
|||||||
kind: ChaosExperiment
|
kind: ChaosExperiment
|
||||||
metadata:
|
metadata:
|
||||||
name: pod-cpu-hog
|
name: pod-cpu-hog
|
||||||
version: 0.1.0
|
version: 0.1.1
|
||||||
spec:
|
spec:
|
||||||
definition:
|
definition:
|
||||||
scope: Namespaced
|
scope: Namespaced
|
||||||
|
@@ -2,7 +2,7 @@ apiVersion: litmuchaos.io/v1alpha1
|
|||||||
kind: ChartServiceVersion
|
kind: ChartServiceVersion
|
||||||
metadata:
|
metadata:
|
||||||
name: pod-cpu-hog
|
name: pod-cpu-hog
|
||||||
version: 0.1.0
|
version: 0.1.1
|
||||||
annotations:
|
annotations:
|
||||||
categories: Kubernetes
|
categories: Kubernetes
|
||||||
vendor: CNCF
|
vendor: CNCF
|
||||||
|
Reference in New Issue
Block a user