rancher-sandbox / rancher-desktop

Container Management and Kubernetes on the Desktop
https://rancherdesktop.io
Apache License 2.0
5.7k stars 267 forks source link

traefik pods keep running and k8s pods go from running to error status when traefik is disabled #2853

Open IsaSih opened 1 year ago

IsaSih commented 1 year ago

Actual Behavior

When disabling traefik, k8s coredns, local-path-provisioner pods go into an error status while some traefik pods keep running.

Steps to Reproduce

  1. Deploy wordpress with mariadb
  2. Deploy busybox
  3. Disable k8s
  4. Enable k8s
  5. Disable Traefik

Result

Some Traefik pods keep running after disabling traefik and some k8s pods go from a running status to an error status. win

Screen Shot 2022-09-01 at 3 19 19 PM

Expected Behavior

When traefik is disabled, all traefik pods must shut down and non traefik related pods must still have running status.

Additional Information

No response

Rancher Desktop Version

1.5.0-397-g89cf2ead

Rancher Desktop K8s Version

1.21.14 and 1.18.19

Which container engine are you using?

moby (docker cli)

What operating system are you using?

Other (specify below)

Operating System / Build Version

Windows 10 and MacOS Intel

What CPU architecture are you using?

x64

Linux only: what package format did you use to install Rancher Desktop?

No response

Windows User Only

No response

dpmerrill commented 1 year ago

I was able to reproduce this on an M1 Mac and Windows. On Suse Linux, the Traefik pods are shutdown and removed correctly.