host network usage
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -4,6 +4,4 @@ metadata:
|
||||
name: traefik
|
||||
namespace: traefik
|
||||
spec:
|
||||
selector:
|
||||
app: traefik
|
||||
type: LoadBalancer
|
||||
|
||||
@@ -12,7 +12,7 @@ spec:
|
||||
labels:
|
||||
app: front-traefik
|
||||
spec:
|
||||
hostNetwork: false
|
||||
hostNetwork: true
|
||||
containers:
|
||||
- name: traefik
|
||||
env:
|
||||
|
||||
@@ -5,8 +5,6 @@ metadata:
|
||||
namespace: traefik
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
app: front-traefik
|
||||
ports:
|
||||
- name: traefik
|
||||
port: 9000
|
||||
|
||||
Reference in New Issue
Block a user