Skip to content

Document Kubectl Proxy in Geodesic #428

Open
@osterman

Description

@osterman

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)

Activity

Nuru

Nuru commented on Apr 18, 2019

@Nuru
SponsorContributor

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Document Kubectl Proxy in Geodesic · Issue #428 · cloudposse/docs