It seems to be using the Name of the node in the selector, yet matching against the label kubernetes.io/hostname which doesn't always match the Name of the Node, which in my case, it does not match, causing the pod to never start because the matching node doesn't exist.
The text was updated successfully, but these errors were encountered:
Describe the bug
When attempting to open a shell at the node level, the "node-shell" pod gets stuck in pending and never starts.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect to get a terminal window running on the Node.
Environment (please complete the following information):
Additional context
I expect it to be a mismatch in the pod's node affinity.
My node has the following properties:
However, Lens creates the pod with the following nodeSelector:
It seems to be using the Name of the node in the selector, yet matching against the label kubernetes.io/hostname which doesn't always match the Name of the Node, which in my case, it does not match, causing the pod to never start because the matching node doesn't exist.
The text was updated successfully, but these errors were encountered: