kubectl 1.37 · Logs and debugging

Forward a local port

Reach a service from your machine at localhost:8080.

kubectl port-forward svc/web 8080:80

Official kubectl 1.37 documentation

More logs and debugging commands

All logs and debugging commands · kubectl 1.37 cheatsheet

Was this page helpful?