Dennis Zheleznyak

Dennis Zheleznyak

DevOps Engineer bigpanda

© 2021

Port forward to the pods

To access resources locally and forward the traffic to the pods on the Kubernetes cluster, you can use:

kubectl port-forward some-mongodb-pod-b8x9g 27017

You can also use a project called:


That basically allows you to forward an entire namespace and use the original pod names:

sudo kubefwd svc -n the-project

Then, you can access:

curl elasticsearch:9200