Skip to main content

astroctl infra kubernetes progress stream

Stream real-time cluster progress updates via WebSocket

Synopsis​

Stream cluster progress updates via WebSocket with catch-up and real-time events.

This command establishes a WebSocket connection that:

  1. First sends current operation events for catch-up
  2. Then streams real-time events as they happen

If AstroPulse restarts while you watch, the stream reconnects and picks up where it left off; events it already showed are not shown again. It exits with an error if no new event arrives within two minutes of losing the connection.

For complete historical events from all operations, use 'astroctl infra k8s progress history'.

Terminal
astroctl infra kubernetes progress stream [cluster-name] [flags]

Examples​

Terminal

# Stream real-time progress for a cluster (using positional argument)
astroctl infra k8s progress stream prod-cluster

# Stream progress for a cluster (using flag)
astroctl infra k8s progress stream --cluster-name prod-cluster

# Stream progress for a specific operation
astroctl infra k8s progress stream prod-cluster --operation-id op-123

# Stream progress with custom timeout (default: 5 minutes)
astroctl infra k8s progress stream prod-cluster --timeout 30

# Stream progress with timestamps in local timezone
astroctl infra k8s progress stream prod-cluster --local-time

# Stream progress for a specific operation (using flag)
astroctl infra k8s progress stream --cluster-name prod-cluster --operation-id op-123

# Enable debug mode to see raw WebSocket messages
astroctl infra k8s progress stream prod-cluster --debug

Options​

Terminal
--cluster-name string Cluster Name to stream progress for
--debug Enable debug mode to show raw WebSocket messages
-h, --help help for stream
--local-time Display timestamps in local timezone instead of UTC
--operation-id string Operation ID to stream progress for (optional)
--timeout int Connection timeout in minutes (default: 5, max: 60) (default 5)

Options inherited from parent commands​

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

SEE ALSO​