(refactor): Changing name of cpu_hog experiment to node_cpu_hog (#129)

Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
This commit is contained in:
Shubham Chaudhary
2020-01-28 19:25:45 +05:30
committed by Karthik Satchitanand
parent 4a8324ef6e
commit 87b0bcec45
5 changed files with 17 additions and 14 deletions

View File

@@ -12,13 +12,16 @@ spec:
Kubernetes is an open-source system for automating deployment, scaling, and management of containerized applications. It groups containers that make up an application into logical units for easy management and discovery. It will install all the experiments which can be used to inject chaos into containerized appications.
experiments:
- pod-network-loss
- pod-delete
- container-kill
- pod-cpu-hog
- pod-network-loss
- pod-network-latency
- node-drain
- pod-network-corruption
- node-drain
- node-cpu-hog
- disk-loss
- disk-fill
keywords:
- Kubernetes

View File

@@ -15,9 +15,9 @@ experiments:
- name: pod-cpu-hog
CSV: pod-cpu-hog.chartserviceversion.yaml
desc: "pod-cpu-hog"
- name: cpu-hog
CSV: cpu-hog.chartserviceversion.yaml
desc: "cpu-hog"
- name: node-cpu-hog
CSV: node-cpu-hog.chartserviceversion.yaml
desc: "node-cpu-hog"
- name: disk-fill
CSV: disk-fill.chartserviceversion.yaml
desc: "disk-fill"

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@@ -4,7 +4,7 @@ description:
Give a cpu spike on a node belonging to a deployment
kind: ChaosExperiment
metadata:
name: cpu-hog
name: node-cpu-hog
version: 0.1.8
spec:
definition:
@@ -40,7 +40,7 @@ spec:
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
- ansible-playbook ./experiments/generic/node_cpu_hog/node_cpu_hog_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
@@ -62,4 +62,4 @@ spec:
value: ''
labels:
name: cpu-hog
name: node-cpu-hog

View File

@@ -1,7 +1,7 @@
apiVersion: litmuchaos.io/v1alpha1
kind: ChartServiceVersion
metadata:
name: cpu-hog
name: node-cpu-hog
version: 0.0.7
annotations:
categories: Kubernetes
@@ -9,9 +9,9 @@ metadata:
createdAt: 2019-08-12T10:28:08Z
support: https://slack.kubernetes.io/
spec:
displayName: cpu-hog
displayName: node-cpu-hog
categoryDescription: |
CPU hog contains chaos to disrupt state of kubernetes resources. Experiments can inject a cpu skipe on a node where the application pod is scheduled.
Node CPU hog contains chaos to disrupt state of kubernetes resources. Experiments can inject a cpu skipe on a node where the application pod is scheduled.
- Causes (forced/graceful) cpu hog on a perticular node where the application deployment is available.
- After test the recovery should be manual of the application pod and node in case they are not in appropriate state.
@@ -31,12 +31,12 @@ spec:
name: Mayadata
links:
- name: Source Code
url: https://github.com/litmuschaos/litmus/tree/master/experiments/generic/cpu_hog
url: https://github.com/litmuschaos/litmus/tree/master/experiments/generic/node_cpu_hog
- name: Documentation
url: https://docs.litmuschaos.io/docs/cpu-hog/
url: https://docs.litmuschaos.io/docs/node-cpu-hog/
- name: Video
url:
icon:
- url:
mediatype: ""
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/generic/cpu-hog/experiment.yaml
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/generic/node-cpu-hog/experiment.yaml