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

CKA study material · question 488 of 1000

What can kubectl port-forward target? Choose two.

  1. A Namespace
  2. A Pod
  3. A Node
  4. A Service
Show the answer

Answer: B. A Pod
D. A Service

port-forward accepts a Pod, Deployment, ReplicaSet or Service and picks a matching Pod.

Source: Use Port Forwarding to Access Applications in a Cluster (Kubernetes) — Forward a local port to a port on the Pod

Challenge yourself on this topic → Study as cards