containers / podman-desktop

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

Objects on Nodes and other kubernetes pages disappear after a while #7760

Open odockal opened 2 months ago

odockal commented 2 months ago

Bug description

On windows, if I have some node available, ie. if I create a kind cluster (there is a node present) and open a node page, kind cluster node is visible. After a while, it disappear. I can bring it back if I switch the kube context to something else and back.

kuberentes_pages_objects_disappears

Operating system

Windows 10

Installation Method

Installer from website/GitHub releases

Version

next (development version)

Steps to reproduce

Not easily reproducible. Have kind cluster available and then some other context to switch to and wait a few tens of seconds if kind-cluster context related resources disapper. I have seen it on both windows and linux. After windows went to sleep and was awaken, the problem is gone.

Relevant log output

main ↪️ Trying to watch routes on the kubernetes context named "kind-kind-cluster" but got a connection refused, retrying the connection in 75s. HttpError: HTTP request failed)

main ↪️ Trying to watch deployments on the kubernetes context named "kind-kind-cluster" but got a connection refused, retrying the connection in 82s. Error: connect ECONNREFUSED 127.0.0.1:44953)

main ↪️ Trying to watch pods on the kubernetes context named "kind-kind-cluster" but got a connection refused, retrying the connection in 80s. Error: connect ECONNREFUSED 127.0.0.1:44953)

Additional context

If I do not filter (I view all level) event level in console, I can see verbose level information as seen in above log output.

Output of kubectl seems alright:

kubectl get pods -A
NAMESPACE            NAME                                                 READY   STATUS      RESTARTS   AGE
kube-system          coredns-7db6d8ff4d-9t4rl                             1/1     Running     0          11h
kube-system          coredns-7db6d8ff4d-sqrl5                             1/1     Running     0          11h
kube-system          etcd-kind-cluster-control-plane                      1/1     Running     0          11h
kube-system          kindnet-tn94s                                        1/1     Running     0          11h
kube-system          kube-apiserver-kind-cluster-control-plane            1/1     Running     0          11h
kube-system          kube-controller-manager-kind-cluster-control-plane   1/1     Running     0          11h
kube-system          kube-proxy-dd8b4                                     1/1     Running     0          11h
kube-system          kube-scheduler-kind-cluster-control-plane            1/1     Running     0          11h
local-path-storage   local-path-provisioner-988d74bc-m2grp                1/1     Running     0          11h
projectcontour       contour-7d4b95459-q4vqh                              1/1     Running     0          11h
projectcontour       contour-7d4b95459-tn5dg                              1/1     Running     0          11h
projectcontour       contour-certgen-v1.24.2-9gvmw                        0/1     Completed   0          11h
projectcontour       envoy-8r9fg                                          2/2     Running     0          11h

kubectl get services -A
NAMESPACE        NAME         TYPE           CLUSTER-IP      EXTERNAL-IP   PORT(S)                      AGE
default          kubernetes   ClusterIP      10.96.0.1       <none>        443/TCP                      11h
kube-system      kube-dns     ClusterIP      10.96.0.10      <none>        53/UDP,53/TCP,9153/TCP       11h
projectcontour   contour      ClusterIP      10.96.198.129   <none>        8001/TCP                     11h
projectcontour   envoy        LoadBalancer   10.96.29.174    <pending>     80:32314/TCP,443:31344/TCP   11h

kubectl get deployments -A
NAMESPACE            NAME                     READY   UP-TO-DATE   AVAILABLE   AGE
kube-system          coredns                  2/2     2            2           11h
local-path-storage   local-path-provisioner   1/1     1            1           11h
projectcontour       contour                  2/2     2            2           11h
jeffmaury commented 2 months ago

Tried several times to reproduce without success

odockal commented 1 month ago

If no reproducing during next week, I will close issue.

odockal commented 4 weeks ago

Happened during testing of 1.12.0 on Mac:

https://github.com/user-attachments/assets/64053e4f-7d5e-447d-98b2-a06a4654614f

jeffmaury commented 3 weeks ago

I think it's related to devsandbox not allowing access to Nodes object, will check

jeffmaury commented 1 week ago

Blocked by #8590

jeffmaury commented 1 week ago

It seems you have deployed something on your Kind/Minikube cluster. Can you describe what have been deployed to ?