-
Notifications
You must be signed in to change notification settings - Fork 431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vcluster 0.21 seems to not respect --kubernetes-version
#2294
Comments
Confirmed with both |
@felipecrs For v0.20+, we should be using the vcluster.yaml (not CLI flags) to set the k8s version. This is only supported for the k8s distro as of today.
|
Thank you, I'll try that. I suppose you forgot to remove the https://github.com/loft-sh/vcluster/blob/main/docs/pages/cli/vcluster_create.md#L43 |
Yes, we most likely forgot to deprecate/remove it and it's something we are following up on. Please let me know if you have any issues using the version in the vcluster.yaml. |
It worked. :) |
What happened?
If I try to create a vcluster with
--kubernetes-version 1.27
in a host cluster running K8s1.30.4
, the--kubernetes-version 1.27
flag seems ignored. Nothing is shown in the logs either. The final vcluster k8s version ends up as1.30.4
.What did you expect to happen?
This was working fine on 0.20. I was expecting it to work the same?
How can we reproduce it (as minimally and precisely as possible)?
Anything else we need to know?
No response
Host cluster Kubernetes version
vcluster version
VCluster Config
N/A
The text was updated successfully, but these errors were encountered: