adamant-kite-43734
07/17/2024, 4:43 PMfast-garage-66093
07/17/2024, 5:08 PMkuberlr
will not change versions if the current version is compatible according to the Version Skew Policy | Kubernetes
is supported within one minor version (older or newer) ofkubectl
.kube-apiserver
fast-garage-66093
07/17/2024, 5:09 PMmany-finland-1998
07/17/2024, 5:10 PMmany-finland-1998
07/17/2024, 5:12 PMfast-garage-66093
07/17/2024, 5:12 PMrm -rf ~/.kuberlr
to delete your cache if you want to force it to download an exact matchfast-garage-66093
07/17/2024, 5:14 PMkubectl
that is not supported by the older version.fast-garage-66093
07/17/2024, 5:15 PMmany-finland-1998
07/17/2024, 5:15 PMaws eks describe-cluster --name dev | jq -r .cluster.version
I take that version then:
kuberlr get "$cluster_version"
cluster_version_full="$(kubectl version -o json 2>/dev/null | jq -r .serverVersion.gitVersion | sed 's/v\([0-9]*\.[0-9]*\.[0-9]*\).*/\1/')"
kuberlr get "$cluster_version_full"
fast-garage-66093
07/17/2024, 5:17 PMkuberlr
to do that (see the issue I linked above). But somebody has to implement it; discussing it on GitHub doesn't magically make it happen… 😄many-finland-1998
07/17/2024, 5:38 PM