Uninstalling Charmed Kubernetes

This guide describes how to uninstall Charmed Kubernetes.

Uninstall the Charmed Kubernetes applications one by one

If you have other resources inside the model other than Charmed Kubernetes that you would like to preserve, you can proceed with removing the Charmed Kubernetes applications one by one. For detailed information you can see how to Remove an Application.

Remove the model

Alternatively, you can destroy the model and the resources residing in it, including Charmed Kubernetes.

juju destroy-model charmed-kubernetes --destroy-storage

If your model has a different name other than charmed-kubernetes, substitute it in the command above. By default the removal will not proceed if there are errors throughout the process. If you are willing to force the removal you can use the following command:

juju destroy-model charmed-kubernetes --yes --destroy-storage --force

Be cautiuos about using these options. See Removing Things for more information on force removal.

If you want to retain the persistent storage maintained by your model you can use the following flag in the command:

juju destroy-model charmed-kubernetes --release-storage

See Destroy a Model for more details.

We appreciate your feedback on the documentation. You can edit this page or file a bug here.

See the guide to contributing or discuss these docs in our public Mattermost channel.