Files
litmus-hub/charts/kube-aws/ec2-terminate/engine.yaml
Shubham Chaudhary 3575803f51 chore(chaosengine): Removed monitoring from all experiments & appinfo from infra experiments (#431)
* update(workflows): Updating k8Probe schema inside workflows

Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>

* chore(chaosengine): Removed monitoring from all experiments & appinfo from infra experiments

Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>
2021-04-10 13:36:46 +05:30

32 lines
940 B
YAML

apiVersion: litmuschaos.io/v1alpha1
kind: ChaosEngine
metadata:
name: nginx-chaos
namespace: default
spec:
annotationCheck: 'false'
engineState: 'active'
chaosServiceAccount: ec2-terminate-sa
# It can be retain/delete
jobCleanUpPolicy: 'delete'
experiments:
- name: ec2-terminate
spec:
components:
env:
# set chaos duration (in sec) as desired
- name: TOTAL_CHAOS_DURATION
value: '60'
# Instance ID of the target ec2 instance
# If not provided it will select randomly from the region
- name: EC2_INSTANCE_ID
value: ''
# provide the region name of the instace
- name: REGION
value: ''
# enable it if the target instance is a part of self-managed nodegroup.
- name: MANAGED_NODEGROUP
value: 'disable'