docs icon indicating copy to clipboard operation
docs copied to clipboard

Document Kubectl Proxy in Geodesic

Open osterman opened this issue 6 years ago • 1 comments

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)

osterman avatar Mar 22 '19 06:03 osterman

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='.*'

Nuru avatar Apr 18 '19 23:04 Nuru