Before you upgrade
- Find the release of each uplink instance. The instance page in the Uplink section of the dashboard shows its version. On the host, run
uplink -version. - Read Changes that need action, and do the steps for each release after yours, up to the release that you install.
- Make sure that the state directory is on a persistent disk. It holds the session data, the encryption keys, and the ID of the instance.
Minimum release
Use Uplink 0.1.22 or later. Agent Golf cannot link the sessions of an earlier release to a publishing key, so it does not accept them. The earlier instance can still look healthy.Changes that need action
Install the new release
Use the same method as in Install and start Uplink.
For Kubernetes, pass all the values of your installation again. When a
helm upgrade command sets any value, Helm drops the earlier values that the command does not pass, and each one goes back to the chart default. For example, TLS on the OpenTelemetry listener and the network policy turn off. If you do not keep a values file, save the current values first:
--version, so that each uplink instance stays on a known release.
The chart keeps the size of the existing volume, also when persistence.size has another value. Argo CD and helm template cannot read the cluster, so they use persistence.size. With them, set persistence.size to the size of the existing volume claim template, or Kubernetes refuses the update. Earlier chart versions installed 20Gi by default. The chart README shows how to read the size.
Uplink updates its data store when it starts. You do not run a separate step.
After you upgrade
- Confirm that Uplink is ready. See Verify the installation.
- Confirm that the instance page shows the new version. Uplink reports about once a minute.
- Confirm that new sessions arrive in Sessions.
Roll back
Install the earlier release in the same way, with the same state directory:- On a host, set
UPLINK_VERSIONto the earlier release when you run the install script, then restart Uplink. - In Docker, run the container again with the earlier tag.
- In Kubernetes, run
helm upgradewith the earlier--versionand the same values file. Earlier chart versions do not keep the size of the existing volume, so setpersistence.sizeto the size of the existing volume claim template.