Skip to main content

astroctl application events

Get application event

Synopsis​

Get application event.

When the events cannot all be read, for example because AstroPulse can't reach the cluster, the command prints the reason and exits non-zero in every output format, including -o json and -o yaml.

Terminal
astroctl application events [application-name] [flags]

Examples​

Terminal

# Get the application events once (kubectl-style table format)
astroctl app events myapp

# Get K8s events once in kubectl-style table format
astroctl app events myapp -k

# Stream events continuously (watch mode)
astroctl app events myapp --watch

# Get events with JSON output
astroctl app events myapp -k -o json

# Get events with YAML output
astroctl app events myapp -k -o yaml

Options​

Terminal
-h, --help help for events
-k, --k8s show k8s events (default: show deployment events)
-o, --output string Output format (table|wide|json|yaml) (default "table")
-w, --watch stream events (use --watch to enable streaming)

Options inherited from parent commands​

Terminal
-n, --name string name of the application

SEE ALSO​