lens
lens copied to clipboard
pod exec missing from three dots menu
attach is there, exec is not
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?
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.