Remove host network

This commit is contained in:
j 2025-07-01 14:47:28 +10:00
parent cf79dc228d
commit 3daadc9dc4

View file

@ -167,8 +167,6 @@ spec:
labels:
app: bind-slave
spec:
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
securityContext:
fsGroup: 999
containers:
@ -238,4 +236,23 @@ spec:
- name: dns-tcp
port: 53
protocol: TCP
---
apiVersion: v1
kind: Service
metadata:
name: bind9
namespace: dns
spec:
type: LoadBalancer
selector:
app: bind-slave
ports:
- name: dns-udp
port: 53
targetPort: 53
protocol: UDP
- name: dns-tcp
port: 53
targetPort: 53
protocol: TCP