Beginner Kubernetes
Q28 / 100

What is the purpose of "kubectl port-forward"?

Correct! Well done.

Incorrect.

The correct answer is B) To forward a local port on your machine to a port on a pod, useful for debugging or accessing a service without exposing it externally

B

Correct Answer

To forward a local port on your machine to a port on a pod, useful for debugging or accessing a service without exposing it externally

Explanation

"kubectl port-forward <pod> <local-port>:<pod-port>" creates a temporary tunnel from your local machine to a pod, commonly used for local debugging.

Progress
28/100