refactors directory and file structure
Signed-off-by: neelanjan00 <neelanjan.manna@harness.io>
This commit is contained in:
43
faults/kubernetes/pod-dns-error/engine.yaml
Normal file
43
faults/kubernetes/pod-dns-error/engine.yaml
Normal file
@@ -0,0 +1,43 @@
|
||||
---
|
||||
apiVersion: litmuschaos.io/v1alpha1
|
||||
kind: ChaosEngine
|
||||
metadata:
|
||||
name: nginx-chaos
|
||||
spec:
|
||||
appinfo:
|
||||
appns: ""
|
||||
applabel: ""
|
||||
appkind: ""
|
||||
# It can be active/stop
|
||||
engineState: "active"
|
||||
#ex. values: ns1:name=percona,ns2:run=nginx
|
||||
auxiliaryAppInfo: ""
|
||||
chaosServiceAccount: pod-dns-error-sa
|
||||
experiments:
|
||||
- name: pod-dns-error
|
||||
spec:
|
||||
components:
|
||||
env:
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: "60" # in seconds
|
||||
|
||||
# list of the target hostnames or kewywords eg. '["litmuschaos","chaosnative.io"]' . If empty all hostnames are targets
|
||||
- name: TARGET_HOSTNAMES
|
||||
value: ""
|
||||
|
||||
# can be either exact or substring, determines whether the DNS query has to match exactly with one of the targets or can have any of the targets as substring
|
||||
- name: MATCH_SCHEME
|
||||
value: "exact"
|
||||
|
||||
# provide the name of container runtime, it supports docker, containerd, crio
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: 'containerd'
|
||||
|
||||
# provide the socket file path
|
||||
- name: SOCKET_PATH
|
||||
value: '/run/containerd/containerd.sock'
|
||||
|
||||
## percentage of total pods to target
|
||||
- name: PODS_AFFECTED_PERC
|
||||
value: ""
|
||||
|
Reference in New Issue
Block a user