Study. uk . com
  1. Home
  2. All questions
  3. Question 370

CKA study material · question 370 of 1000

Which kubectl debug flag joins the process namespace of a named container?

  1. --target
  2. --copy-to
  3. --attach
  4. --share-processes
Show the answer

Answer: A. --target

The --target flag targets the process namespace of another container so the debugger can see its processes.

Source: Debug Running Pods (Kubernetes) — Example debugging using ephemeral containers

Challenge yourself on this topic → Study as cards