refactors directory and file structure
Signed-off-by: neelanjan00 <neelanjan.manna@harness.io>
This commit is contained in:
34
faults/spring-boot/spring-boot-latency/engine.yaml
Normal file
34
faults/spring-boot/spring-boot-latency/engine.yaml
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
apiVersion: litmuschaos.io/v1alpha1
|
||||
kind: ChaosEngine
|
||||
metadata:
|
||||
name: spring-boot-chaos
|
||||
namespace: default
|
||||
spec:
|
||||
appinfo:
|
||||
appns: ''
|
||||
applabel: ''
|
||||
appkind: ''
|
||||
# It can be active/stop
|
||||
engineState: 'active'
|
||||
chaosServiceAccount: spring-boot-latency-sa
|
||||
experiments:
|
||||
- name: spring-boot-latency
|
||||
spec:
|
||||
components:
|
||||
env:
|
||||
# set chaos duration (in sec) as desired
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '30'
|
||||
|
||||
# provide the latency (ms)
|
||||
- name: LATENCY
|
||||
value: '2000'
|
||||
|
||||
# port of the spring boot application
|
||||
- name: CM_PORT
|
||||
value: ''
|
||||
|
||||
## percentage of total pods to target
|
||||
- name: PODS_AFFECTED_PERC
|
||||
value: ''
|
Reference in New Issue
Block a user