Register a cluster you already run
Bring a Kubernetes cluster you already run into AstroPulse: EKS, GKE, AKS, on-premises, edge or a local cluster such as kind. A small agent installs in the cluster with your own kubectl and connects out to AstroPulse, so nothing opens inbound. Once it connects, you deploy to the cluster and manage it like any other. The example registers edge-01.
Before you start
kubectlpointed at the cluster, with rights to install into it.astroctlinstalled and signed in. The agent installs from your terminal, not from the console.- An org admin role, and a plan that includes registered clusters.
- Want AstroPulse to create the cluster in your cloud instead? Create a cluster.
In the console
-
Open Infrastructure › Kubernetes › New cluster and choose Bring your own Kubernetes. The step is named Register.
-
Enter Cluster name
edge-01. Under "With your kubectl pointed at the cluster" the console shows the two commands for that name:Open zoom view Terminalastroctl infra k8s register --cluster-name edge-01astroctl infra k8s register status --cluster-name edge-01 -
Copy them and run them in a terminal whose
kubectlpoints at the cluster. The first installs the agent; the second shows the registration's state.
The link Registration guide: labels, a file, or no install opens How registration works.
You should see
The cluster appears in the cluster list. Its page, edge-01, reads Registered, and the Agent line on its Overview reads Connected with the last check-in. Once it does, deploy to it: Deploy an application.
Register from a file, without installing, or with labels
A registration manifest, labels, a split-team install where one team registers and another installs the agent, and every flag are in How registration works.
Other ways in
- Nova: ask, for example, "how do I register my current cluster as edge-01?". Nova returns the command for you to run, since the agent installs with your own
kubectl. - SDK and API: the same operations, in the API reference.
With astroctl
astroctl infra k8s register --cluster-name edge-01
astroctl infra k8s register status --cluster-name edge-01
Every flag: astroctl infra k8s register.
If it's refused
-.edge-01.