mirror of
https://github.com/cupcakearmy/master-thesis.git
synced 2026-04-02 20:05:31 +00:00
Clear History
This commit is contained in:
47
code/src/templates/demo/workflow.yaml
Normal file
47
code/src/templates/demo/workflow.yaml
Normal file
@@ -0,0 +1,47 @@
|
||||
apiVersion: chaos-mesh.org/v1alpha1
|
||||
kind: Workflow
|
||||
metadata:
|
||||
name: test
|
||||
spec:
|
||||
entry: entry
|
||||
templates:
|
||||
- name: entry
|
||||
templateType: Serial
|
||||
children:
|
||||
- delay
|
||||
- loss
|
||||
- name: delay
|
||||
templateType: NetworkChaos
|
||||
networkChaos:
|
||||
action: delay
|
||||
selector:
|
||||
namespaces:
|
||||
- simulator
|
||||
mode: all
|
||||
target:
|
||||
selector:
|
||||
namespaces:
|
||||
- simulator
|
||||
mode: all
|
||||
direction: both
|
||||
delay:
|
||||
latency: '90ms'
|
||||
correlation: '25'
|
||||
jitter: '1ms'
|
||||
- name: loss
|
||||
templateType: NetworkChaos
|
||||
networkChaos:
|
||||
action: delay
|
||||
selector:
|
||||
namespaces:
|
||||
- simulator
|
||||
mode: all
|
||||
target:
|
||||
selector:
|
||||
namespaces:
|
||||
- simulator
|
||||
mode: all
|
||||
direction: both
|
||||
loss:
|
||||
loss: '25'
|
||||
correlation: '25'
|
||||
Reference in New Issue
Block a user