* Chore(new_chart): Add Chaos Charts for Azure instance terminate experiment Signed-off-by: uditgaurav <udit@chaosnative.com> * Update azure.chartserviceversion.yaml Co-authored-by: Shubham Chaudhary <shubham.chaudhary@mayadata.io>
30 lines
740 B
YAML
30 lines
740 B
YAML
apiVersion: litmuschaos.io/v1alpha1
|
|
kind: ChaosEngine
|
|
metadata:
|
|
name: nginx-chaos
|
|
namespace: default
|
|
spec:
|
|
annotationCheck: 'false'
|
|
engineState: 'active'
|
|
chaosServiceAccount: azure-instance-terminate-sa
|
|
monitoring: false
|
|
# It can be retain/delete
|
|
jobCleanUpPolicy: 'delete'
|
|
experiments:
|
|
- name: azure-instance-terminate
|
|
spec:
|
|
components:
|
|
env:
|
|
# set chaos duration (in sec) as desired
|
|
- name: TOTAL_CHAOS_DURATION
|
|
value: '30'
|
|
|
|
# provide the target instance name
|
|
- name: AZURE_INSTANCE_NAME
|
|
value: ''
|
|
|
|
# provide the resource group of the instance
|
|
- name: RESOURCE_GROUP
|
|
value: ''
|
|
|