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:
Shubham Chaudhary
2020-04-10 17:06:05 +05:30
committed by GitHub
parent 5e7df4bc2a
commit 0de90fb209
7 changed files with 35 additions and 32 deletions

View File

@@ -29,3 +29,4 @@ spec:
- name: TARGET_CONTAINER
value: 'nginx'

View File

@@ -55,5 +55,10 @@ spec:
- name: RAMP_TIME
value: ''
# Provide the LIB here
# Only litmus supported
- name: LIB
value: 'litmus'
labels:
name: disk-fill

View File

@@ -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: ''

View File

@@ -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

View File

@@ -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: ''

View File

@@ -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'

View File

@@ -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