Chore(ec2): Add charts for ec2 terminate experiment-by-id and ec2-terminate-by-tag (#440)
* 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>
This commit is contained in:
36
charts/kube-aws/ec2-terminate-by-id/engine.yaml
Normal file
36
charts/kube-aws/ec2-terminate-by-id/engine.yaml
Normal file
@@ -0,0 +1,36 @@
|
||||
apiVersion: litmuschaos.io/v1alpha1
|
||||
kind: ChaosEngine
|
||||
metadata:
|
||||
name: nginx-chaos
|
||||
namespace: default
|
||||
spec:
|
||||
annotationCheck: 'false'
|
||||
engineState: 'active'
|
||||
chaosServiceAccount: ec2-terminate-by-id-sa
|
||||
# It can be retain/delete
|
||||
jobCleanUpPolicy: 'delete'
|
||||
experiments:
|
||||
- name: ec2-terminate-by-id
|
||||
spec:
|
||||
components:
|
||||
env:
|
||||
# set chaos duration (in sec) as desired
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: '30'
|
||||
|
||||
# set interval duration (in sec) as desired
|
||||
- name: CHAOS_INTERVAL
|
||||
value: '30'
|
||||
|
||||
# Instance ID of the target ec2 instance
|
||||
# Multiple IDs can also be provided as comma seperated values ex: id1,id2
|
||||
- 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'
|
Reference in New Issue
Block a user