feat(chaos): add PodChaos experiment template
All checks were successful
CI Pipeline / Build and Test (pull_request) Successful in 20s
All checks were successful
CI Pipeline / Build and Test (pull_request) Successful in 20s
This commit is contained in:
17
chaos/pod-kill.yaml
Normal file
17
chaos/pod-kill.yaml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
apiVersion: chaos-mesh.org/v1alpha1
|
||||||
|
kind: PodChaos
|
||||||
|
metadata:
|
||||||
|
name: pod-kill-vote
|
||||||
|
namespace: demo-apps
|
||||||
|
labels:
|
||||||
|
app: vote
|
||||||
|
app.kubernetes.io/managed-by: backstage
|
||||||
|
spec:
|
||||||
|
action: pod-kill
|
||||||
|
mode: one
|
||||||
|
selector:
|
||||||
|
namespaces:
|
||||||
|
- demo-apps
|
||||||
|
labelSelectors:
|
||||||
|
app: vote
|
||||||
|
duration: "30s"
|
||||||
Reference in New Issue
Block a user