Tobias Brunner
153e078d51
All checks were successful
continuous-integration/drone/push Build is passing
36 lines
508 B
YAML
36 lines
508 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
labels:
|
|
app: acmedns
|
|
name: acmedns-api
|
|
spec:
|
|
ports:
|
|
- name: acmedns
|
|
port: 8080
|
|
protocol: TCP
|
|
targetPort: api
|
|
selector:
|
|
app: acmedns
|
|
type: ClusterIP
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
labels:
|
|
app: acmedns
|
|
name: acmedns-dns
|
|
spec:
|
|
ports:
|
|
- name: dnstcp
|
|
port: 53
|
|
protocol: TCP
|
|
targetPort: 53
|
|
- name: dnsudp
|
|
port: 53
|
|
protocol: UDP
|
|
targetPort: 53
|
|
selector:
|
|
app: acmedns
|
|
type: LoadBalancer
|