You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: experiments/bank-of-anthos/experiment.yaml
+160-3Lines changed: 160 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -37,12 +37,168 @@ spec:
37
37
args: ["-namespace=bank","-typeName=resilient","-operation=apply","-timeout=400", "-app=bank-of-anthos","-scope=cluster"] #for weak provide type flagName as resilient(-typeName=weak)
38
38
39
39
- name: install-chaos-faults
40
+
inputs:
41
+
artifacts:
42
+
- name: pod-network-loss-x1w
43
+
path: /tmp/pod-network-loss-x1w.yaml
44
+
raw:
45
+
data: |
46
+
apiVersion: litmuschaos.io/v1alpha1
47
+
description:
48
+
message: |
49
+
Injects network packet loss on pods belonging to an app deployment
50
+
kind: ChaosExperiment
51
+
metadata:
52
+
name: pod-network-loss
53
+
labels:
54
+
name: pod-network-loss
55
+
app.kubernetes.io/part-of: litmus
56
+
app.kubernetes.io/component: chaosexperiment
57
+
app.kubernetes.io/version: latest
58
+
spec:
59
+
definition:
60
+
scope: Namespaced
61
+
permissions:
62
+
# Create and monitor the experiment & helper pods
63
+
- apiGroups: [""]
64
+
resources: ["pods"]
65
+
verbs:
66
+
[
67
+
"create",
68
+
"delete",
69
+
"get",
70
+
"list",
71
+
"patch",
72
+
"update",
73
+
"deletecollection",
74
+
]
75
+
# Performs CRUD operations on the events inside chaosengine and chaosresult
args: ["-namespace=bank","-typeName=resilient","-operation=apply","-timeout=400", "-app=bank-of-anthos","-scope=cluster"] #for weak provide type flagName as resilient(-typeName=weak)
42
42
43
43
- name: install-chaos-faults
44
+
inputs:
45
+
artifacts:
46
+
- name: pod-network-loss-x1w
47
+
path: /tmp/pod-network-loss-x1w.yaml
48
+
raw:
49
+
data: |
50
+
apiVersion: litmuschaos.io/v1alpha1
51
+
description:
52
+
message: |
53
+
Injects network packet loss on pods belonging to an app deployment
54
+
kind: ChaosExperiment
55
+
metadata:
56
+
name: pod-network-loss
57
+
labels:
58
+
name: pod-network-loss
59
+
app.kubernetes.io/part-of: litmus
60
+
app.kubernetes.io/component: chaosexperiment
61
+
app.kubernetes.io/version: latest
62
+
spec:
63
+
definition:
64
+
scope: Namespaced
65
+
permissions:
66
+
# Create and monitor the experiment & helper pods
67
+
- apiGroups: [""]
68
+
resources: ["pods"]
69
+
verbs:
70
+
[
71
+
"create",
72
+
"delete",
73
+
"get",
74
+
"list",
75
+
"patch",
76
+
"update",
77
+
"deletecollection",
78
+
]
79
+
# Performs CRUD operations on the events inside chaosengine and chaosresult
0 commit comments