ingress
This commit is contained in:
parent
bbfa38761f
commit
bb5e76e1a4
15
Deployments/traefik-ingress.yaml
Normal file
15
Deployments/traefik-ingress.yaml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
apiVersion: traefik.containo.us/v1alpha1
|
||||||
|
kind: IngressRoute
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
name: traefik-dash
|
||||||
|
namespace: traefik
|
||||||
|
spec:
|
||||||
|
entryPoints:
|
||||||
|
- web
|
||||||
|
routes:
|
||||||
|
- kind: Rule
|
||||||
|
match: Host(`traefik.roxedus.com`) && ( PathPrefix(`/dashboard`) || PathPrefix(`/api`))
|
||||||
|
services:
|
||||||
|
- kind: TraefikService
|
||||||
|
name: api@internal
|
@ -45,12 +45,12 @@ spec:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
web:
|
web:
|
||||||
port: 8000
|
port: 8000
|
||||||
expose: true
|
expose: false
|
||||||
exposedPort: 80
|
exposedPort: 80
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
websecure:
|
websecure:
|
||||||
port: 8443
|
port: 8443
|
||||||
expose: true
|
expose: false
|
||||||
exposedPort: 443
|
exposedPort: 443
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
http3: true
|
http3: true
|
||||||
@ -62,7 +62,7 @@ spec:
|
|||||||
udp:
|
udp:
|
||||||
port: 6666
|
port: 6666
|
||||||
protocol: UDP
|
protocol: UDP
|
||||||
expose: true
|
expose: false
|
||||||
|
|
||||||
tlsOptions:
|
tlsOptions:
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user