Score:0

Microk8s Traefik Dashboard

us flag

I have set up a microk8s one node cluster as a test and installed and configured metalLB as a load-balancer alongside Traefik. It is working because when I set up an ingress router to whoami, it works perfectly fine. However, when setting up an ingress route to the Traefik dashboard, the page loads but the elements on it struggle to load the dashboard and I am unsure why. Could I get some help please?

Here is my yaml:

apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: dashboard
spec:
  entryPoints:
    - web
  routes:
    - match: Host(`traefik-test.here`) && PathPrefix(`/dashboard`)
      kind: Rule
      services:
        - name: api@internal
          kind: TraefikService

Yet my dashboard looks like this: Traefik Dashboard

user3915932 avatar
us flag
Fixed by adding /api to the match line: - match: Host(`traefik-test.here`) && ( PathPrefix(`/api`) || PathPrefix(`/dashboard`) )
Score:0
us flag

Fixed by adding PathPrefix "api".

apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: dashboard
spec:
  entryPoints:
    - web
  routes:
    - match: Host(`traefik-test.here`) && ( PathPrefix(`/api`) || PathPrefix(`/dashboard`) )
      kind: Rule
      services:
        - name: api@internal
          kind: TraefikService
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.