feat(chaos): add NetworkChaos experiment template #4
22
chaos/network-delay.yaml
Normal file
22
chaos/network-delay.yaml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
apiVersion: chaos-mesh.org/v1alpha1
|
||||||
|
kind: NetworkChaos
|
||||||
|
metadata:
|
||||||
|
name: network-delay-petclinic
|
||||||
|
namespace: demo-apps
|
||||||
|
labels:
|
||||||
|
app: petclinic
|
||||||
|
app.kubernetes.io/managed-by: backstage
|
||||||
|
spec:
|
||||||
|
action: delay
|
||||||
|
mode: all
|
||||||
|
selector:
|
||||||
|
namespaces:
|
||||||
|
- demo-apps
|
||||||
|
labelSelectors:
|
||||||
|
app: petclinic
|
||||||
|
delay:
|
||||||
|
latency: "100ms"
|
||||||
|
correlation: "50"
|
||||||
|
jitter: "25ms"
|
||||||
|
direction: to
|
||||||
|
duration: "60s"
|
||||||
Reference in New Issue
Block a user