nodeport type service

This commit is contained in:
2024-04-17 10:03:41 +02:00
parent 3a3ca30ab2
commit 9baa247696
2 changed files with 15 additions and 15 deletions

View File

@ -7,5 +7,4 @@ resources:
- base/01-metallb-advert.yaml
- base/01-metallb-pool-local.yaml
- base/01-metallb-pool-front.yaml
- github.com/metallb/metallb/config/native?ref=v0.14.4

View File

@ -4,22 +4,23 @@ metadata:
name: traefik
namespace: traefik
spec:
type: NodePort
selector:
app: front-traefik
app: local-traefik
ports:
- name: web
port: 80
protocol: TCP
targetPort: 8000
- name: websecure
port: 443
protocol: TCP
targetPort: 8443
- name: dns
port: 53
protocol: UDP
targetPort: 53
- name: traefik
port: 9000
protocol: TCP
targetPort: traefik
- name: web
port: 8000
protocol: TCP
targetPort: web
- name: websecure
port: 8443
protocol: TCP
targetPort: websecure
- name: dns
port: 8053
protocol: UDP
targetPort: dns
targetPort: 9000