kubectl proxy
- Launches a proxy server locally on port
8001 - The proxy uses the credentials and certificates from the
kubeconfig - The
kube-apiserveris exposed locally with all credentials already set up
kubectl proxy
curl "localhost:8001/api"
8001kubeconfigkube-apiserver is exposed locally with all credentials already set upkubectl proxy
curl "localhost:8001/api"