Skip to content
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

Unable to set worker version equal to control plane version in 1.20.x #549

Open
wyb1 opened this issue Jul 29, 2022 · 1 comment
Open

Unable to set worker version equal to control plane version in 1.20.x #549

wyb1 opened this issue Jul 29, 2022 · 1 comment
Labels
kind/bug Bug lifecycle/rotten Nobody worked on this for 12 months (final aging stage) platform/azure Microsoft Azure platform/infrastructure

Comments

@wyb1
Copy link

wyb1 commented Jul 29, 2022

How to categorize this issue?

/kind bug
/platform azure

What happened:

It is not possible to set the Kubernetes version of a worker for a Kubernetes cluster in version 1.20.x to the same version as the control plane.

For example when trying to set the worker version to 1.20.15 for a cluster that is version 1.20.15 we get the following error.

admission webhook "validation.azure.provider.extensions.gardener.cloud" denied the request: spec.provider.workers[0].kubernetes.version: Forbidden: cannot use kubelet version (1.20.15) lower than CSI migration version (1.21.0)

What you expected to happen:

Set workers.kubernetes.version

How to reproduce it (as minimally and precisely as possible):

Create a cluster in version 1.20.x.
Set the worker kubernetes version equal to the control plane version.

@gardener-robot gardener-robot added kind/bug Bug platform/azure Microsoft Azure platform/infrastructure labels Jul 29, 2022
@kon-angelo
Copy link
Contributor

This is by design to prevent cases where the control plane is migrated to CSI and the kubelet is running in a version that doesn't support it as indicated by #429 (which is the PR that adds the check you are referring to)

Maybe @rfranzke can add more, but I think that this is not a bug.

@gardener-robot gardener-robot added the lifecycle/stale Nobody worked on this for 6 months (will further age) label Jan 25, 2023
@gardener-robot gardener-robot added lifecycle/rotten Nobody worked on this for 12 months (final aging stage) and removed lifecycle/stale Nobody worked on this for 6 months (will further age) labels Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Bug lifecycle/rotten Nobody worked on this for 12 months (final aging stage) platform/azure Microsoft Azure platform/infrastructure
Projects
None yet
Development

No branches or pull requests

3 participants