kubectl proxy
- establece en localhost un puerto para llamar a la API de kubernetes
kubectl proxy [--port=XXXX]
- una vez establecida, podemos, por ejemplo:
curl http://localhost:8001/api/ curl http://localhost:8001/api/v1/namespaces/default/pods
tech:k8s:cli:proxy
kubectl proxy [--port=XXXX]
curl http://localhost:8001/api/ curl http://localhost:8001/api/v1/namespaces/default/pods