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' value: '80'
- name: TARGET_CONTAINER - name: TARGET_CONTAINER
value: 'nginx' value: 'nginx'

View File

@@ -54,6 +54,11 @@ spec:
# 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: ''
# Provide the LIB here
# Only litmus supported
- name: LIB
value: 'litmus'
labels: labels:
name: disk-fill name: disk-fill

View File

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

View File

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

View File

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

View File

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

View File

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