250: version upgraded for chaos-charts
This commit is contained in:
@@ -2,7 +2,7 @@ apiVersion: litmuchaos.io/v1alpha1
|
||||
kind: ChartServiceVersion
|
||||
metadata:
|
||||
name: cpu-hog
|
||||
version: 0.0.1
|
||||
version: 0.0.2
|
||||
annotations:
|
||||
categories: Kubernetes
|
||||
vendor: CNCF
|
||||
|
@@ -5,7 +5,7 @@ description:
|
||||
kind: ChaosExperiment
|
||||
metadata:
|
||||
name: cpu-hog
|
||||
version: 0.0.1
|
||||
version: 0.0.2
|
||||
spec:
|
||||
definition:
|
||||
permissions:
|
||||
|
@@ -1,5 +1,60 @@
|
||||
---
|
||||
|
||||
apiVersion: litmuschaos.io/v1alpha1
|
||||
description:
|
||||
message: |
|
||||
Give a cpu spike on a node belonging to a deployment
|
||||
kind: ChaosExperiment
|
||||
metadata:
|
||||
name: cpu-hog
|
||||
version: 0.0.2
|
||||
spec:
|
||||
definition:
|
||||
permissions:
|
||||
apiGroups:
|
||||
- ""
|
||||
- "extensions"
|
||||
- "apps"
|
||||
- "batch"
|
||||
- "litmuschaos.io"
|
||||
resources:
|
||||
- "daemonsets"
|
||||
- "statefulsets"
|
||||
- "deployments"
|
||||
- "jobs"
|
||||
- "nodes"
|
||||
- "pods"
|
||||
- "pods/exec"
|
||||
- "chaosengines"
|
||||
- "chaosexperiments"
|
||||
- "chaosresults"
|
||||
verbs:
|
||||
- "*"
|
||||
image: "litmuschaos/ansible-runner:ci"
|
||||
args:
|
||||
- -c
|
||||
- ansible-playbook ./experiments/generic/cpu_hog/cpu_hog_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
|
||||
command:
|
||||
- /bin/bash
|
||||
env:
|
||||
|
||||
- name: ANSIBLE_STDOUT_CALLBACK
|
||||
value: 'default'
|
||||
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60'
|
||||
|
||||
- name: PLATFORM
|
||||
value: 'ANY'
|
||||
|
||||
- name: LIB
|
||||
value: ''
|
||||
|
||||
labels:
|
||||
name: cpu-hog
|
||||
|
||||
---
|
||||
|
||||
apiVersion: litmuschaos.io/v1alpha1
|
||||
description:
|
||||
message: |
|
||||
|
Reference in New Issue
Block a user