feat(platform): Adding EKS platform in generic experiments (#181)

Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
This commit is contained in:
Shubham Chaudhary
2020-03-15 16:32:19 +05:30
committed by GitHub
parent 42334c88bc
commit 4adbf74c12
7 changed files with 25 additions and 4 deletions

View File

@@ -26,5 +26,6 @@ spec:
# specify the fill percentage according to the disk pressure required
- name: FILL_PERCENTAGE
value: '80'
- name: TARGET_CONTAINER
value: 'nginx'

View File

@@ -26,27 +26,35 @@ spec:
# set chaos duration (in sec) as desired
- name: TOTAL_CHAOS_DURATION
value: '60'
# set cloud platform name
- name: CLOUD_PLATFORM
value: 'GCP'
# set app_check to check application state
- name: APP_CHECK
value: 'true'
# This is a chaos namespace into which all infra chaos resources are created
- name: CHAOS_NAMESPACE
value: 'default'
# GCP project ID
- name: PROJECT_ID
value: 'litmus-demo-123'
# Node name of the cluster
- name: NODE_NAME
value: 'demo-node-123'
# Disk Name of the node, it must be an external disk.
- name: DISK_NAME
value: 'demo-disk-123'
# Enter the device name which you wanted to mount only for AWS.
- name: DEVICE_NAME
value: '/dev/sdb'
# Name of Zone in which node is present (GCP)
# Use Region Name when running with AWS (ex: us-central1)
- name: ZONE_NAME

View File

@@ -26,9 +26,12 @@ spec:
# set chaos duration (in sec) as desired
- name: TOTAL_CHAOS_DURATION
value: '60'
# set chaos platform as desired
# 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

@@ -56,6 +56,8 @@ spec:
- name: RAMP_TIME
value: ''
# It supprts GKE and EKS Platform
# GKE is the default Platform
- name: PLATFORM
value: 'GKE'

View File

@@ -26,13 +26,17 @@ spec:
# set chaos duration (in sec) as desired
- name: TOTAL_CHAOS_DURATION
value: '120'
## specify the size as percent of total available memory (in percentage %)
## default value 90%
- name: MEMORY_PERCENTAGE
value: '90'
# set chaos platform as desired
# 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,7 +60,8 @@ spec:
- name: RAMP_TIME
value: ''
# It supports GKE and EKS platform
# It supprts GKE and EKS Platform
# GKE is the default Platform
- name: PLATFORM
value: 'GKE'

View File

@@ -26,9 +26,11 @@ spec:
# set chaos duration (in sec) as desired
- name: TOTAL_CHAOS_DURATION
value: '30'
# set chaos interval (in sec) as desired
- name: CHAOS_INTERVAL
value: '10'
# pod failures without '--force' & default terminationGracePeriodSeconds
- name: FORCE
value: 'false'