update(lib_image):Adding LIB_IMAGE ENV in node cpu/memory hog experiment (#204)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
This commit is contained in:
committed by
GitHub
parent
5e7df4bc2a
commit
0de90fb209
@@ -29,3 +29,4 @@ spec:
|
|||||||
|
|
||||||
- name: TARGET_CONTAINER
|
- name: TARGET_CONTAINER
|
||||||
value: 'nginx'
|
value: 'nginx'
|
||||||
|
|
@@ -55,5 +55,10 @@ spec:
|
|||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ''
|
||||||
|
|
||||||
|
# Provide the LIB here
|
||||||
|
# Only litmus supported
|
||||||
|
- name: LIB
|
||||||
|
value: 'litmus'
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: disk-fill
|
name: disk-fill
|
@@ -27,11 +27,5 @@ spec:
|
|||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60'
|
value: '60'
|
||||||
|
|
||||||
# It supprts GKE and EKS Platform
|
- name: NODE_CPU_CORE
|
||||||
# GKE is the default Platform
|
value: ''
|
||||||
- name: PLATFORM
|
|
||||||
value: 'GKE'
|
|
||||||
|
|
||||||
# chaos lib used to inject the chaos
|
|
||||||
- name: LIB
|
|
||||||
value: 'litmus'
|
|
@@ -55,13 +55,19 @@ spec:
|
|||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ''
|
||||||
|
|
||||||
# It supprts GKE and EKS Platform
|
## ENTER THE NUMBER OF CORES OF CPU FOR CPU HOGGING
|
||||||
# GKE is the default Platform
|
## OPTIONAL VALUE IN CASE OF EMPTY VALUE IT WILL TAKE NODE CPU CAPACITY
|
||||||
- name: PLATFORM
|
- name: NODE_CPU_CORE
|
||||||
value: 'GKE'
|
|
||||||
|
|
||||||
- name: LIB
|
|
||||||
value: ''
|
value: ''
|
||||||
|
|
||||||
|
# PROVIDE THE LIB HERE
|
||||||
|
# ONLY LITMUS SUPPORTED
|
||||||
|
- name: LIB
|
||||||
|
value: 'litmus'
|
||||||
|
|
||||||
|
# provide lib image
|
||||||
|
- name: LIB_IMAGE
|
||||||
|
value: 'litmuschaos/cpu:latest'
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: node-cpu-hog
|
name: node-cpu-hog
|
@@ -60,6 +60,11 @@ spec:
|
|||||||
- name: TOTAL_CHAOS_DURATION
|
- name: TOTAL_CHAOS_DURATION
|
||||||
value: '60'
|
value: '60'
|
||||||
|
|
||||||
|
# Provide the LIB here
|
||||||
|
# Only litmus supported
|
||||||
|
- name: LIB
|
||||||
|
value: 'litmus'
|
||||||
|
|
||||||
# Period to wait before injection of chaos in sec
|
# Period to wait before injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ''
|
||||||
|
@@ -31,12 +31,3 @@ spec:
|
|||||||
## default value 90%
|
## default value 90%
|
||||||
- name: MEMORY_PERCENTAGE
|
- name: MEMORY_PERCENTAGE
|
||||||
value: '90'
|
value: '90'
|
||||||
|
|
||||||
# It supprts GKE and EKS Platform
|
|
||||||
# GKE is the default Platform
|
|
||||||
- name: PLATFORM
|
|
||||||
value: 'GKE'
|
|
||||||
|
|
||||||
# chaos lib used to inject the chaos
|
|
||||||
- name: LIB
|
|
||||||
value: 'litmus'
|
|
@@ -60,13 +60,14 @@ spec:
|
|||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ''
|
||||||
|
|
||||||
# It supprts GKE and EKS Platform
|
# Provide the LIB here
|
||||||
# GKE is the default Platform
|
# Only litmus supported
|
||||||
- name: PLATFORM
|
|
||||||
value: 'GKE'
|
|
||||||
|
|
||||||
- name: LIB
|
- name: LIB
|
||||||
value: 'litmus'
|
value: 'litmus'
|
||||||
|
|
||||||
|
# provide lib image
|
||||||
|
- name: LIB_IMAGE
|
||||||
|
value: 'alexeiled/stress-ng:latest'
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: node-memory-hog
|
name: node-memory-hog
|
Reference in New Issue
Block a user