- Home
- All questions
- Question 931
CKA study material · question 931 of 1000
You need kubectl port-forward to accept connections from another machine on port 8888, reaching container port 5000. Which two things are required? Choose two.
Show the answer
Answer: A. The argument 8888:5000
C. --address with a non-loopback address
A port pair is written local:remote, and port-forward listens only on localhost unless --address is given.
Source: kubectl port-forward (Kubernetes) — Examples