canonical / microk8s

MicroK8s is a small, fast, single-package Kubernetes for datacenters and the edge.
https://microk8s.io
Apache License 2.0
8.25k stars 758 forks source link

traefik-dashboard pod not created after `microk8s enable traefik` #4497

Open Hu1buerger opened 2 months ago

Hu1buerger commented 2 months ago

Summary

microk8s enable traefik dosnt create the traefik-web-ui pod.

Indicated by: microk8s kubectl port-forward -n traefik traefik-web-ui 18080:8080 returns Error from server (NotFound): pods "traefik-web-ui" not found

What Should Happen Instead?

i would expect the pod to be at least created.

Reproduction Steps

  1. install ubuntu on a physical machine
  2. microk8s enable metallb:10.0.1.0/24
  3. microk8s enable traefik
  4. microk8s kubectl port-forward -n traefik traefik-web-ui 18080:8080

Introspection Report

inspection-report-20240416_165158.tar.gz

Can you suggest a fix?

Are you interested in contributing with a fix?

yes

Hu1buerger commented 2 months ago

I also reproduced this behaviour on Ubuntu 22.04 LTS