-
Notifications
You must be signed in to change notification settings - Fork 0
/
serverteam-dns.yaml
66 lines (66 loc) · 1.36 KB
/
serverteam-dns.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
run: serverteam-dns
name: serverteam-dns
namespace: default
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 2
selector:
matchLabels:
run: serverteam-dns
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
labels:
run: serverteam-dns
spec:
containers:
- image: docker.io/npflan/serverteam-dns:2019-weekend3
imagePullPolicy: Always
name: serverteam-dns
ports:
- containerPort: 53
protocol: TCP
- containerPort: 53
protocol: UDP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
---
apiVersion: v1
kind: Service
metadata:
labels:
run: serverteam-dns
name: serverteam-dns
namespace: default
spec:
clusterIP: 10.101.128.128
ports:
- name: dns-udp
port: 53
protocol: UDP
targetPort: 53
- name: dns-tcp
port: 53
protocol: TCP
targetPort: 53
selector:
run: serverteam-dns
sessionAffinity: None
type: ClusterIP
status:
loadBalancer: {}