ports in tr service
This commit is contained in:
parent
f5b5f20885
commit
8ce3d2046e
@ -5,25 +5,3 @@ metadata:
|
|||||||
namespace: traefik
|
namespace: traefik
|
||||||
spec:
|
spec:
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
|
|
||||||
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
|
|
||||||
- name: traefik
|
|
||||||
port: 9000
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: traefik
|
|
||||||
nodeport: 9000
|
|
||||||
|
@ -6,3 +6,25 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
type: NodePort
|
type: NodePort
|
||||||
|
|
||||||
|
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
|
||||||
|
- name: traefik
|
||||||
|
port: 9000
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: traefik
|
||||||
|
nodeport: 9000
|
||||||
|
|
||||||
|
@ -5,4 +5,22 @@ metadata:
|
|||||||
namespace: traefik
|
namespace: traefik
|
||||||
spec:
|
spec:
|
||||||
loadBalancerIP: 192.168.178.102
|
loadBalancerIP: 192.168.178.102
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
|
|
||||||
|
ports:
|
||||||
|
- name: web
|
||||||
|
port: 80
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: web
|
||||||
|
- name: websecure
|
||||||
|
port: 443
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: websecure
|
||||||
|
- name: dns
|
||||||
|
port: 53
|
||||||
|
protocol: UDP
|
||||||
|
targetPort: dns
|
||||||
|
- name: traefik
|
||||||
|
port: 9000
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: traefik
|
Loading…
x
Reference in New Issue
Block a user