deployment.yaml
 1  apiVersion: apps/v1
 2  kind: Deployment
 3  metadata:
 4    name: dns-debug
 5    namespace: zerotesting
 6    labels:
 7      app: dns-debug
 8  spec:
 9    replicas: 1
10    selector:
11      matchLabels:
12        app: dns-debug
13    template:
14      metadata:
15        labels:
16          app: dns-debug
17      spec:
18        containers:
19        - name: dns-debug-container
20          image: harbor.riff.cc/localmirror/zorlin/dnsdebug:latest
21          imagePullPolicy: Always
22          #command: ["/app/dns_loop.py"]
23          #args: ["--target", "10.42.63.130", "--nodes", "1000", "--delay", "0.1"]
24          command: ["/bin/sleep"]
25          args: ["14400"]
26        dnsConfig:
27          searches:
28            - zerotesting-service.zerotesting.svc.cluster.local