From 7ebc3c998927b5442dd4659a35dd160359de1816 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Harper?= Date: Tue, 17 Sep 2024 09:15:56 -0400 Subject: [PATCH] docs: add information on how to manually clean the CLI locally --- docs/k3d/deprovision.mdx | 2 ++ versioned_docs/version-2.6/k3d/deprovision.mdx | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/k3d/deprovision.mdx b/docs/k3d/deprovision.mdx index 9e45a999..23580127 100644 --- a/docs/k3d/deprovision.mdx +++ b/docs/k3d/deprovision.mdx @@ -25,3 +25,5 @@ mkcert -uninstall ## Reset (optional) You can use the `kubefirst reset` command to clean local files generated by the installer while leaving the logs file, and the [SSL certificates that you backed up](../aws/advanced/certificates.mdx) untouched. This command will 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. diff --git a/versioned_docs/version-2.6/k3d/deprovision.mdx b/versioned_docs/version-2.6/k3d/deprovision.mdx index 9e45a999..23580127 100644 --- a/versioned_docs/version-2.6/k3d/deprovision.mdx +++ b/versioned_docs/version-2.6/k3d/deprovision.mdx @@ -25,3 +25,5 @@ mkcert -uninstall ## Reset (optional) You can use the `kubefirst reset` command to clean local files generated by the installer while leaving the logs file, and the [SSL certificates that you backed up](../aws/advanced/certificates.mdx) untouched. This command will 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.