-
Notifications
You must be signed in to change notification settings - Fork 458
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
Bump lowest supported k8s version to 1.23 #2145
Comments
cc) @open-telemetry/operator-maintainers |
We don't need to support both until 1.25, I mean, in k8s 1.23 policy/v1 and autoscaling/v2 are available, so we can query the api server using them even if there are still the other apis available yet. Internally, the API server will translate the apis, but that's something internal inside the api server |
During the api versions overlap, you can use them as you want. The api server will store in the "default" api version, but that's something internal. We don't need to take care about that part, if both api versions are supported, we can just use the new one and it will work |
For instance, KEDA v2.9 works on k8s >= 1.23 because we switched to |
ah i see, so anyone on k8s <= 1.25 and wants to use the old versions will have to use an older version of the operator. And from now on we will no longer support both? |
If we remove the support for If this is something acceptable or not, is something that you have to discuss (IMHO, I don't have anything to say about it xD). |
yeah, i would be in favor of removing support for the old versions in favor of only the new ones, simplifies our code massively. |
I can tackle this as part of the PR I have on going if you agree with dropping the support for |
+1. We can simply use the new versions. Which version is used by the operator is an implementation detail. Important is to offer the same features that are available in our CR. |
I prefer a separate PR for dropping older versions and the cleanup that comes with it. |
Okey, |
Or merging current approach and dropping the support in other PR. I'd like to reduce the extra work |
I have opened a PR getting rid of autoscaling/v2beta2. Once it's merged, I'll update my PDB's PR |
Awesome, thank you! I commented back there. |
Notable changes for our codecase:
k8s.io/api/autoscaling/v2beta2"
https://kubernetes.io/docs/reference/using-api/deprecation-guide/#horizontalpodautoscaler-v125Cloud providers and versions
The text was updated successfully, but these errors were encountered: