Chore(stress-chaos): Add stress chaos charts (#475)

Signed-off-by: udit <udit@chaosnative.com>

Co-authored-by: Shubham Chaudhary <shubham.chaudhary@mayadata.io>
This commit is contained in:
Udit Gaurav
2021-06-16 03:32:25 +05:30
committed by GitHub
parent 2c87b79afb
commit 00570a79dc
25 changed files with 511 additions and 217 deletions

View File

@@ -0,0 +1,25 @@
apiVersion: litmuschaos.io/v1alpha1
kind: ChaosEngine
metadata:
name: nginx-chaos
namespace: default
spec:
# It can be active/stop
engineState: 'active'
appinfo:
appns: 'default'
applabel: 'app=nginx'
appkind: 'deployment'
chaosServiceAccount: pod-cpu-hog-exec-sa
experiments:
- name: pod-cpu-hog-exec
spec:
components:
env:
#number of cpu cores to be consumed
#verify the resources the app has been launched with
- name: CPU_CORES
value: '1'
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds