ports in tr service

This commit is contained in:
Steffen Illium 2024-04-01 11:14:45 +02:00
parent f5b5f20885
commit 8ce3d2046e
3 changed files with 41 additions and 23 deletions

View File

@ -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

View File

@ -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

View File

@ -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