hardkubectl
Expose a single pod as a LoadBalancer service with an external IP
command
kubectl expose pod POD_NAME --port PORT --type LoadBalanceralso accepted
kubectl expose podcommand
kubectl expose pod POD_NAME --port PORT --type LoadBalanceralso accepted
kubectl expose podTest your recall — not just your reading.
Practice with interactive quiz →