rancher-sandbox / rancher-desktop

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

Can't run k3s 1.16.x with traefik disabled #3612

Open ericpromislow opened 1 year ago

ericpromislow commented 1 year ago

Actual Behavior

Select k8s version 1.16.15 and disable traefik

Restart the back end.

The back end is stuck waiting for the K8s API. Tailing k3s.log shows it's rejecting the flag --disable traefik.

The problem here is that you can't just get out of this by either enabling traefik or selecting a more recent k3s version (1.17.15 proved ok). The RD UI is stuck waiting for the k3s API (and that might be a second bug). You need to select the new settings, and restart RD for them to take effect.

Expected Behavior

The backend should not pass the --disable traefik option for k8s version 1.16 .x

And the backend should also be able to recover from when it's stuck waiting on some operation.

So there might be two separate issues here.

Additional Information

No response

Rancher Desktop Version

1.7.0dev

Rancher Desktop K8s Version

1.16.15

Which container engine are you using?

moby (docker cli)

What operating system are you using?

Other Linux

Operating System / Build Version

OpenSUSE Leap 15.3

What CPU architecture are you using?

x64

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

None

Windows User Only

No response

gaktive commented 1 year ago

1.16 is likely out-of-support so we need to move to handle the supported versions, which should be 1.19+. However, we should float this first to see what the community thinks since we currently almost support all versions, despite what k3s actually supports now.