mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-21 23:40:19 +00:00
Update pihole-deployment.yaml
Make 2 separate services for DNS and Dashboard
This commit is contained in:
parent
ea82a9098e
commit
7a78dfd0d2
1 changed files with 20 additions and 7 deletions
|
@ -99,6 +99,25 @@ spec:
|
|||
port: 67
|
||||
protocol: UDP
|
||||
targetPort: 67
|
||||
- name: dns
|
||||
port: 53
|
||||
protocol: TCP
|
||||
targetPort: 53
|
||||
selector:
|
||||
app: pihole
|
||||
externalTrafficPolicy: Local
|
||||
loadBalancerIP: 192.168.1.222 # this is your DNS IP, NOT THE GUI!
|
||||
type: LoadBalancer
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: pihole
|
||||
name: pihole-web
|
||||
namespace: pihole
|
||||
spec:
|
||||
ports:
|
||||
- name: pihole-http
|
||||
port: 80
|
||||
protocol: TCP
|
||||
|
@ -107,12 +126,6 @@ spec:
|
|||
port: 443
|
||||
protocol: TCP
|
||||
targetPort: 443
|
||||
- name: dns
|
||||
port: 53
|
||||
protocol: TCP
|
||||
targetPort: 53
|
||||
selector:
|
||||
app: pihole
|
||||
externalTrafficPolicy: Local
|
||||
loadBalancerIP: 192.168.200.11
|
||||
type: LoadBalancer
|
||||
type: ClusterIP # Gui is only available via proxy
|
||||
|
|
Loading…
Reference in a new issue