Readded ports section for Traefik
This commit is contained in:
parent
26d1652ded
commit
25f7218dee
@ -29,6 +29,41 @@ spec:
|
|||||||
enabled: false
|
enabled: false
|
||||||
matchRule: PathPrefix(`/ping`)
|
matchRule: PathPrefix(`/ping`)
|
||||||
entryPoints: ["traefik"]
|
entryPoints: ["traefik"]
|
||||||
|
ports:
|
||||||
|
traefik:
|
||||||
|
port: 8080
|
||||||
|
# Defines whether the port is exposed if service.type is LoadBalancer or
|
||||||
|
# NodePort.
|
||||||
|
#
|
||||||
|
# -- You SHOULD NOT expose the traefik port on production deployments.
|
||||||
|
# If you want to access it from outside your cluster,
|
||||||
|
# use `kubectl port-forward` or create a secure ingress
|
||||||
|
expose: true
|
||||||
|
# -- The exposed port for this service
|
||||||
|
exposedPort: 8080
|
||||||
|
# -- The port protocol (TCP/UDP)
|
||||||
|
protocol: TCP
|
||||||
|
web:
|
||||||
|
port: 8000
|
||||||
|
expose: true
|
||||||
|
exposedPort: 80
|
||||||
|
protocol: TCP
|
||||||
|
websecure:
|
||||||
|
# asDefault: true
|
||||||
|
port: 8443
|
||||||
|
expose: true
|
||||||
|
exposedPort: 443
|
||||||
|
protocol: TCP
|
||||||
|
tls:
|
||||||
|
enabled: true
|
||||||
|
# -- One can apply Middlewares on an entrypoint
|
||||||
|
# https://doc.traefik.io/traefik/middlewares/overview/
|
||||||
|
# https://doc.traefik.io/traefik/routing/entrypoints/#middlewares
|
||||||
|
# -- /!\ It introduces here a link between your static configuration and your dynamic configuration /!\
|
||||||
|
# It follows the provider naming convention: https://doc.traefik.io/traefik/providers/overview/#provider-namespace
|
||||||
|
# - namespace-name1@kubernetescrd
|
||||||
|
# - namespace-name2@kubernetescrd
|
||||||
|
middlewares: []
|
||||||
service:
|
service:
|
||||||
enabled: true
|
enabled: true
|
||||||
single: true
|
single: true
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user