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

CKA study material · question 967 of 1000

kubectl debug behaves differently depending on its target. Which two actions can it take? Choose two.

  1. Add an ephemeral container to a running Pod
  2. Restart a Deployment's Pods with debug logging
  3. Create a Pod in a node's host namespaces
  4. Attach a debugger to the kubelet process
Show the answer

Answer: A. Add an ephemeral container to a running Pod
C. Create a Pod in a node's host namespaces

The three supported actions are copying a Pod with changed attributes, adding an ephemeral container to a running Pod, and starting a Pod in a node's host namespaces.

Source: kubectl debug (Kubernetes) — Synopsis

Challenge yourself on this topic → Study as cards