Skip to main content

astroctl_infra_kubernetes_register_status

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 REGISTERED state.

astroctl infra kubernetes register status [flags]

Examples


# 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

-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 REGISTERED state

Options inherited from parent commands

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

SEE ALSO