Unbound depoloyment

This commit is contained in:
2025-12-22 10:23:44 +01:00
parent a92339adcd
commit 2553d21306
4 changed files with 524 additions and 0 deletions

31
Unbound/service.yaml Normal file
View File

@@ -0,0 +1,31 @@
# Main IP for DNS
apiVersion: v1
kind: Service
metadata:
name: unbound-combo-dns-service
labels:
project: unbound-combo
annotations:
metallb.io/loadBalancerIPs: 1.2.3.4
spec:
selector:
pod-project: unbound-combo
# This isn't used as Ingress is doing TLS termination
type: LoadBalancer
# Preserve ips
externalTrafficPolicy: Local
# type: ClusterIP
ports:
- name: unbound-dns-udp
protocol: UDP
port: 53 # <- port that will be exposed
targetPort: 53
- name: unbound-dns-tcp
protocol: TCP
port: 53 # <- port that will be exposed
targetPort: 53