Skip to content

Instantly share code, notes, and snippets.

@ihcsim
Last active June 30, 2025 17:25
Show Gist options
  • Select an option

  • Save ihcsim/83adfe4da2903759eb6091bcd00f07ae to your computer and use it in GitHub Desktop.

Select an option

Save ihcsim/83adfe4da2903759eb6091bcd00f07ae to your computer and use it in GitHub Desktop.
How to check minimum upgradable versions between Harvester releases

For a given Harvester release, its upgradable versions are stored in the versions.harvesterhci.io API.

E.g., for Harvester 1.4.1:

k -n harvester-system get versions
NAME     ISO-URL                                                                    RELEASEDATE            MINUPGRADABLEVERSION
v1.4.2   https://releases.rancher.com/harvester/v1.4.2/harvester-v1.4.2-amd64.iso   2025-03-12T10:00:00Z   v1.4.1
v1.4.3   https://releases.rancher.com/harvester/v1.4.3/harvester-v1.4.3-amd64.iso   2025-05-26T10:00:00Z   v1.4.1

Eac target version includes the .spec.minUpgradableVersion property which indicates the minimum upgradable version the Harvester release must be on for a direct upgrade to be possible.

More generally, to check all available versions information, use this curl command:

curl -XPOST -d '' https://harvester-upgrade-responder.rancher.io/v1/checkupgrade | jq .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment