chart(pod-network-partition): Adding chart of the pod-network-partition experiment (#501)
Signed-off-by: shubham chaudhary <shubham@chaosnative.com>
This commit is contained in:
committed by
GitHub
parent
fa29cf9905
commit
2a60b8c537
21
charts/generic/pod-network-partition/engine.yaml
Normal file
21
charts/generic/pod-network-partition/engine.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
apiVersion: litmuschaos.io/v1alpha1
|
||||
kind: ChaosEngine
|
||||
metadata:
|
||||
name: nginx-network-chaos
|
||||
namespace: default
|
||||
spec:
|
||||
# It can be active/stop
|
||||
engineState: 'active'
|
||||
appinfo:
|
||||
appns: 'default'
|
||||
# FYI, To see app label, apply kubectl get pods --show-labels
|
||||
applabel: 'app=nginx'
|
||||
appkind: 'deployment'
|
||||
chaosServiceAccount: pod-network-partition-sa
|
||||
experiments:
|
||||
- name: pod-network-partition
|
||||
spec:
|
||||
components:
|
||||
env:
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60' # in seconds
|
Reference in New Issue
Block a user