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.
Note: If you run the install script without setting $data_dir to a custom path, all the data is stored in the default directory used by k3s
/var/lib/rancher/k3s. If you uninstall k3s, then the persistent data is removed as well.ON THIS PAGE