swift-spring-8620
08/20/2023, 11:40 PMmicroscopic-river-74022
08/20/2023, 11:40 PMNote: you can ask me a follow up question by @ mentioning me again
:speech_balloon:
----------------------swift-spring-8620
08/21/2023, 12:14 AMmicroscopic-river-74022
08/21/2023, 12:14 AMbash
garden plugins kubernetes uninstall-garden-services --env <env-name>
This command removes all cluster-wide Garden services. Please note that you should not delete the garden-system
namespace directly, as Kubernetes may fail to remove persistent volumes [source ()].
After uninstalling, you can reinstall the Garden system services using the following command:
bash
garden plugins kubernetes cluster-init
However, if you're having issues with the garden-system
namespace not being created, it could be due to a known bug where Garden tries to create a namespace that already exists, as reported in this GitHub issue (). The error is not consistent and a retry of garden deploy
typically works. If the problem persists, you may need to manually create the namespace or ask an administrator to do so.
----------------------
Note: you can ask me a follow up question by @ mentioning me again
:speech_balloon:
----------------------swift-spring-8620
08/21/2023, 12:21 AMmicroscopic-river-74022
08/21/2023, 12:21 AMCtrl+C
in your terminal.
To restart Garden, you can just run your desired Garden command again. For example, if you were using the garden dev
command, you can restart it by running garden dev
in your terminal again.
If you're facing issues and need to reset the state of your Garden project, you can use the garden delete environment
command to delete the environment:
bash
garden delete environment
This command deletes the environment and all of its services, but it does not delete the project configuration. After running this command, you can use garden dev
or garden deploy
to redeploy your services.
Please note that these commands should be run in the root directory of your Garden project.
----------------------
Note: you can ask me a follow up question by @ mentioning me again
:speech_balloon:
----------------------