24 lines
542 B
YAML
24 lines
542 B
YAML
# lib for the chaos injection
|
|
apiVersion: litmuschaos.io/v1alpha1
|
|
kind: ChaosEngine
|
|
metadata:
|
|
name: engine-nginx
|
|
spec:
|
|
engineState: "active"
|
|
annotationCheck: "false"
|
|
appinfo:
|
|
appns: "default"
|
|
applabel: "app=nginx"
|
|
appkind: "deployment"
|
|
chaosServiceAccount: pod-delete-sa
|
|
experiments:
|
|
- name: pod-delete
|
|
spec:
|
|
components:
|
|
env:
|
|
# defines the name of the chaoslib used for the experiment
|
|
- name: LIB
|
|
value: 'litmus'
|
|
- name: TOTAL_CHAOS_DURATION
|
|
value: '60'
|