kubectl proxy
SafeProxy to the API server
kubectl proxy
Exposes the API on localhost with your auth attached — poke the API with curl or non-kubectl tools.
Examples
kubectl proxy & curl localhost:8001/api/v1/namespacesQuery the API directly
Syntax
kubectl proxy [--port=8001]
Before you run it
Local-only relay.
Related commands
- kubectl port-forwardPort-forward
- kubectl api-resourcesList resource kinds
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store