astroctl infra kubernetes addons logs
Get add-on workload logs
Synopsis
Get add-on workload logs. Astro manages the deployment lifecycle and exposes only the add-on's public state.
Terminal
astroctl infra kubernetes addons logs <cluster-name> <addon> [flags]
Examples
Terminal
astroctl infra k8s addons logs production cert-manager
Options
Terminal
--container string specific container name within the pod
--context int lines kept around each matching line when --level is set (default 2)
-f, --follow continuously follow the log of the application (default true)
-h, --help help for logs
--include-previous when the container has restarted, read the crashed container's log first
--interactive enable interactive pod selection (default true)
--level string only lines at this severity and above, with context: Error or Warning
--list-pods list available pods and exit (kubectl style)
-o, --output string Output format (clean|json|yaml) (default "clean")
--pod string specific pod name to get logs from
-p, --previous show previous log
--since string only lines newer than this duration, e.g. 30m or 2h
--since-time string only lines from this RFC 3339 time on
-t, --tail int number of lines to show from the end of the log
--timeout int Connection timeout in minutes for follow mode (default: 5) (default 5)
SEE ALSO
- astroctl infra kubernetes addons - Manage Kubernetes cluster add-ons