Open
Description
What would you like to be added:
When opening a pod shell or pod logs, Lens should abide by the kubectl.kubernetes.io/default-container pod annotation if present, instead of defaulting to the first container in the list.
Why is this needed:
This makes Lens consistent with the standard kubectl commands.
See https://kubernetes.io/docs/reference/labels-annotations-taints/#kubectl-kubernetes-io-default-container
Environment you are Lens application on:
- Kubernetes distribution: EKS
- Desktop OS: macos 11.6.5