(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
- pod-cpu-hog
- pod-network-latency
- drain-node
- node-drain
- pod-network-corruption
keywords:

View File

@@ -24,9 +24,9 @@ experiments:
- name: disk-loss
CSV: disk-loss.chartserviceversion.yaml
desc: "disk-loss"
- name: drain-node
CSV: drain-node.chartserviceversion.yaml
desc: "drain-node"
- name: node-drain
CSV: node-drain.chartserviceversion.yaml
desc: "node-drain"
- name: pod-network-corruption
CSV: pod-network-corruption.chartserviceversion.yaml
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
kind: ChaosExperiment
metadata:
name: drain-node
name: node-drain
version: 0.1.2
spec:
definition:
@@ -41,7 +41,7 @@ spec:
image: "litmuschaos/ansible-runner:ci"
args:
- -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:
- /bin/bash
env:
@@ -61,4 +61,4 @@ spec:
value: ''
labels:
name: drain-node
name: node-drain

View File

@@ -1,7 +1,7 @@
apiVersion: litmuchaos.io/v1alpha1
kind: ChartServiceVersion
metadata:
name: drain-node
name: node-drain
version: 0.1.4
annotations:
categories: Kubernetes
@@ -35,8 +35,8 @@ spec:
- name: Source Code
url: https://github.com/litmuschaos/litmus/tree/master/experiments/generic
- name: Docs
url: https://docs.litmuschaos.io/docs/drain-node/
url: https://docs.litmuschaos.io/docs/node-drain/
icon:
- url: ""
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