forked from whiteducksoftware/az-dns-forwarder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeploy.yaml
48 lines (48 loc) · 911 Bytes
/
deploy.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
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: az-dns-forwarder
name: az-dns-forwarder
spec:
replicas: 3
selector:
matchLabels:
app: az-dns-forwarder
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
template:
metadata:
labels:
app: az-dns-forwarder
spec:
containers:
- image: axiology.azurecr.io/az-dns-forwarder:v1
name: bind
ports:
- containerPort: 53
protocol: UDP
resources: {}
status: {}
---
apiVersion: v1
kind: Service
metadata:
labels:
app: az-dns-forwarder
name: az-dns-forwarder
annotations:
service.beta.kubernetes.io/azure-load-balancer-internal: "true"
spec:
ports:
- port: 53
protocol: UDP
targetPort: 53
selector:
app: az-dns-forwarder
type: LoadBalancer
status:
loadBalancer: {}