Skip to main content

astroctl infra kubernetes addons rollback

Roll an add-on back to a previous deployment version

Synopsis​

Roll an add-on back to a previous deployment version.

AstroPulse checks the rollback before anything is asked or changed, and any warning it gives is printed first. With -o json or -o yaml the command prints AstroPulse's response instead of text and does not ask for confirmation, so it needs --yes (or --dry-run to see the plan only).

Terminal
astroctl infra kubernetes addons rollback <cluster-name> <addon> [flags]

Examples​

Terminal

astroctl infra k8s addons rollback production model-serving --dry-run
astroctl infra k8s addons rollback production model-serving --to v2 --yes
astroctl infra k8s addons rollback production model-serving --dry-run -o json

Options​

Terminal
--dry-run Show the rollback target without changing the add-on
-h, --help help for rollback
-o, --output string Output format (table|wide|json|yaml) (default "table")
--reason string Optional audit reason
--to string Target Astro deployment version (for example v2 or 2); defaults to the last healthy version
-y, --yes Skip confirmation

SEE ALSO​