Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kubernetes: containers from pods are not showing up #2800

Closed
afbjorklund opened this issue Jun 11, 2023 · 2 comments
Closed

Kubernetes: containers from pods are not showing up #2800

afbjorklund opened this issue Jun 11, 2023 · 2 comments
Labels
area/dashboard 📊 Concern the dashboard from Container Desktop area/kubernetes ☸️ kind/enhancement ✨ Issue for requesting an improvement

Comments

@afbjorklund
Copy link
Contributor

afbjorklund commented Jun 11, 2023

Is your enhancement related to a problem? Please describe

When you inspect a pod, you get a link to the container in the pod:

Name:	sleep
Id:	9be0d094-39fe-41a0-9942-f6aac709c336

Containers using this pod:
sleep	containerd://543f36210cf0c1c864301cd368f05c742b43b30163612539ba77d20da2b73d78

But clicking the link shows a blank page (no such container engine?).

It also not possible to see what image it is running, or get a link to that.

Describe the solution you'd like

Probably Podman Desktop needs to learn how to talk to the CRI ?

Then it could list both containers and images, and more pod info.

Currently nothing from containerd is showing up in Podman Desktop:

Describe alternatives you've considered

It is possible to use the command line instead

docker exec kind-control-plane crictl pods

POD ID              CREATED             STATE               NAME                                         NAMESPACE            ATTEMPT             RUNTIME
...
948376f724c7c       10 days ago         Ready               sleep                                        default              5                   (default)
...

docker exec kind-control-plane crictl ps --pod 948376f724c7c

CONTAINER           IMAGE               CREATED             STATE               NAME                      ATTEMPT             POD ID              POD
543f36210cf0c       b539af69bc01c       24 minutes ago      Running             sleep                     39                  948376f724c7c       sleep

docker exec kind-control-plane crictl images

IMAGE                                      TAG                  IMAGE ID            SIZE
...
docker.io/library/busybox                  latest               b539af69bc01c       2.6MB
...

Additional context

It is somewhat confusing that the UID is shown as the ID, in the interface.

    "id": "948376f724c7cc832535ed85c4a0fe9a6f941ce940ce71797138d5da2ebf60f6",
    "metadata": {
      "attempt": 5,
      "name": "sleep",
      "namespace": "default",
      "uid": "9be0d094-39fe-41a0-9942-f6aac709c336"
    },
@afbjorklund
Copy link
Contributor Author

The containers from the kubernetes cluster should probably only be properties on the pod, not listed under "containers".

When working with kubernetes (as opposed to with containers), they don't really add anything and can be hidden.

@afbjorklund
Copy link
Contributor Author

Podman Desktop no longer links to containers, so no more blank page...

Containers | sleep

@afbjorklund afbjorklund closed this as not planned Won't fix, can't repro, duplicate, stale Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dashboard 📊 Concern the dashboard from Container Desktop area/kubernetes ☸️ kind/enhancement ✨ Issue for requesting an improvement
Projects
Archived in project
Development

No branches or pull requests

3 participants