Document Kubectl Proxy in Geodesic
osterman opened this issue · 1 comments
osterman commented
what
- We port map a random port into the
geodesic
container - This port is what should be used for proxying
kubectl proxy --port=${KUBERNETES_API_PORT} --address=0.0.0.0 --accept-hosts='.*'
why
- Access internal k8s resources (E.g. dashboard
http://127.0.0.1:59514/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/#!/login
)
Nuru commented
In Geodesic 0.95.0 or later,
kubectl proxy --port=${KUBERNETES_API_PORT} --address=0.0.0.0 --accept-hosts='.*'
should be replaced by
kubectl proxy --port=${GEODESIC_PORT} --address=0.0.0.0 --accept-hosts='.*'