250: version upgraded for chaos-charts

This commit is contained in:
Travis CI
2019-11-11 14:34:04 +00:00
parent b33fa5a56e
commit 93c1e6da0e
3 changed files with 57 additions and 2 deletions

View File

@@ -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

View File

@@ -5,7 +5,7 @@ description:
kind: ChaosExperiment
metadata:
name: cpu-hog
version: 0.0.1
version: 0.0.2
spec:
definition:
permissions:

View File

@@ -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: |