feat(helper-pods): adding the image of go helper-pod (#237)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
This commit is contained in:
committed by
GitHub
parent
28704283dc
commit
9cfa30b815
@@ -33,4 +33,14 @@ spec:
|
||||
|
||||
# provide the total chaos duration
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '20'
|
||||
value: '20'
|
||||
|
||||
# LIB_IMAGE can be - gaiaadm/pumba:0.6.5, litmuschaos/container-kill-helper:latest
|
||||
# For pumba image use: gaiaadm/pumba:0.6.5
|
||||
# For containerd image use: litmuschaos/container-kill-helper:latest
|
||||
- name: LIB_IMAGE
|
||||
value: 'gaiaadm/pumba:0.6.5'
|
||||
|
||||
# It supports pumba and containerd
|
||||
- name: LIB
|
||||
value: 'pumba'
|
@@ -2,16 +2,21 @@ apiVersion: litmuschaos.io/v1alpha1
|
||||
kind: ChaosEngine
|
||||
metadata:
|
||||
name: nginx-chaos
|
||||
namespace: nginx
|
||||
namespace: default
|
||||
spec:
|
||||
# It can be true/false
|
||||
annotationCheck: 'true'
|
||||
# It can be active/stop
|
||||
engineState: 'active'
|
||||
#ex. values: ns1:name=percona,ns2:run=nginx
|
||||
auxiliaryAppInfo: ''
|
||||
appinfo:
|
||||
appns: 'nginx'
|
||||
appns: 'default'
|
||||
applabel: 'app=nginx'
|
||||
appkind: 'deployment'
|
||||
chaosServiceAccount: container-kill-sa
|
||||
# use retain to keep the job for debug
|
||||
monitoring: false
|
||||
# It can be delete/retain
|
||||
jobCleanUpPolicy: 'delete'
|
||||
experiments:
|
||||
- name: container-kill
|
||||
@@ -21,3 +26,21 @@ spec:
|
||||
# specify the name of the container to be killed
|
||||
- name: TARGET_CONTAINER
|
||||
value: 'nginx'
|
||||
|
||||
# provide the chaos interval
|
||||
- name: CHAOS_INTERVAL
|
||||
value: '10'
|
||||
|
||||
# provide the total chaos duration
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '20'
|
||||
|
||||
# LIB_IMAGE can be - gaiaadm/pumba:0.6.5, litmuschaos/container-kill-helper:latest
|
||||
# For pumba image use: gaiaadm/pumba:0.6.5
|
||||
# For containerd image use: litmuschaos/container-kill-helper:latest
|
||||
- name: LIB_IMAGE
|
||||
value: 'gaiaadm/pumba:0.6.5'
|
||||
|
||||
# It supports pumba and containerd
|
||||
- name: LIB
|
||||
value: 'pumba'
|
@@ -66,9 +66,9 @@ spec:
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '20'
|
||||
|
||||
# LIB_IMAGE can be - gaiaadm/pumba:0.6.5, litmuschaos/container-killer:latest
|
||||
# LIB_IMAGE can be - gaiaadm/pumba:0.6.5, litmuschaos/container-kill-helper:latest
|
||||
# For pumba image use: gaiaadm/pumba:0.6.5
|
||||
# For containerd image use: litmuschaos/container-killer:latest
|
||||
# For containerd image use: litmuschaos/container-kill-helper:latest
|
||||
- name: LIB_IMAGE
|
||||
value: 'gaiaadm/pumba:0.6.5'
|
||||
|
||||
|
@@ -69,7 +69,7 @@ spec:
|
||||
value: '5'
|
||||
|
||||
- name: LIB_IMAGE
|
||||
value: 'litmuschaos/pod-deleter:latest'
|
||||
value: 'litmuschaos/pod-delete-helper:latest'
|
||||
|
||||
- name: LIB
|
||||
value: 'litmus'
|
||||
|
Reference in New Issue
Block a user