feat(k8s/pihole): add Pi-hole stack (deployment scaled to 0 for data migration)
This commit is contained in:
20
kubernetes/app/pihole/service-dns.yaml
Normal file
20
kubernetes/app/pihole/service-dns.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: pihole-dns
|
||||
namespace: pihole
|
||||
annotations:
|
||||
metallb.io/loadBalancerIPs: 10.127.1.200
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
selector:
|
||||
app: pihole
|
||||
ports:
|
||||
- port: 53
|
||||
targetPort: 53
|
||||
protocol: TCP
|
||||
name: dns-tcp
|
||||
- port: 53
|
||||
targetPort: 53
|
||||
protocol: UDP
|
||||
name: dns-udp
|
||||
Reference in New Issue
Block a user