feat: Add a rds-instance-stop chaos fault (#635)

* feat: Add a rds-instance-stop chaos fault

Signed-off-by: Jongwoo Han <jongwooo.han@gmail.com>

---------

Signed-off-by: Jongwoo Han <jongwooo.han@gmail.com>
This commit is contained in:
Jongwoo Han
2025-04-24 16:24:44 +09:00
committed by GitHub
parent 160f11c322
commit 44ddb75e96
7 changed files with 281 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
---
apiVersion: litmuschaos.io/v1alpha1
kind: ChaosEngine
metadata:
name: aws-chaos
namespace: default
spec:
engineState: 'active'
chaosServiceAccount: litmus-admin
experiments:
- name: rds-instance-stop
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 Identifier of the target RDS instances
# ex: rds-demo-instance-1,rds-demo-instance-2
- name: RDS_INSTANCE_IDENTIFIER
value: ''
# provide the region name of the instance
- name: REGION
value: ''
# Target the percentage of instance filtered from tag
- name: INSTANCE_AFFECTED_PERC
value: ''