Add Kubernetes configurations for Pi-hole deployment, services, and secrets

This commit is contained in:
2025-08-15 18:02:32 +05:30
parent f4a915702d
commit 8216bc7311
4 changed files with 110 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
---
apiVersion: v1
kind: Service
metadata:
name: pihole-tcp-service
namespace: default
spec:
type: LoadBalancer
selector:
app: pihole
ports:
- port: 8585
targetPort: 80
protocol: TCP
name: web
- port: 53
targetPort: 53
protocol: TCP
name: dns-tcp
---
apiVersion: v1
kind: Service
metadata:
name: pihole-udp-service
namespace: default
spec:
type: LoadBalancer
selector:
app: pihole
ports:
- port: 53
targetPort: 53
protocol: UDP
name: dns-udp
- port: 67
targetPort: 67
protocol: UDP
name: dhcp