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
|
||||
value: 'nginx'
|
||||
|
@@ -55,5 +55,10 @@ spec:
|
||||
- name: RAMP_TIME
|
||||
value: ''
|
||||
|
||||
# Provide the LIB here
|
||||
# Only litmus supported
|
||||
- name: LIB
|
||||
value: 'litmus'
|
||||
|
||||
labels:
|
||||
name: disk-fill
|
@@ -27,11 +27,5 @@ spec:
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60'
|
||||
|
||||
# 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'
|
||||
- name: NODE_CPU_CORE
|
||||
value: ''
|
@@ -55,13 +55,19 @@ spec:
|
||||
- name: RAMP_TIME
|
||||
value: ''
|
||||
|
||||
# It supprts GKE and EKS Platform
|
||||
# GKE is the default Platform
|
||||
- name: PLATFORM
|
||||
value: 'GKE'
|
||||
|
||||
- name: LIB
|
||||
## 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
|
||||
value: ''
|
||||
|
||||
# PROVIDE THE LIB HERE
|
||||
# ONLY LITMUS SUPPORTED
|
||||
- name: LIB
|
||||
value: 'litmus'
|
||||
|
||||
# provide lib image
|
||||
- name: LIB_IMAGE
|
||||
value: 'litmuschaos/cpu:latest'
|
||||
|
||||
labels:
|
||||
name: node-cpu-hog
|
@@ -60,6 +60,11 @@ spec:
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60'
|
||||
|
||||
# Provide the LIB here
|
||||
# Only litmus supported
|
||||
- name: LIB
|
||||
value: 'litmus'
|
||||
|
||||
# Period to wait before injection of chaos in sec
|
||||
- name: RAMP_TIME
|
||||
value: ''
|
||||
|
@@ -31,12 +31,3 @@ spec:
|
||||
## default value 90%
|
||||
- name: MEMORY_PERCENTAGE
|
||||
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
|
||||
value: ''
|
||||
|
||||
# It supprts GKE and EKS Platform
|
||||
# GKE is the default Platform
|
||||
- name: PLATFORM
|
||||
value: 'GKE'
|
||||
|
||||
# Provide the LIB here
|
||||
# Only litmus supported
|
||||
- name: LIB
|
||||
value: 'litmus'
|
||||
|
||||
# provide lib image
|
||||
- name: LIB_IMAGE
|
||||
value: 'alexeiled/stress-ng:latest'
|
||||
|
||||
labels:
|
||||
name: node-memory-hog
|
Reference in New Issue
Block a user