Skip to content

Support for TARGET NamespaceMode in CRI implementation #5008

@verb

Description

@verb

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions