Files
Cluster/pihole/service.yaml
T
2026-10-20 16:22:39 +02:00

33 lines
539 B
YAML

apiVersion: v1
kind: Service
metadata:
name: pihole-dns-service
namespace: pihole
spec:
selector:
app: pihole
type: NodePort
ports:
- name: dns-udp
protocol: UDP
port: 53
nodePort: 30053
- name: dns-tcp
protocol: TCP
port: 53
nodePort: 30053
---
apiVersion: v1
kind: Service
metadata:
name: pihole-http-service
namespace: pihole
spec:
selector:
app: pihole
ports:
- name: http
protocol: TCP
port: 80
targetPort: 80