-
Notifications
You must be signed in to change notification settings - Fork 52
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
Weird behaviour creating a new cluster on stackit #3429
Comments
Hello, thanks for the detailed issue. I just created a Constellation on STACKIT and received the Kubernetes version I specified in the config. We use the You can compare the uid in
Could you maybe re-test what you did in a new folder containing only the |
I just retested the process, and here's what I found: creating a cluster with Kubernetes versions 1.29.8 and 1.30.4 works as expected. I'm also able to reapply new node pools without any issues. Additionally, the Kubernetes version specified in my configuration is applied correctly. The incorrect log message regarding cluster upgrades has disappeared when I create a 1.29.8 cluster and, for example, apply a new node pool. Has there been any update or change made to your API recently? However, problems I encountered which are not a showstopper:
|
What API are you referring to? The Kubernetes version comparison happens only between the cluster and the cli.
We always have the middle of the 3 supported Kubernetes version as default. All the major CSPs also have a conservative default version (GKE is currently 1.30, EKS 1.30 and Azure 1.29). We will bump the default version as soon as #3396 is merged. Until then, you can use K8s version 1.30 by simply setting it in the config.
We should catch the error earlier in the CLI, but upgrades on STACKIT are not supported right now. We will add a message in future versions explaining this. The reason it is not implemented is that on the other CSPs we use ScaleSets/InstanceGroups. This is currently not available on STACKIT, therefore we would need to implement a different upgrade logic than with the other CSPs. |
I haven’t changed anything on my end. It's the same Constellation CLI and Kubernetes version. However, the log message is now correct. I thought perhaps you had updated some information on your backend that the CLI uses to determine whether components need updating.
Thank you for clarifying. This information was not apparent to me, possibly because I missed it in the documentation. It makes sense that 1.29 is the default version, though my initial expectation was to have the latest version by default.
OK! Thank you for the information! |
I guess we can close this issue now? |
Issue description
While setting up a Constellation cluster on Stackit, I noticed something unexpected with the Kubernetes version. I followed the getting started documentation and used the command
constellation config generate stackit
.However, I was surprised to see that I received Kubernetes version 1.29, even though I expected version 1.30, which is the latest supported version. The logs also presented a few puzzling messages:
(skipping Kubernetes upgrade: upgrading from v1.30.4 to v1.29.8 is not a valid upgrade: current version newer than or equal to new version)
It seems there’s a misunderstanding in the version comparison—1.29.8 is not newer or equal to 1.30.4. Could you please look into these inconsistencies when you have a chance?
constellation upgrade check
also throws an error. But this might be an expected behavior since Image upgrades are not supported for provider OpenStack. Imo this should also be added to the docs: https://docs.edgeless.systems/constellation/workflows/upgrade. Just FYISteps to reproduce the behavior
Follow the steps on creating a cluster
https://docs.edgeless.systems/constellation/next/getting-started/first-steps
Version
Version: v2.18.0 (Enterprise build; see documentation for license agreement)
GitCommit: 57af2d3
GitTreeState: clean
BuildDate: 2024-09-26T10:10:47
GoVersion: go1.22.7 X:nocoverageredesign
Compiler: bazel/gc
Platform: darwin/arm64
Constellation Config
The text was updated successfully, but these errors were encountered: