host network usage

This commit is contained in:
2024-04-15 19:38:39 +02:00
parent d14f930831
commit 24466350f7
4 changed files with 3 additions and 6 deletions

View File

@@ -100,13 +100,14 @@ spec:
capabilities:
drop:
- ALL
add:
- NET_BIND_SERVICE
readOnlyRootFilesystem: true
volumeMounts:
- mountPath: /data
name: data
- mountPath: /tmp
name: tmp
hostNetwork: false
securityContext:
fsGroupChangePolicy: OnRootMismatch
runAsGroup: 65532

View File

@@ -4,6 +4,4 @@ metadata:
name: traefik
namespace: traefik
spec:
selector:
app: traefik
type: LoadBalancer

View File

@@ -12,7 +12,7 @@ spec:
labels:
app: front-traefik
spec:
hostNetwork: false
hostNetwork: true
containers:
- name: traefik
env:

View File

@@ -5,8 +5,6 @@ metadata:
namespace: traefik
spec:
type: ClusterIP
selector:
app: front-traefik
ports:
- name: traefik
port: 9000