590: version upgraded for chaos-charts

This commit is contained in:
Travis CI
2020-01-28 13:56:41 +00:00
parent 87b0bcec45
commit 1a6763219b
4 changed files with 70 additions and 71 deletions

View File

@@ -133,74 +133,6 @@ spec:
---
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.1.8
spec:
definition:
scope: Cluster
permissions:
- apiGroups:
- ""
- "batch"
- "apps"
- "litmuschaos.io"
resources:
- "daemonsets"
- "jobs"
- "pods"
- "pods/exec"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
- apiGroups:
- ""
resources:
- "nodes"
verbs :
- "get"
- "list"
image: "litmuschaos/ansible-runner:latest"
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'
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
- name: PLATFORM
value: 'GKE'
- name: LIB
value: ''
labels:
name: cpu-hog
---
apiVersion: litmuschaos.io/v1alpha1
@@ -613,6 +545,73 @@ spec:
---
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Give a cpu spike on a node belonging to a deployment
kind: ChaosExperiment
metadata:
name: node-cpu-hog
version: 0.1.9
spec:
definition:
scope: Cluster
permissions:
- apiGroups:
- ""
- "batch"
- "apps"
- "litmuschaos.io"
resources:
- "daemonsets"
- "jobs"
- "pods"
- "pods/exec"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
- apiGroups:
- ""
resources:
- "nodes"
verbs :
- "get"
- "list"
image: "litmuschaos/ansible-runner:latest"
args:
- -c
- ansible-playbook ./experiments/generic/node_cpu_hog/node_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'
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
- name: PLATFORM
value: 'GKE'
- name: LIB
value: ''
labels:
name: node-cpu-hog
---
apiVersion: litmuschaos.io/v1alpha1
description:
message: "Kills a container belonging to an application pod \n"

View File

@@ -2,7 +2,7 @@ apiVersion: litmuchaos.io/v1alpha1
kind: ChartServiceVersion
metadata:
name: generic
version: 0.1.7
version: 0.1.8
annotations:
categories: Kubernetes
chartDescription: Injects generic kubernetes chaos

View File

@@ -5,7 +5,7 @@ description:
kind: ChaosExperiment
metadata:
name: node-cpu-hog
version: 0.1.8
version: 0.1.9
spec:
definition:
scope: Cluster

View File

@@ -2,7 +2,7 @@ apiVersion: litmuchaos.io/v1alpha1
kind: ChartServiceVersion
metadata:
name: node-cpu-hog
version: 0.0.7
version: 0.0.8
annotations:
categories: Kubernetes
vendor: CNCF