Skip to main content

astroctl_infra_kubernetes_register_agent_list

astroctl infra kubernetes register agent list

List connected agents

Synopsis

List all agents currently connected to the platform via the tunnel proxy.

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

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.

astroctl infra kubernetes register agent list [flags]

Examples


# 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

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

SEE ALSO