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
|
||||
# default port: 9042
|
||||
- name: CASSANDRA_PORT
|
||||
value: ''
|
||||
value: '9042'
|
||||
|
||||
# provide liveness deployement port
|
||||
# default port: 8088, It only supports 8088 port
|
||||
@@ -92,10 +92,6 @@ spec:
|
||||
- name: RAMP_TIME
|
||||
value: ''
|
||||
|
||||
# provide the kill count
|
||||
- name: KILL_COUNT
|
||||
value: ''
|
||||
|
||||
- name: FORCE
|
||||
value: ''
|
||||
|
||||
|
@@ -17,7 +17,7 @@ metadata:
|
||||
rules:
|
||||
- apiGroups: ["","litmuschaos.io","batch","apps"]
|
||||
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
|
||||
kind: RoleBinding
|
||||
|
@@ -35,10 +35,16 @@ spec:
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '20'
|
||||
|
||||
# For containerd image use: litmuschaos/container-kill-helper:latest
|
||||
- name: LIB_IMAGE
|
||||
value: 'gaiaadm/pumba:0.6.5'
|
||||
value: 'litmuschaos/go-runner:latest'
|
||||
|
||||
# It supports pumba and containerd
|
||||
- name: LIB
|
||||
value: 'pumba'
|
||||
# provide the name of container runtime
|
||||
# it supports docker, containerd, crio
|
||||
# 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:
|
||||
components:
|
||||
nodeSelector:
|
||||
# provide the node labels
|
||||
kubernetes.io/hostname: 'node02'
|
||||
env:
|
||||
# set chaos duration (in sec) as desired
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '90'
|
||||
|
||||
# provide the actual name of node under test
|
||||
- name: APP_NODE
|
||||
value: 'node-01'
|
@@ -23,10 +23,12 @@ spec:
|
||||
spec:
|
||||
components:
|
||||
nodeSelector:
|
||||
# provide the node labels
|
||||
kubernetes.io/hostname: 'node02'
|
||||
env:
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '90' # in seconds
|
||||
|
||||
# provide the actual name of node under test
|
||||
- name: APP_NODE
|
||||
value: 'node-01'
|
||||
|
@@ -52,8 +52,6 @@ spec:
|
||||
- name: RAMP_TIME
|
||||
value: ''
|
||||
|
||||
|
||||
|
||||
## ENTER THE NUMBER OF CORES OF CPU FOR CPU HOGGING
|
||||
## OPTIONAL VALUE IN CASE OF EMPTY VALUE IT WILL TAKE NODE CPU CAPACITY
|
||||
- name: NODE_CPU_CORE
|
||||
|
@@ -23,6 +23,7 @@ spec:
|
||||
spec:
|
||||
components:
|
||||
nodeSelector:
|
||||
# provide the node labels
|
||||
kubernetes.io/hostname: 'node02'
|
||||
env:
|
||||
# set node name
|
||||
|
@@ -48,9 +48,6 @@ spec:
|
||||
command:
|
||||
- /bin/bash
|
||||
env:
|
||||
|
||||
- name: LIVENESS_APP_LABEL
|
||||
value: ''
|
||||
|
||||
- name: APP_NODE
|
||||
value: ''
|
||||
@@ -67,8 +64,5 @@ spec:
|
||||
- name: RAMP_TIME
|
||||
value: ''
|
||||
|
||||
- name: LIVENESS_APP_NAMESPACE
|
||||
value: ''
|
||||
|
||||
labels:
|
||||
name: node-drain
|
||||
|
@@ -2,7 +2,7 @@ apiVersion: litmuchaos.io/v1alpha1
|
||||
kind: ChartServiceVersion
|
||||
metadata:
|
||||
createdAt: 2020-09-12T10:28:08Z
|
||||
name:
|
||||
name: node-io-stress
|
||||
version: 0.1.0
|
||||
annotations:
|
||||
categories: Kubernetes
|
||||
@@ -34,12 +34,12 @@ spec:
|
||||
name: Mayadata
|
||||
links:
|
||||
- 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
|
||||
url: https://docs.litmuschaos.io/docs//
|
||||
url: https://docs.litmuschaos.io/docs/node-io-stress/
|
||||
- name: Video
|
||||
url:
|
||||
icon:
|
||||
- url: ""
|
||||
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:
|
||||
components:
|
||||
nodeSelector:
|
||||
# provide the node labels
|
||||
kubernetes.io/hostname: 'node02'
|
||||
env:
|
||||
# set node name
|
||||
- name: APP_NODE
|
||||
value: 'node-01'
|
||||
|
||||
# set taint label & effect
|
||||
# key=value:effect or key:effect
|
||||
- name: TAINTS
|
||||
|
@@ -17,7 +17,7 @@ metadata:
|
||||
rules:
|
||||
- apiGroups: ["","litmuschaos.io","batch","apps"]
|
||||
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
|
||||
kind: RoleBinding
|
||||
|
@@ -17,7 +17,7 @@ metadata:
|
||||
rules:
|
||||
- apiGroups: ["","litmuschaos.io","batch","apps"]
|
||||
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
|
||||
kind: RoleBinding
|
||||
|
@@ -37,7 +37,7 @@ spec:
|
||||
- /bin/bash
|
||||
env:
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '120'
|
||||
value: '120'
|
||||
|
||||
## specify the size as percentage of free space on the file system
|
||||
## default value 90 (in percentage)
|
||||
|
Reference in New Issue
Block a user