nodeport type service
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user