k3d Deprovisioning
Summary
Refer to the details below for the specific steps to deprovision a Kubefirst installation that was installed using k3d.
Deprovisioning
Run the following command to deprovision and to delete everything added to your GitHub or GitLab account, while cleaning local files related to your deployment.
kubefirst k3d destroy
Reset
To clean local files generated by the installer while leaving the log file, and the SSL certificates that you backed up untouched you can run the kubefirst reset
command. This command does not destroy your cluster (cloud resources or k3d), and is not a replacement for the destroy
command.
If the destroy
or reset
commands don't work, and you have an issue creating a new cluster, you can manually delete local files and folders by running rm -rf ~/.k1; rm ~/.kubefirst
. This will not destroy your cluster, but ensure the CLI has a clean slate locally.