chore(new-chart): Add chaos chart for pod network duplication (#253)
Signed-off-by: Udit Gaurav <uditgaurav@gmail.com>
This commit is contained in:
54
charts/generic/pod-network-duplication/experiment.yaml
Normal file
54
charts/generic/pod-network-duplication/experiment.yaml
Normal file
@@ -0,0 +1,54 @@
|
||||
apiVersion: litmuschaos.io/v1alpha1
|
||||
description:
|
||||
message: |
|
||||
Injects network packet duplication on pods belonging to an app deployment
|
||||
kind: ChaosExperiment
|
||||
metadata:
|
||||
name: pod-network-duplication
|
||||
version: 0.1.0
|
||||
spec:
|
||||
definition:
|
||||
scope: Namespaced
|
||||
permissions:
|
||||
- apiGroups:
|
||||
- ""
|
||||
- "batch"
|
||||
- "litmuschaos.io"
|
||||
resources:
|
||||
- "jobs"
|
||||
- "pods"
|
||||
- "pods/log"
|
||||
- "events"
|
||||
- "chaosengines"
|
||||
- "chaosexperiments"
|
||||
- "chaosresults"
|
||||
verbs:
|
||||
- "get"
|
||||
- "list"
|
||||
- "patch"
|
||||
- "create"
|
||||
- "update"
|
||||
- "delete"
|
||||
image: "litmuschaos/go-runner:latest"
|
||||
args:
|
||||
- -c
|
||||
- ./experiments/pod-network-duplication
|
||||
command:
|
||||
- /bin/bash
|
||||
env:
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60'
|
||||
- name: RAMP_TIME
|
||||
value: ''
|
||||
- name: TARGET_CONTAINER
|
||||
value: ''
|
||||
- name: NETWORK_INTERFACE
|
||||
value: 'eth0'
|
||||
- name: NETWORK_PACKET_DUPLICATION_PERCENTAGE
|
||||
value: '100' # in percentage
|
||||
- name: LIB
|
||||
value: 'pumba'
|
||||
- name: LIB_IMAGE
|
||||
value: 'gaiaadm/pumba:0.6.5'
|
||||
labels:
|
||||
name: pod-network-duplication
|
Reference in New Issue
Block a user