* Updated dir struture with scenarios and experiments dir Signed-off-by: Amit Kumar Das <amit.das@harness.io> * Added icons Signed-off-by: Amit Kumar Das <amit.das@harness.io>
30 lines
787 B
YAML
30 lines
787 B
YAML
apiVersion: litmuschaos.io/v1alpha1
|
|
kind: ChaosEngine
|
|
metadata:
|
|
name: engine-coredns
|
|
namespace: kube-system
|
|
spec:
|
|
appinfo:
|
|
appns: 'kube-system'
|
|
applabel: 'k8s-app=kube-dns'
|
|
appkind: 'deployment'
|
|
# It can be active/stop
|
|
engineState: 'active'
|
|
#ex. values: ns1:name=percona,ns2:run=nginx
|
|
auxiliaryAppInfo: ''
|
|
chaosServiceAccount: coredns-pod-delete-sa
|
|
experiments:
|
|
- name: coredns-pod-delete
|
|
spec:
|
|
components:
|
|
env:
|
|
# set chaos duration (in sec) as desired
|
|
- name: TOTAL_CHAOS_DURATION
|
|
value: '30'
|
|
|
|
# set chaos interval (in sec) as desired
|
|
- name: CHAOS_INTERVAL
|
|
value: '10'
|
|
|
|
- name: CHAOS_NAMESPACE
|
|
value: 'kube-system' |