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 # specify the fill percentage according to the disk pressure required
- name: FILL_PERCENTAGE - name: FILL_PERCENTAGE
value: '80' value: '80'
- name: TARGET_CONTAINER - name: TARGET_CONTAINER
value: 'nginx' value: 'nginx'

View File

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

View File

@@ -26,9 +26,12 @@ 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'
# set chaos platform as desired
# It supprts GKE and EKS Platform
# GKE is the default Platform
- name: PLATFORM - name: PLATFORM
value: 'GKE' value: 'GKE'
# chaos lib used to inject the chaos # chaos lib used to inject the chaos
- name: LIB - name: LIB
value: 'litmus' value: 'litmus'

View File

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

View File

@@ -26,13 +26,17 @@ spec:
# set chaos duration (in sec) as desired # set chaos duration (in sec) as desired
- name: TOTAL_CHAOS_DURATION - name: TOTAL_CHAOS_DURATION
value: '120' value: '120'
## 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'
# set chaos platform as desired
# It supprts GKE and EKS Platform
# GKE is the default Platform
- name: PLATFORM - name: PLATFORM
value: 'GKE' value: 'GKE'
# chaos lib used to inject the chaos # chaos lib used to inject the chaos
- name: LIB - name: LIB
value: 'litmus' value: 'litmus'

View File

@@ -60,7 +60,8 @@ spec:
- name: RAMP_TIME - name: RAMP_TIME
value: '' value: ''
# It supports GKE and EKS platform # It supprts GKE and EKS Platform
# GKE is the default Platform
- name: PLATFORM - name: PLATFORM
value: 'GKE' value: 'GKE'

View File

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