Valid Versions

The list of valid versions for the kubernetesVersion field can be determined from the Rancher metadata using the following commands.

k3s:

  1. curl -sL https://raw.githubusercontent.com/rancher/kontainer-driver-metadata/release-v2.6/data/data.json | jq -r '.k3s.releases[].version'

rke2:

  1. curl -sL https://raw.githubusercontent.com/rancher/kontainer-driver-metadata/release-v2.6/data/data.json | jq -r '.rke2.releases[].version'