Skip to main content

astroctl_infra_kubernetes_delete

astroctl infra kubernetes delete

Delete a k8s cluster

Synopsis

Delete a k8s cluster

astroctl infra kubernetes delete [flags]

Examples


# Delete a k8s cluster
astroctl infra k8s delete my-cluster

# Delete a k8s cluster with automatic confirmation
astroctl infra k8s delete my-cluster --yes

# Delete a k8s cluster by cluster name
astroctl infra k8s delete -c <cluster-name> where <cluster-name> is the name of the cluster

Options

-c, --cluster-name string The cluster name to delete
-y, --confirm Confirm the cluster deletion (default true)
-h, --help help for delete
--yes Skip all confirmations (useful for automation)

Options inherited from parent commands

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

SEE ALSO