Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document Kubectl Proxy in Geodesic #428

Open
osterman opened this issue Mar 22, 2019 · 1 comment
Open

Document Kubectl Proxy in Geodesic #428

osterman opened this issue Mar 22, 2019 · 1 comment

Comments

@osterman
Copy link
Member

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
Copy link
Sponsor Contributor

Nuru commented Apr 18, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants