43 lines
816 B
YAML
43 lines
816 B
YAML
kind: Service
|
|
apiVersion: v1
|
|
metadata:
|
|
name: technitium-loadbalancer
|
|
namespace: technitium
|
|
annotations:
|
|
metallb.universe.tf/loadBalancerIPs: "10.8.11.101"
|
|
spec:
|
|
ports:
|
|
- name: technitium-udp
|
|
port: 53
|
|
targetPort: 53
|
|
protocol: UDP
|
|
- name: technitium-tcp
|
|
port: 53
|
|
targetPort: 53
|
|
protocol: TCP
|
|
- name: technitium-doh-tcp
|
|
port: 443
|
|
targetPort: 443
|
|
protocol: TCP
|
|
- name: technitium-doh-udp
|
|
port: 443
|
|
targetPort: 443
|
|
protocol: UDP
|
|
selector:
|
|
app: technitium
|
|
type: LoadBalancer
|
|
externalTrafficPolicy: Local
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: technitium
|
|
namespace: technitium
|
|
spec:
|
|
selector:
|
|
app: technitium
|
|
ports:
|
|
- name: http
|
|
port: 5380
|
|
targetPort: 5380
|
|
type: ClusterIP |