* Chore(ec2): Add charts for ec2 terminate experiment-by-id and ec2-terminate-by-tag Signed-off-by: uditgaurav <udit@chaosnative.com> * add ec2 terminates by id and tag in pkg and csv Signed-off-by: uditgaurav <udit@chaosnative.com>
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
apiVersion: litmuschaos.io/v1alpha1
|
|
kind: ChaosEngine
|
|
metadata:
|
|
name: nginx-chaos
|
|
namespace: default
|
|
spec:
|
|
# It can be true/false
|
|
annotationCheck: 'false'
|
|
# It can be active/stop
|
|
engineState: 'active'
|
|
#ex. values: ns1:name=percona,ns2:run=nginx
|
|
auxiliaryAppInfo: ''
|
|
chaosServiceAccount: node-io-stress-sa
|
|
# It can be delete/retain
|
|
jobCleanUpPolicy: 'delete'
|
|
experiments:
|
|
- name: node-io-stress
|
|
spec:
|
|
components:
|
|
env:
|
|
# set chaos duration (in sec) as desired
|
|
- name: TOTAL_CHAOS_DURATION
|
|
value: '120'
|
|
|
|
## specify the size as percentage of free space on the file system
|
|
- name: FILESYSTEM_UTILIZATION_PERCENTAGE
|
|
value: '10'
|
|
|
|
## Number of core of CPU
|
|
- name: CPU
|
|
value: '1'
|
|
|
|
## Total number of workers default value is 4
|
|
- name: NUMBER_OF_WORKERS
|
|
value: '4'
|
|
|
|
## enter the comma separated target nodes name
|
|
- name: TARGET_NODES
|
|
value: ''
|