516: version upgraded for chaos-charts
This commit is contained in:
@@ -1,5 +1,71 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: litmuschaos.io/v1alpha1
|
||||||
|
description:
|
||||||
|
message: |
|
||||||
|
Drain the node where application pod is scheduled
|
||||||
|
kind: ChaosExperiment
|
||||||
|
metadata:
|
||||||
|
name: node-drain
|
||||||
|
version: 0.1.3
|
||||||
|
spec:
|
||||||
|
definition:
|
||||||
|
scope: Cluster
|
||||||
|
permissions:
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
- "batch"
|
||||||
|
- "extensions"
|
||||||
|
- "litmuschaos.io"
|
||||||
|
resources:
|
||||||
|
- "jobs"
|
||||||
|
- "pods"
|
||||||
|
- "pods/eviction"
|
||||||
|
- "daemonsets"
|
||||||
|
- "chaosengines"
|
||||||
|
- "chaosexperiments"
|
||||||
|
- "chaosresults"
|
||||||
|
verbs:
|
||||||
|
- "create"
|
||||||
|
- "list"
|
||||||
|
- "get"
|
||||||
|
- "patch"
|
||||||
|
- "delete"
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- "nodes"
|
||||||
|
verbs :
|
||||||
|
- "get"
|
||||||
|
- "list"
|
||||||
|
- "patch"
|
||||||
|
image: "litmuschaos/ansible-runner:ci"
|
||||||
|
args:
|
||||||
|
- -c
|
||||||
|
- ansible-playbook ./experiments/generic/node_drain/node_drain_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
|
||||||
|
command:
|
||||||
|
- /bin/bash
|
||||||
|
env:
|
||||||
|
- name: ANSIBLE_STDOUT_CALLBACK
|
||||||
|
value: 'default'
|
||||||
|
|
||||||
|
- name: LIVENESS_APP_LABEL
|
||||||
|
value: ''
|
||||||
|
|
||||||
|
- name: APP_NODE
|
||||||
|
value: ''
|
||||||
|
|
||||||
|
- name: TOTAL_CHAOS_DURATION
|
||||||
|
value: '60'
|
||||||
|
|
||||||
|
- name: LIVENESS_APP_NAMESPACE
|
||||||
|
value: ''
|
||||||
|
|
||||||
|
labels:
|
||||||
|
name: node-drain
|
||||||
|
---
|
||||||
|
|
||||||
apiVersion: litmuschaos.io/v1alpha1
|
apiVersion: litmuschaos.io/v1alpha1
|
||||||
description:
|
description:
|
||||||
message: |
|
message: |
|
||||||
@@ -500,72 +566,6 @@ spec:
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: litmuschaos.io/v1alpha1
|
|
||||||
description:
|
|
||||||
message: |
|
|
||||||
Drain the node where application pod is scheduled
|
|
||||||
kind: ChaosExperiment
|
|
||||||
metadata:
|
|
||||||
name: drain-node
|
|
||||||
version: 0.1.2
|
|
||||||
spec:
|
|
||||||
definition:
|
|
||||||
scope: Cluster
|
|
||||||
permissions:
|
|
||||||
- apiGroups:
|
|
||||||
- ""
|
|
||||||
- "batch"
|
|
||||||
- "extensions"
|
|
||||||
- "litmuschaos.io"
|
|
||||||
resources:
|
|
||||||
- "jobs"
|
|
||||||
- "pods"
|
|
||||||
- "pods/eviction"
|
|
||||||
- "daemonsets"
|
|
||||||
- "chaosengines"
|
|
||||||
- "chaosexperiments"
|
|
||||||
- "chaosresults"
|
|
||||||
verbs:
|
|
||||||
- "create"
|
|
||||||
- "list"
|
|
||||||
- "get"
|
|
||||||
- "patch"
|
|
||||||
- "delete"
|
|
||||||
- apiGroups:
|
|
||||||
- ""
|
|
||||||
resources:
|
|
||||||
- "nodes"
|
|
||||||
verbs :
|
|
||||||
- "get"
|
|
||||||
- "list"
|
|
||||||
- "patch"
|
|
||||||
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
|
|
||||||
command:
|
|
||||||
- /bin/bash
|
|
||||||
env:
|
|
||||||
- name: ANSIBLE_STDOUT_CALLBACK
|
|
||||||
value: 'default'
|
|
||||||
|
|
||||||
- name: LIVENESS_APP_LABEL
|
|
||||||
value: ''
|
|
||||||
|
|
||||||
- name: APP_NODE
|
|
||||||
value: ''
|
|
||||||
|
|
||||||
- name: TOTAL_CHAOS_DURATION
|
|
||||||
value: '60'
|
|
||||||
|
|
||||||
- name: LIVENESS_APP_NAMESPACE
|
|
||||||
value: ''
|
|
||||||
|
|
||||||
labels:
|
|
||||||
name: drain-node
|
|
||||||
---
|
|
||||||
|
|
||||||
apiVersion: litmuschaos.io/v1alpha1
|
apiVersion: litmuschaos.io/v1alpha1
|
||||||
description:
|
description:
|
||||||
message: "Kills a container belonging to an application pod \n"
|
message: "Kills a container belonging to an application pod \n"
|
||||||
|
@@ -2,7 +2,7 @@ apiVersion: litmuchaos.io/v1alpha1
|
|||||||
kind: ChartServiceVersion
|
kind: ChartServiceVersion
|
||||||
metadata:
|
metadata:
|
||||||
name: generic
|
name: generic
|
||||||
version: 0.1.5
|
version: 0.1.6
|
||||||
annotations:
|
annotations:
|
||||||
categories: Kubernetes
|
categories: Kubernetes
|
||||||
chartDescription: Injects generic kubernetes chaos
|
chartDescription: Injects generic kubernetes chaos
|
||||||
|
@@ -6,7 +6,7 @@ description:
|
|||||||
kind: ChaosExperiment
|
kind: ChaosExperiment
|
||||||
metadata:
|
metadata:
|
||||||
name: node-drain
|
name: node-drain
|
||||||
version: 0.1.2
|
version: 0.1.3
|
||||||
spec:
|
spec:
|
||||||
definition:
|
definition:
|
||||||
scope: Cluster
|
scope: Cluster
|
||||||
|
@@ -2,7 +2,7 @@ apiVersion: litmuchaos.io/v1alpha1
|
|||||||
kind: ChartServiceVersion
|
kind: ChartServiceVersion
|
||||||
metadata:
|
metadata:
|
||||||
name: node-drain
|
name: node-drain
|
||||||
version: 0.1.4
|
version: 0.1.5
|
||||||
annotations:
|
annotations:
|
||||||
categories: Kubernetes
|
categories: Kubernetes
|
||||||
vendor: Mayadata
|
vendor: Mayadata
|
||||||
|
Reference in New Issue
Block a user