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