containers / podman-desktop

Podman Desktop - A graphical tool for developing on containers and Kubernetes
https://podman-desktop.io
Apache License 2.0
4.35k stars 277 forks source link

Podman Desktop is trying to watch routes even though it's kubernetes. #7741

Open cdrage opened 2 weeks ago

cdrage commented 2 weeks ago

Bug description


9:46:48 AM [main] Trying to watch routes on the kubernetes context named "default" but got a connection refused, retrying the connection in 1s. HttpError: HTTP request failed)

9:46:50 AM [main] Trying to watch routes on the kubernetes context named "default" but got a connection refused, retrying the connection in 3s. HttpError: HTTP request failed)

9:46:52 AM [main] Trying to watch routes on the kubernetes context named "default" but got a connection refused, retrying the connection in 5s. HttpError: HTTP request failed)

9:46:58 AM [main] Trying to watch routes on the kubernetes context named "default" but got a connection refused, retrying the connection in 11s. HttpError: HTTP request failed)

9:47:09 AM [main] Trying to watch routes on the kubernetes context named "default" but got a connection refused, retrying the connection in 22s. HttpError: HTTP request failed)

Even though my cluster is Kubernetes. Shouldn't we be checking if it's openshift before checking for Routes?

Operating system

mac m1

Installation Method

None

Version

1.10.2

Steps to reproduce

No response

Relevant log output

No response

Additional context

@feloy

feloy commented 2 weeks ago

I would relate this issue to https://github.com/containers/podman-desktop/issues/7629, with which we could detect, in a generic way, if the resource exists and is accessible by the user