hostnetwork revoked + nodeport open

This commit is contained in:
Steffen Illium 2024-03-29 20:14:34 +01:00
parent 463bce792f
commit 32a44836ac
2 changed files with 25 additions and 1 deletions

View File

@ -6,7 +6,7 @@ metadata:
spec:
template:
spec:
hostNetwork: true
hostNetwork: false
containers:
- name: traefik
args:

View File

@ -0,0 +1,24 @@
apiVersion: v1
kind: Service
metadata:
name: traefik
namespace: traefik
spec:
ports:
- name: web
port: 80
protocol: TCP
targetPort: web
nodeport: 80
- name: websecure
port: 443
protocol: TCP
targetPort: websecure
nodeport: 443
- name: dns
port: 53
protocol: UDP
targetPort: dns
nodeport: 53