# Port Forwarding

> How do you access a Pod or Service that is only reachable inside the cluster from your local machine, for example to debug it?

Canonical: https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-port-forwarding
Last updated: 2026-11-28

Difficulty: Beginner

## Question

How do you access a Pod or Service that is only reachable inside the cluster from your local machine, for example to debug it?

*The full answer is for InternHack members. Open the page link above to read it.*

## Concepts covered

kubectl port-forward, API Server Tunnel, Local Debugging, pods/portforward RBAC, Service Exposure

Previous: [Force Delete](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-delete-force) · Next: [CRDs](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-custom-resource-definitions) · [All of Kubernetes & Orchestration](https://www.internhack.in/learn/interview/kubernetes-orchestration)

## More Kubernetes & Orchestration questions

- [Operators](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-operators-pattern)
- [Etcd Role](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-etcd-role)
- [VPA](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-vertical-pod-autoscaler)
- [Cluster Autoscaler](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-cluster-autoscaler)
- [Sidecar Definition](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-sidecar-container)
- [Anti-Affinity](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-anti-affinity)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
- [Kubernetes & Orchestration](https://www.internhack.in/learn/interview/kubernetes-orchestration)
