chore(infra-chaos): Adding node-aff-perc & sequence in node-level chaos (#359)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
This commit is contained in:
committed by
GitHub
parent
cc72cae1b9
commit
4bc9fc3435
@@ -30,5 +30,5 @@ spec:
|
||||
value: '90' # in seconds
|
||||
|
||||
# provide the actual name of node under test
|
||||
- name: APP_NODE
|
||||
- name: TARGET_NODE
|
||||
value: 'node-01'
|
||||
|
@@ -65,7 +65,7 @@ spec:
|
||||
value: 'ubuntu:16.04'
|
||||
|
||||
# provide node name
|
||||
- name: APP_NODE
|
||||
- name: TARGET_NODE
|
||||
value: ''
|
||||
|
||||
labels:
|
||||
|
@@ -31,5 +31,5 @@ spec:
|
||||
value: ''
|
||||
|
||||
# ENTER THE NAME OF THE APPLICATION NODE
|
||||
- name: APP_NODE
|
||||
- name: TARGET_NODE
|
||||
value: ''
|
||||
|
@@ -62,8 +62,8 @@ spec:
|
||||
- name: NODE_CPU_CORE
|
||||
value: ''
|
||||
|
||||
# ENTER THE NAME OF THE APPLICATION NODE
|
||||
- name: APP_NODE
|
||||
# ENTER THE NAME OF THE TARGET NODE
|
||||
- name: TARGET_NODE
|
||||
value: ''
|
||||
|
||||
# PROVIDE THE LIB HERE
|
||||
@@ -74,6 +74,15 @@ spec:
|
||||
# provide lib image
|
||||
- name: LIB_IMAGE
|
||||
value: 'litmuschaos/go-runner:latest'
|
||||
|
||||
## percentage of total nodes to target
|
||||
- name: NODES_AFFECTED_PERC
|
||||
value: ''
|
||||
|
||||
## it defines the sequence of chaos execution for multiple target nodes
|
||||
## supported values: serial, parallel
|
||||
- name: SEQUENCE
|
||||
value: 'parallel'
|
||||
|
||||
labels:
|
||||
name: node-cpu-hog
|
||||
|
@@ -27,5 +27,5 @@ spec:
|
||||
kubernetes.io/hostname: 'node02'
|
||||
env:
|
||||
# set node name
|
||||
- name: APP_NODE
|
||||
- name: TARGET_NODE
|
||||
value: 'node-01'
|
@@ -55,7 +55,7 @@ spec:
|
||||
- /bin/bash
|
||||
env:
|
||||
|
||||
- name: APP_NODE
|
||||
- name: TARGET_NODE
|
||||
value: ''
|
||||
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
@@ -69,7 +69,7 @@ spec:
|
||||
# Period to wait before and after injection of chaos in sec
|
||||
- name: RAMP_TIME
|
||||
value: ''
|
||||
|
||||
|
||||
labels:
|
||||
name: node-drain
|
||||
app.kubernetes.io/part-of: litmus
|
||||
|
@@ -32,5 +32,5 @@ spec:
|
||||
value: '10'
|
||||
|
||||
## enter the name of the desired node
|
||||
- name: APP_NODE
|
||||
- name: TARGET_NODE
|
||||
value: ''
|
||||
|
@@ -67,8 +67,8 @@ spec:
|
||||
- name: NUMBER_OF_WORKERS
|
||||
value: '4'
|
||||
|
||||
## enter the name of the desired node
|
||||
- name: APP_NODE
|
||||
## enter the name of the target node
|
||||
- name: TARGET_NODE
|
||||
value: ''
|
||||
|
||||
# Period to wait before and after injection of chaos in sec
|
||||
@@ -83,6 +83,15 @@ spec:
|
||||
# provide lib image
|
||||
- name: LIB_IMAGE
|
||||
value: 'litmuschaos/go-runner:latest'
|
||||
|
||||
## percentage of total nodes to target
|
||||
- name: NODES_AFFECTED_PERC
|
||||
value: ''
|
||||
|
||||
## it defines the sequence of chaos execution for multiple target nodes
|
||||
## supported values: serial, parallel
|
||||
- name: SEQUENCE
|
||||
value: 'parallel'
|
||||
|
||||
labels:
|
||||
name: node-io-stress
|
||||
|
@@ -32,6 +32,6 @@ spec:
|
||||
- name: MEMORY_PERCENTAGE
|
||||
value: '90'
|
||||
|
||||
# ENTER THE NAME OF THE APPLICATION NODE
|
||||
- name: APP_NODE
|
||||
# ENTER THE NAME OF THE TARGET NODE
|
||||
- name: TARGET_NODE
|
||||
value: ''
|
||||
|
@@ -58,8 +58,8 @@ spec:
|
||||
- name: MEMORY_PERCENTAGE
|
||||
value: '90'
|
||||
|
||||
# ENTER THE NAME OF THE APPLICATION NODE
|
||||
- name: APP_NODE
|
||||
# ENTER THE NAME OF THE TARGET NODE
|
||||
- name: TARGET_NODE
|
||||
value: ''
|
||||
|
||||
# Period to wait before and after injection of chaos in sec
|
||||
@@ -74,6 +74,15 @@ spec:
|
||||
# provide lib image
|
||||
- name: LIB_IMAGE
|
||||
value: 'litmuschaos/go-runner:latest'
|
||||
|
||||
## percentage of total nodes to target
|
||||
- name: NODES_AFFECTED_PERC
|
||||
value: ''
|
||||
|
||||
## it defines the sequence of chaos execution for multiple target nodes
|
||||
## supported values: serial, parallel
|
||||
- name: SEQUENCE
|
||||
value: 'parallel'
|
||||
|
||||
labels:
|
||||
name: node-memory-hog
|
||||
|
@@ -27,7 +27,7 @@ spec:
|
||||
kubernetes.io/hostname: 'node02'
|
||||
env:
|
||||
# set node name
|
||||
- name: APP_NODE
|
||||
- name: TARGET_NODE
|
||||
value: 'node-01'
|
||||
|
||||
# set taint label & effect
|
||||
|
@@ -55,7 +55,7 @@ spec:
|
||||
- /bin/bash
|
||||
env:
|
||||
|
||||
- name: APP_NODE
|
||||
- name: TARGET_NODE
|
||||
value: ''
|
||||
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
|
Reference in New Issue
Block a user