Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

kubectl port-forward pod

# Change mongo-75f59d57f4-4nd6q to the name of the Pod
kubectl port-forward mongo-75f59d57f4-4nd6q 28015:27017
Source by kubernetes.io #
 
PREVIOUS NEXT
Tagged: #kubectl #pod
ADD COMMENT
Topic
Name
4+9 =