Added DNS Spoof chaos (#455)
* added dns-spoof chaos chart Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
This commit is contained in:
committed by
GitHub
parent
de46820cdb
commit
cb425d8522
39
charts/generic/pod-dns-error/engine.yaml
Normal file
39
charts/generic/pod-dns-error/engine.yaml
Normal file
@@ -0,0 +1,39 @@
|
||||
apiVersion: litmuschaos.io/v1alpha1
|
||||
kind: ChaosEngine
|
||||
metadata:
|
||||
name: nginx-chaos
|
||||
spec:
|
||||
appinfo:
|
||||
appns: "default"
|
||||
applabel: "app=nginx"
|
||||
appkind: "deployment"
|
||||
# It can be active/stop
|
||||
engineState: "active"
|
||||
#ex. values: ns1:name=percona,ns2:run=nginx
|
||||
auxiliaryAppInfo: ""
|
||||
chaosServiceAccount: pod-dns-error-sa
|
||||
# It can be delete/retain
|
||||
jobCleanUpPolicy: "delete"
|
||||
experiments:
|
||||
- name: pod-dns-error
|
||||
spec:
|
||||
components:
|
||||
env:
|
||||
# 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"
|
||||
|
||||
- name: TOTAL_CHAOS_DURATION
|
||||
value: "60" # in seconds
|
||||
|
||||
# provide the name of container runtime, it supports docker, containerd, crio
|
||||
- name: CONTAINER_RUNTIME
|
||||
value: "docker"
|
||||
|
||||
# provide the socket file path
|
||||
- name: SOCKET_PATH
|
||||
value: "/var/run/docker.sock"
|
Reference in New Issue
Block a user