astroctl infra kubernetes cancel
Cancel the running update of a cluster
Synopsis
Cancel the running update, scale, upgrade or rollback of a cluster. It stops the current step and removes the node groups the update was adding, which the prompt names before anything is sent; existing node groups are kept as they are. Follow it with astroctl infra k8s get, which shows what was removed. A create, a delete or a registration can't be cancelled.
Terminal
astroctl infra kubernetes cancel [cluster-name] [flags]
Examples
Terminal
# Cancel an in-progress operation on a cluster
astroctl infra k8s cancel my-cluster
# Cancel with a reason
astroctl infra k8s cancel my-cluster --reason "fixing cloud credentials"
# Cancel without the prompt (needed when there is no terminal to ask on)
astroctl infra k8s cancel my-cluster --yes
Options
Terminal
-c, --cluster-name string The cluster name
-h, --help help for cancel
--reason string Reason for cancellation
--yes Cancel without the prompt that names the node groups the cancel removes
Options inherited from parent commands
Terminal
-o, --output string Output format (table|json|yaml) (default "table")
SEE ALSO
- astroctl infra kubernetes - Manage Kubernetes clusters