Skip to main content

astroctl infra kubernetes register status

Check registration status

Synopsis​

Check the status of registered clusters.

Without --cluster-name, lists all connected agents and their state. With --cluster-name, shows detailed registration and agent status for a specific cluster. Use --watch to poll until the cluster reaches the Registered state.

Terminal
astroctl infra kubernetes register status [cluster-name] [flags]

Examples​

Terminal

# List all registered clusters and their agent status
astroctl infra k8s register status

# Check status of a specific cluster
astroctl infra k8s register status --cluster-name my-cluster

# Watch until registration completes
astroctl infra k8s register status -c my-cluster --watch

Options​

Terminal
-c, --cluster-name string Name of the cluster to check (omit to list all)
-h, --help help for status
-w, --watch Poll until registration reaches the Registered state

Options inherited from parent commands​

Terminal
-o, --output string Output format (table|json|yaml) (default "table")

SEE ALSO​