pihole
This commit is contained in:
parent
8950955f84
commit
7bfc31baf2
1 changed files with 6 additions and 7 deletions
|
|
@ -4,28 +4,27 @@ kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: pihole
|
name: pihole
|
||||||
namespace: default
|
namespace: default
|
||||||
|
annotations:
|
||||||
|
metallb.universe.tf/loadBalancerIPs: 192.168.0.201 # ← assign static LAN IP for DNS
|
||||||
spec:
|
spec:
|
||||||
type: NodePort
|
type: LoadBalancer
|
||||||
selector:
|
selector:
|
||||||
app: pihole
|
app: pihole
|
||||||
ports:
|
ports:
|
||||||
- name: web
|
- name: web
|
||||||
|
protocol: TCP
|
||||||
port: 80
|
port: 80
|
||||||
targetPort: 80
|
targetPort: 80
|
||||||
nodePort: 30080
|
|
||||||
protocol: TCP
|
|
||||||
|
|
||||||
- name: dns-udp
|
- name: dns-udp
|
||||||
|
protocol: UDP
|
||||||
port: 53
|
port: 53
|
||||||
targetPort: 53
|
targetPort: 53
|
||||||
nodePort: 30053
|
|
||||||
protocol: UDP
|
|
||||||
|
|
||||||
- name: dns-tcp
|
- name: dns-tcp
|
||||||
|
protocol: TCP
|
||||||
port: 53
|
port: 53
|
||||||
targetPort: 53
|
targetPort: 53
|
||||||
nodePort: 30054
|
|
||||||
protocol: TCP
|
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue