From 1a6763219baa43d1a547b898c296fb52a11de9b7 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Tue, 28 Jan 2020 13:56:41 +0000 Subject: [PATCH] 590: version upgraded for chaos-charts --- charts/generic/experiments.yaml | 135 +++++++++--------- .../generic/generic.chartserviceversion.yaml | 2 +- charts/generic/node-cpu-hog/experiment.yaml | 2 +- .../node-cpu-hog.chartserviceversion.yaml | 2 +- 4 files changed, 70 insertions(+), 71 deletions(-) diff --git a/charts/generic/experiments.yaml b/charts/generic/experiments.yaml index 36cf980..d16369c 100644 --- a/charts/generic/experiments.yaml +++ b/charts/generic/experiments.yaml @@ -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" diff --git a/charts/generic/generic.chartserviceversion.yaml b/charts/generic/generic.chartserviceversion.yaml index 0c7f9c9..d4ac004 100644 --- a/charts/generic/generic.chartserviceversion.yaml +++ b/charts/generic/generic.chartserviceversion.yaml @@ -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 diff --git a/charts/generic/node-cpu-hog/experiment.yaml b/charts/generic/node-cpu-hog/experiment.yaml index f555c74..6a61213 100644 --- a/charts/generic/node-cpu-hog/experiment.yaml +++ b/charts/generic/node-cpu-hog/experiment.yaml @@ -5,7 +5,7 @@ description: kind: ChaosExperiment metadata: name: node-cpu-hog - version: 0.1.8 + version: 0.1.9 spec: definition: scope: Cluster diff --git a/charts/generic/node-cpu-hog/node-cpu-hog.chartserviceversion.yaml b/charts/generic/node-cpu-hog/node-cpu-hog.chartserviceversion.yaml index db39bae..fbc32d1 100644 --- a/charts/generic/node-cpu-hog/node-cpu-hog.chartserviceversion.yaml +++ b/charts/generic/node-cpu-hog/node-cpu-hog.chartserviceversion.yaml @@ -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