chore(docs): refactor the charts, rbac & engine manifests (#324)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
This commit is contained in:
committed by
GitHub
parent
1e86227a6f
commit
983ae3e35e
@@ -62,7 +62,7 @@ spec:
|
|||||||
# provide cassandra port
|
# provide cassandra port
|
||||||
# default port: 9042
|
# default port: 9042
|
||||||
- name: CASSANDRA_PORT
|
- name: CASSANDRA_PORT
|
||||||
value: ''
|
value: '9042'
|
||||||
|
|
||||||
# provide liveness deployement port
|
# provide liveness deployement port
|
||||||
# default port: 8088, It only supports 8088 port
|
# default port: 8088, It only supports 8088 port
|
||||||
@@ -92,10 +92,6 @@ spec:
|
|||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ''
|
||||||
|
|
||||||
# provide the kill count
|
|
||||||
- name: KILL_COUNT
|
|
||||||
value: ''
|
|
||||||
|
|
||||||
- name: FORCE
|
- name: FORCE
|
||||||
value: ''
|
value: ''
|
||||||
|
|
||||||
|
@@ -17,7 +17,7 @@ metadata:
|
|||||||
rules:
|
rules:
|
||||||
- apiGroups: ["","litmuschaos.io","batch","apps"]
|
- apiGroups: ["","litmuschaos.io","batch","apps"]
|
||||||
resources: ["pods","deployments","statefulsets","services","pods/log","pods/exec","events","jobs","chaosengines","chaosexperiments","chaosresults"]
|
resources: ["pods","deployments","statefulsets","services","pods/log","pods/exec","events","jobs","chaosengines","chaosexperiments","chaosresults"]
|
||||||
verbs: ["create","list","get","patch","update","delete"]
|
verbs: ["create","list","get","patch","update","delete", "deletecollection"]
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||||
kind: RoleBinding
|
kind: RoleBinding
|
||||||
|
@@ -35,10 +35,16 @@ spec:
|
|||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '20'
|
value: '20'
|
||||||
|
|
||||||
# For containerd image use: litmuschaos/container-kill-helper:latest
|
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'gaiaadm/pumba:0.6.5'
|
value: 'litmuschaos/go-runner:latest'
|
||||||
|
|
||||||
# It supports pumba and containerd
|
# provide the name of container runtime
|
||||||
- name: LIB
|
# it supports docker, containerd, crio
|
||||||
value: 'pumba'
|
# default to docker
|
||||||
|
- name: CONTAINER_RUNTIME
|
||||||
|
value: 'docker'
|
||||||
|
|
||||||
|
# provide the container runtime path for containerd
|
||||||
|
# applicable only for containerd runtime
|
||||||
|
- name: CONTAINER_PATH
|
||||||
|
value: '/run/containerd/containerd.sock'
|
@@ -23,11 +23,13 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
components:
|
components:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
|
# provide the node labels
|
||||||
kubernetes.io/hostname: 'node02'
|
kubernetes.io/hostname: 'node02'
|
||||||
env:
|
env:
|
||||||
# set chaos duration (in sec) as desired
|
# set chaos duration (in sec) as desired
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '90'
|
value: '90'
|
||||||
|
|
||||||
# provide the actual name of node under test
|
# provide the actual name of node under test
|
||||||
- name: APP_NODE
|
- name: APP_NODE
|
||||||
value: 'node-01'
|
value: 'node-01'
|
@@ -23,10 +23,12 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
components:
|
components:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
|
# provide the node labels
|
||||||
kubernetes.io/hostname: 'node02'
|
kubernetes.io/hostname: 'node02'
|
||||||
env:
|
env:
|
||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '90' # in seconds
|
value: '90' # in seconds
|
||||||
|
|
||||||
# provide the actual name of node under test
|
# provide the actual name of node under test
|
||||||
- name: APP_NODE
|
- name: APP_NODE
|
||||||
value: 'node-01'
|
value: 'node-01'
|
||||||
|
@@ -52,8 +52,6 @@ spec:
|
|||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ''
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## ENTER THE NUMBER OF CORES OF CPU FOR CPU HOGGING
|
## ENTER THE NUMBER OF CORES OF CPU FOR CPU HOGGING
|
||||||
## OPTIONAL VALUE IN CASE OF EMPTY VALUE IT WILL TAKE NODE CPU CAPACITY
|
## OPTIONAL VALUE IN CASE OF EMPTY VALUE IT WILL TAKE NODE CPU CAPACITY
|
||||||
- name: NODE_CPU_CORE
|
- name: NODE_CPU_CORE
|
||||||
|
@@ -23,6 +23,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
components:
|
components:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
|
# provide the node labels
|
||||||
kubernetes.io/hostname: 'node02'
|
kubernetes.io/hostname: 'node02'
|
||||||
env:
|
env:
|
||||||
# set node name
|
# set node name
|
||||||
|
@@ -49,9 +49,6 @@ spec:
|
|||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
|
|
||||||
- name: LIVENESS_APP_LABEL
|
|
||||||
value: ''
|
|
||||||
|
|
||||||
- name: APP_NODE
|
- name: APP_NODE
|
||||||
value: ''
|
value: ''
|
||||||
|
|
||||||
@@ -67,8 +64,5 @@ spec:
|
|||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ''
|
||||||
|
|
||||||
- name: LIVENESS_APP_NAMESPACE
|
|
||||||
value: ''
|
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: node-drain
|
name: node-drain
|
||||||
|
@@ -2,7 +2,7 @@ apiVersion: litmuchaos.io/v1alpha1
|
|||||||
kind: ChartServiceVersion
|
kind: ChartServiceVersion
|
||||||
metadata:
|
metadata:
|
||||||
createdAt: 2020-09-12T10:28:08Z
|
createdAt: 2020-09-12T10:28:08Z
|
||||||
name:
|
name: node-io-stress
|
||||||
version: 0.1.0
|
version: 0.1.0
|
||||||
annotations:
|
annotations:
|
||||||
categories: Kubernetes
|
categories: Kubernetes
|
||||||
@@ -34,12 +34,12 @@ spec:
|
|||||||
name: Mayadata
|
name: Mayadata
|
||||||
links:
|
links:
|
||||||
- name: Source Code
|
- name: Source Code
|
||||||
url: https://github.com/litmuschaos/litmus-go/tree/master/experiments/generic/
|
url: https://github.com/litmuschaos/litmus-go/tree/master/experiments/generic/node-io-stress
|
||||||
- name: Documentation
|
- name: Documentation
|
||||||
url: https://docs.litmuschaos.io/docs//
|
url: https://docs.litmuschaos.io/docs/node-io-stress/
|
||||||
- name: Video
|
- name: Video
|
||||||
url:
|
url:
|
||||||
icon:
|
icon:
|
||||||
- url: ""
|
- url: ""
|
||||||
mediatype: ""
|
mediatype: ""
|
||||||
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/generic//experiment.yaml
|
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/generic/node-io-stress/experiment.yaml
|
||||||
|
@@ -23,11 +23,13 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
components:
|
components:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
|
# provide the node labels
|
||||||
kubernetes.io/hostname: 'node02'
|
kubernetes.io/hostname: 'node02'
|
||||||
env:
|
env:
|
||||||
# set node name
|
# set node name
|
||||||
- name: APP_NODE
|
- name: APP_NODE
|
||||||
value: 'node-01'
|
value: 'node-01'
|
||||||
|
|
||||||
# set taint label & effect
|
# set taint label & effect
|
||||||
# key=value:effect or key:effect
|
# key=value:effect or key:effect
|
||||||
- name: TAINTS
|
- name: TAINTS
|
||||||
|
@@ -17,7 +17,7 @@ metadata:
|
|||||||
rules:
|
rules:
|
||||||
- apiGroups: ["","litmuschaos.io","batch","apps"]
|
- apiGroups: ["","litmuschaos.io","batch","apps"]
|
||||||
resources: ["pods","deployments","pods/log","events","jobs","chaosengines","chaosexperiments","chaosresults"]
|
resources: ["pods","deployments","pods/log","events","jobs","chaosengines","chaosexperiments","chaosresults"]
|
||||||
verbs: ["create","list","get","patch","update","delete"]
|
verbs: ["create","list","get","patch","update","delete","deletecollection"]
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||||
kind: RoleBinding
|
kind: RoleBinding
|
||||||
|
@@ -17,7 +17,7 @@ metadata:
|
|||||||
rules:
|
rules:
|
||||||
- apiGroups: ["","litmuschaos.io","batch","apps"]
|
- apiGroups: ["","litmuschaos.io","batch","apps"]
|
||||||
resources: ["pods","deployments","pods/log","events","jobs","chaosengines","chaosexperiments","chaosresults"]
|
resources: ["pods","deployments","pods/log","events","jobs","chaosengines","chaosexperiments","chaosresults"]
|
||||||
verbs: ["create","list","get","patch","update","delete"]
|
verbs: ["create","list","get","patch","update","delete","deletecollection"]
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||||
kind: RoleBinding
|
kind: RoleBinding
|
||||||
|
Reference in New Issue
Block a user