chore(new-chart): Add chaos chart for pod network duplication (#253)
Signed-off-by: Udit Gaurav <uditgaurav@gmail.com>
This commit is contained in:
43
charts/generic/pod-network-duplication/engine.yaml
Normal file
43
charts/generic/pod-network-duplication/engine.yaml
Normal file
@@ -0,0 +1,43 @@
|
||||
# chaosengine.yaml
|
||||
apiVersion: litmuschaos.io/v1alpha1
|
||||
kind: ChaosEngine
|
||||
metadata:
|
||||
name: nginx-network-chaos
|
||||
namespace: default
|
||||
spec:
|
||||
# It can be delete/retain
|
||||
jobCleanUpPolicy: 'delete'
|
||||
# It can be true/false
|
||||
annotationCheck: 'true'
|
||||
# It can be active/stop
|
||||
engineState: 'active'
|
||||
#ex. values: ns1:name=percona,ns2:run=nginx
|
||||
auxiliaryAppInfo: ''
|
||||
monitoring: false
|
||||
appinfo:
|
||||
appns: 'default'
|
||||
# FYI, To see app label, apply kubectl get pods --show-labels
|
||||
applabel: 'app=nginx'
|
||||
appkind: 'deployment'
|
||||
chaosServiceAccount: pod-network-duplication-sa
|
||||
experiments:
|
||||
- name: pod-network-duplication
|
||||
spec:
|
||||
components:
|
||||
env:
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60' # in seconds
|
||||
|
||||
- name: LIB_IMAGE
|
||||
value: 'gaiaadm/pumba:0.6.5'
|
||||
|
||||
#Network interface inside target container
|
||||
- name: NETWORK_INTERFACE
|
||||
value: 'eth0'
|
||||
|
||||
- name: NETWORK_PACKET_DUPLICATION_PERCENTAGE
|
||||
value: '100'
|
||||
|
||||
#If not provided it will take the first container of the target pod
|
||||
- name: TARGET_CONTAINER
|
||||
value: ''
|
Reference in New Issue
Block a user