Skip to main content

astroctl infra kubernetes register agent list

List connected agents

Synopsis​

List all agents currently connected to AstroPulse.

Shows agent ID, connection status, Kubernetes version, node count, and last health check time for each agent that has an active connection.

Use --all for global registry view (requires elevated access), including disconnected entries and organization IDs.

Without --all, this command is organization-scoped and shows only connected agents owned by your current organization.

Terminal
astroctl infra kubernetes register agent list [flags]

Examples​

Terminal

# List connected agents in your organization
astroctl infra k8s register agent list

# Global registry view (requires elevated access)
astroctl infra k8s register agent list --all

# Output as JSON
astroctl infra k8s register agent list -o json

# Output as YAML
astroctl infra k8s register agent list -o yaml

Options​

Terminal
--all Request global registry view (connected + disconnected, all orgs; requires elevated access)
-h, --help help for list
-o, --output string Output format (table|wide|json|yaml) (default "table")

SEE ALSO​