Added cpu load to node-cpu hog; Added memory bytes and percentage to node-memory-hog (#544)
Signed-off-by: Akash Shrivastava <as86414@gmail.com>
This commit is contained in:
committed by
GitHub
parent
abff585e59
commit
d5208bb787
@@ -18,8 +18,15 @@ spec:
|
|||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60'
|
value: '60'
|
||||||
|
|
||||||
|
## 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
|
- name: NODE_CPU_CORE
|
||||||
value: ''
|
value: '1'
|
||||||
|
|
||||||
|
## LOAD CPU WITH GIVEN PERCENT LOADING FOR THE CPU STRESS WORKERS.
|
||||||
|
## 0 IS EFFECTIVELY A SLEEP (NO LOAD) AND 100 IS FULL LOADING
|
||||||
|
- name: CPU_LOAD
|
||||||
|
value: '0'
|
||||||
|
|
||||||
## percentage of total nodes to target
|
## percentage of total nodes to target
|
||||||
- name: NODES_AFFECTED_PERC
|
- name: NODES_AFFECTED_PERC
|
||||||
|
@@ -18,11 +18,6 @@ spec:
|
|||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '120'
|
value: '120'
|
||||||
|
|
||||||
## Specify the size as percent of total node capacity Ex: '30'
|
|
||||||
## Note: For consuming memory in mebibytes change the variable to MEMORY_CONSUMPTION_MEBIBYTES
|
|
||||||
- name: MEMORY_CONSUMPTION_PERCENTAGE
|
|
||||||
value: '30'
|
|
||||||
|
|
||||||
## percentage of total nodes to target
|
## percentage of total nodes to target
|
||||||
- name: NODES_AFFECTED_PERC
|
- name: NODES_AFFECTED_PERC
|
||||||
value: ''
|
value: ''
|
||||||
@@ -30,3 +25,13 @@ spec:
|
|||||||
# provide the comma separated target node names
|
# provide the comma separated target node names
|
||||||
- name: TARGET_NODES
|
- name: TARGET_NODES
|
||||||
value: ''
|
value: ''
|
||||||
|
|
||||||
|
## Specify the size as percent of total node capacity Ex: '30'
|
||||||
|
## NOTE: for selecting this option keep MEMORY_CONSUMPTION_MEBIBYTES empty
|
||||||
|
- name: MEMORY_CONSUMPTION_PERCENTAGE
|
||||||
|
value: '0'
|
||||||
|
|
||||||
|
## Specify the amount of memory to be consumed in mebibytes
|
||||||
|
## NOTE: for selecting this option keep MEMORY_CONSUMPTION_PERCENTAGE empty
|
||||||
|
- name: MEMORY_CONSUMPTION_MEBIBYTES
|
||||||
|
value: '0'
|
||||||
|
Reference in New Issue
Block a user