hostnetwork revoked + nodeport open
This commit is contained in:
parent
463bce792f
commit
32a44836ac
@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
hostNetwork: true
|
hostNetwork: false
|
||||||
containers:
|
containers:
|
||||||
- name: traefik
|
- name: traefik
|
||||||
args:
|
args:
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user