-
Notifications
You must be signed in to change notification settings - Fork 0
/
daemonset.yaml
39 lines (39 loc) · 931 Bytes
/
daemonset.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: dns-geo-analyzer
labels:
k8s-app: dns-geo-analyzer
spec:
selector:
matchLabels:
name: dns-geo-analyzer
template:
metadata:
labels:
name: dns-geo-analyzer
annotations:
prometheus.io/scrape: "true"
spec:
tolerations:
- key: node-role.kubernetes.io/master
effect: NoSchedule
containers:
- name: dns-geo-analyzer
image: readytalk/dns-geo-analyzer:prometheus
imagePullPolicy: Always
env:
- name: NAMESERVERS
value: "google,8.8.8.8 cloudflare,1.1.1.1"
- name: SITES
value: "google,google.com"
- name: REQUEST_INTERVAL
value: "60"
- name: PROMETHEUS_PORT
value: "8000"
resources:
limits:
memory: 200Mi
requests:
cpu: 100m
memory: 200Mi