What is the problem you're trying to solve
I'm investigating kubernetes/kubernetes#98362, in which kubectl debug -it $pod --image=busybox --target=$container creates an ephemeral container in the pod sandbox process namespace rather than the namespace of $container as intended. After a search of the containerd repo I suspect this might be because containerd doesn't support the TARGET NamespaceMode
Describe the solution you'd like
I'd like help confirming whether containerd supports NamespaceMode_TARGET, and if not request adding support as described in Targeting a Specific Container's Namespace
Additional context
TARGET is only used with EphemeralContainers, an alpha feature targeting beta in Kubernetes 1.21.
What is the problem you're trying to solve
I'm investigating kubernetes/kubernetes#98362, in which
kubectl debug -it $pod --image=busybox --target=$containercreates an ephemeral container in the pod sandbox process namespace rather than the namespace of $container as intended. After a search of the containerd repo I suspect this might be because containerd doesn't support the TARGET NamespaceModeDescribe the solution you'd like
I'd like help confirming whether containerd supports
NamespaceMode_TARGET, and if not request adding support as described in Targeting a Specific Container's NamespaceAdditional context
TARGETis only used with EphemeralContainers, an alpha feature targeting beta in Kubernetes 1.21.