lens icon indicating copy to clipboard operation
lens copied to clipboard

pod exec missing from three dots menu

Open matti opened this issue 3 years ago • 2 comments

attach is there, exec is not

matti avatar Dec 15 '22 15:12 matti

We display that menu item when we know that there is at least one running container within the pod.

If you run Renderer.K8sApi.podsApi.get({ name: <some-name>, namespace: <some-namespace> }) in your devtools, does that returned object have .status.containerStatuses with a running field of true?

Nokel81 avatar Dec 16 '22 21:12 Nokel81

I think what happened was that the pod was in creation and then the updates were stale (again) and therefore the exec (shell) wasn't there.

And a sidenote: I think it's bad UX that icons may or may not be there depending on the state. The icon should be there, but it should be disabled.

matti avatar Dec 19 '22 17:12 matti