blob: 26f89971df4530fc195f463d1f9346e1706dadcc (
plain) (
blame)
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
|
apiVersion: apps/v1
kind: Deployment
metadata:
name: unbound
lables:
app: unbound
spec:
replicas: 1
selctor:
matchlabels:
app: unbound
template:
metadata:
labels:
app: unbound
spec:
containers:
- name: unbound
image: klutchell/unbound
ports:
- containerPort: 53
---
apiVersion: v1
kind: Service
metadata:
name: unbound-service
spec:
selector:
app: unbound
type: LoadBalancer
ports:
- protocol: UDP
port: 53
targetPort: 53
nodePort: 53
|