- Home
- All questions
- Question 930
CKA study material · question 930 of 1000
kubectl port-forward is run against a Deployment, and the Pod it selected is deleted during a rollout. What happens?
Show the answer
Answer: D. The session ends and the command must be rerun
port-forward selects one matching Pod and stays with it; when that Pod terminates the session ends and forwarding does not migrate.
Source: kubectl port-forward (Kubernetes) — Synopsis