(refactor): Rename drain_node experiment to node_drain (#107)

Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
This commit is contained in:
Shubham Chaudhary
2020-01-13 14:25:41 +05:30
committed by Karthik Satchitanand
parent 26157f3272
commit 64e0a742e8
5 changed files with 10 additions and 10 deletions

View File

@@ -17,7 +17,7 @@ spec:
- container-kill - container-kill
- pod-cpu-hog - pod-cpu-hog
- pod-network-latency - pod-network-latency
- drain-node - node-drain
- pod-network-corruption - pod-network-corruption
keywords: keywords:

View File

@@ -24,9 +24,9 @@ experiments:
- name: disk-loss - name: disk-loss
CSV: disk-loss.chartserviceversion.yaml CSV: disk-loss.chartserviceversion.yaml
desc: "disk-loss" desc: "disk-loss"
- name: drain-node - name: node-drain
CSV: drain-node.chartserviceversion.yaml CSV: node-drain.chartserviceversion.yaml
desc: "drain-node" desc: "node-drain"
- name: pod-network-corruption - name: pod-network-corruption
CSV: pod-network-corruption.chartserviceversion.yaml CSV: pod-network-corruption.chartserviceversion.yaml
desc: "pod-network-corruption" desc: "pod-network-corruption"

View File

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@@ -5,7 +5,7 @@ description:
Drain the node where application pod is scheduled Drain the node where application pod is scheduled
kind: ChaosExperiment kind: ChaosExperiment
metadata: metadata:
name: drain-node name: node-drain
version: 0.1.2 version: 0.1.2
spec: spec:
definition: definition:
@@ -41,7 +41,7 @@ spec:
image: "litmuschaos/ansible-runner:ci" image: "litmuschaos/ansible-runner:ci"
args: args:
- -c - -c
- ansible-playbook ./experiments/generic/drain_node/drain_node_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0 - ansible-playbook ./experiments/generic/node_drain/node_drain_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command: command:
- /bin/bash - /bin/bash
env: env:
@@ -61,4 +61,4 @@ spec:
value: '' value: ''
labels: labels:
name: drain-node name: node-drain

View File

@@ -1,7 +1,7 @@
apiVersion: litmuchaos.io/v1alpha1 apiVersion: litmuchaos.io/v1alpha1
kind: ChartServiceVersion kind: ChartServiceVersion
metadata: metadata:
name: drain-node name: node-drain
version: 0.1.4 version: 0.1.4
annotations: annotations:
categories: Kubernetes categories: Kubernetes
@@ -35,8 +35,8 @@ spec:
- name: Source Code - name: Source Code
url: https://github.com/litmuschaos/litmus/tree/master/experiments/generic url: https://github.com/litmuschaos/litmus/tree/master/experiments/generic
- name: Docs - name: Docs
url: https://docs.litmuschaos.io/docs/drain-node/ url: https://docs.litmuschaos.io/docs/node-drain/
icon: icon:
- url: "" - url: ""
mediatype: "" mediatype: ""
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/generic/drain-node/experiment.yaml chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/generic/node-drain/experiment.yaml