Refactor Kubernetes configuration to use Traefik for dashboard routing

This commit is contained in:
2024-07-13 20:03:02 +08:00
parent b6713b2830
commit 1281266ff5
+2 -2
View File
@@ -5,9 +5,9 @@ metadata:
name: dashboard name: dashboard
spec: spec:
entryPoints: entryPoints:
- web - traefik
routes: routes:
- match: Host(`node03.local`) && (PathPrefix(`/dashboard`) || PathPrefix(`/api`)) - match: (PathPrefix(`/dashboard`) || PathPrefix(`/api`))
kind: Rule kind: Rule
services: services:
- name: api@internal - name: api@internal