Files
litmus-hub/charts/generic/pod-dns-spoof/engine.yaml
Udit Gaurav a9c07c7fd6 Chore(ebs-loss): Add EBS Loss By Tag Experiment (#459)
* Chore(ebs-loss): Add EBS Loss By Tag Experiment

Signed-off-by: uditgaurav <udit@chaosnative.com>
2021-05-15 19:57:05 +05:30

37 lines
1.0 KiB
YAML

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"
annotationCheck: 'false'
#ex. values: ns1:name=percona,ns2:run=nginx
auxiliaryAppInfo: ""
chaosServiceAccount: pod-dns-spoof-sa
# It can be delete/retain
jobCleanUpPolicy: "delete"
experiments:
- name: pod-dns-spoof
spec:
components:
env:
# map of the target hostnames eg. '{"abc.com":"spoofabc.com"}' . If empty no queries will be spoofed
- name: SPOOF_MAP
value: '{"google.com":"fakegoogle.com"}'
- 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"