top | item 45915680

(no title)

dixie_land | 3 months ago

this is not true, `kubectl debug` attaches to the namespace of a container of your choosing (`--target` argument). You don't have to enable process namespace sharing at the pod level

discuss

order

kunley|3 months ago

Last time I've checked, kubectl debug would not attach if namespace sharing wasn't enabled in the first place. Has it changed? What k8s version are you using?

PS. Even without checking again, it would be surprising if it changed. Even the official documentation is mentioning that this is needed