feat(charts): Adding chaos charts for node-memory-hog experiment (#163)
* feat(charts): Adding chaos charts for node-memory-hog experiment Signed-off-by: Udit Gaurav <uditgaurav@gmail.com>
This commit is contained in:
38
charts/generic/node-memory-hog/engine.yaml
Normal file
38
charts/generic/node-memory-hog/engine.yaml
Normal file
@@ -0,0 +1,38 @@
|
||||
apiVersion: litmuschaos.io/v1alpha1
|
||||
kind: ChaosEngine
|
||||
metadata:
|
||||
name: nginx-chaos
|
||||
namespace: default
|
||||
spec:
|
||||
# It can be true/false
|
||||
annotationCheck: 'false'
|
||||
# It can be active/stop
|
||||
engineState: 'active'
|
||||
#ex. values: ns1:name=percona,ns2:run=nginx
|
||||
auxiliaryAppInfo: ''
|
||||
appinfo:
|
||||
appns: 'default'
|
||||
applabel: 'app=nginx'
|
||||
appkind: 'deployment'
|
||||
chaosServiceAccount: node-memory-hog-sa
|
||||
monitoring: false
|
||||
# It can be delete/retain
|
||||
jobCleanUpPolicy: 'delete'
|
||||
experiments:
|
||||
- name: node-memory-hog
|
||||
spec:
|
||||
components:
|
||||
env:
|
||||
# set chaos duration (in sec) as desired
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60'
|
||||
## specify the size as percent of total available memory (in percentage %)
|
||||
## default value 90%
|
||||
- name: MEMORY_PERCENTAGE
|
||||
value: '90'
|
||||
# set chaos platform as desired
|
||||
- name: PLATFORM
|
||||
value: 'GKE'
|
||||
# chaos lib used to inject the chaos
|
||||
- name: LIB
|
||||
value: 'litmus'
|
Reference in New Issue
Block a user