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

@@ -28,4 +28,5 @@ spec:
value: '80'
- name: TARGET_CONTAINER
value: 'nginx'
value: 'nginx'

View File

@@ -54,6 +54,11 @@ spec:
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
# Provide the LIB here
# Only litmus supported
- name: LIB
value: 'litmus'
labels:
name: disk-fill

View File

@@ -26,12 +26,6 @@ spec:
# set chaos duration (in sec) as desired
- 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

@@ -30,13 +30,4 @@ spec:
## specify the size as percent of total available memory (in percentage %)
## 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'
value: '90'

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