Pangea Docs FAQ Get early access

Docs / Clouds

On-prem Kubernetes

Connect a private Kubernetes cluster through an outbound relay, with no public API server.

Use this for a cluster whose API server is not reachable from the internet. You run one small pod in the cluster. The pod dials out to Pangea, and nothing dials in. It needs no inbound port, no Service and no privileges. Do not open the API server publicly just to connect it.

An Administrator opens Connectors → Connect → Kubernetes. The dialog, Connect a Kubernetes cluster, has three steps. It proves the outbound tunnel works before it accepts a cluster credential.

Enroll the cluster

1. Name it

Use lowercase letters, digits and dashes, for example acme-dc1. The name becomes the kubectl context the agent uses, onprem/<name>/cluster, so pick something unambiguous.

2. Install the agent

The dialog shows a kubectl apply command with a manifest made for this cluster. Review it, then run it against the cluster as someone who can create a namespace. The manifest creates one namespace, one Secret with the enrollment token, and one Deployment for the relay agent.

Wait until the dialog says Agent connected.

3. Grant access

The tunnel carries bytes. It does not authenticate to Kubernetes. The dialog shows a script that creates a persistent ServiceAccount credential and prints a kubeconfig. Run it, then paste the kubeconfig into the field. It must contain the server address, a CA and a token.

Click Save and check access. Pangea shows what Kubernetes itself says the credential can do: identity, permissions and visible namespaces. Widen or narrow it with RBAC in your cluster and check again.

If you close the dialog partway through, the connection can be resumed. Return to that entry instead of installing a second agent.

Verify

Read a known namespace with the new context. Check both the relay status and the real RBAC permissions. An online relay does not grant any access by itself. The cluster appears in the shared Kubernetes browser.

Troubleshoot

Cut off and retire