k8s.io/perf-tests/clusterloader2@v0.0.0-20240304094227-64bdb12da87e/pkg/measurement/common/probes/manifests/dnsLookup/dns-prober-deployment.yaml (about) 1 apiVersion: apps/v1 2 kind: Deployment 3 metadata: 4 namespace: probes 5 name: dns 6 labels: 7 probe: dns 8 spec: 9 selector: 10 matchLabels: 11 probe: dns 12 replicas: {{.Replicas}} 13 template: 14 metadata: 15 labels: 16 probe: dns 17 spec: 18 containers: 19 - name: dns 20 image: gcr.io/k8s-testimages/probes:v0.0.4 21 args: 22 - --metric-bind-address=0.0.0.0:8080 23 - --mode=dns 24 # Instead of creating dedicated "null-service" use one that's already exists 25 # TODO(oxddr): according to @wojtek-t there are differences between fully and not fully qualified domain names 26 # Investigate it and potentially measure latency for both 27 - --dns-probe-url=ping-server.probes 28 - --logtostderr=false 29 - --log_file=/var/log/cl2-dns-lookup.log 30 resources: 31 limits: 32 cpu: 100m 33 memory: 100Mi 34 ports: 35 - containerPort: 8080 36 name: metrics 37 volumeMounts: 38 - name: logs-volume 39 mountPath: /var/log 40 serviceAccountName: probes 41 volumes: 42 - name: logs-volume 43 hostPath: 44 path: /var/log