refactors directory and file structure
Signed-off-by: neelanjan00 <neelanjan.manna@harness.io>
This commit is contained in:
29
faults/kubernetes/pod-autoscaler/engine.yaml
Normal file
29
faults/kubernetes/pod-autoscaler/engine.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
apiVersion: litmuschaos.io/v1alpha1
|
||||
kind: ChaosEngine
|
||||
metadata:
|
||||
name: nginx-chaos
|
||||
namespace: default
|
||||
spec:
|
||||
# It can be active/stop
|
||||
engineState: 'active'
|
||||
#ex. values: ns1:name=percona,ns2:run=nginx
|
||||
auxiliaryAppInfo: ''
|
||||
appinfo:
|
||||
appns: ''
|
||||
applabel: ''
|
||||
appkind: ''
|
||||
chaosServiceAccount: pod-autoscaler-sa
|
||||
experiments:
|
||||
- name: pod-autoscaler
|
||||
spec:
|
||||
components:
|
||||
env:
|
||||
# set chaos duration (in sec) as desired
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '60'
|
||||
|
||||
# number of replicas to scale
|
||||
- name: REPLICA_COUNT
|
||||
value: '5'
|
||||
|
Reference in New Issue
Block a user