This repository has been archived on 2023-04-02. You can view files and clone it, but cannot push or open issues or pull requests.
gitops-tbrnt/acmedns/service.yaml
Tobias Brunner 153e078d51
All checks were successful
continuous-integration/drone/push Build is passing
initial version of acmedns
2021-11-12 23:11:10 +01:00

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