Upgrade your hila deployment
In general, to upgrade your hila deployment, you simply perform a new install with the same procedure you used to perform the initial installation (see Install hila). However, you should check a few things to make sure your existing configuration and data are preserved during the update.
-
Make sure the $data_dir env variable is set to the same location as in your existing installation. This ensures that your existing data is preserved.
-
All persistent data is stored in $data_dir, so you can copy and store all the files somewhere safe as a manual backup process.
-
The install script already handles fetching the existing passwords/secrets and reuses them for the upgrade, so no need for you to manage them.
-
You should have 500 MB of free disk space available for the upgrade process to complete successfully.
-
Back up your k8s/k3s directories.
/var/lib/rancher/k3s. If you uninstall k3s, then the persistent data is removed as well.