-
Notifications
You must be signed in to change notification settings - Fork 295
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
begin to deprecate integrations.podOptions #4168
Comments
Kubernetes tend to follow relatively conservative approachs for deprecations. I think the following plan follows k8s practices:
If config api went v1 we would probably leave the field as deprecated but not remove. |
AFAIK, Beta API (not Beta feature) represents not to break API, right. So, we need to bump API version to v1beta2 instead of removal of fields. Could you point the policy which mention allowing us to break Beta API? My beta API understanding might be not correct. |
I don’t know if there is anything for beta written down like that. I know that we dropped an API field for Swap in Beta that we decided was too risky to support. It was understood that this was the best option. |
/assign |
Actually, I think API elements (such as fields) should never be removed within API version based on https://kubernetes.io/docs/reference/using-api/deprecation-policy/. "Rule #1: API elements may only be removed by incrementing the version of the API group." We can remove fields when incrementing the API version.
I don't know this specific case, but I can well imagine under some circumstances this is the most rational choice and this is why we have the pragmatic Exceptions. I believe in case of |
Thank you for pointing the deprecation documentation. Your recommended step is what I imagined when we stopped serving fields. |
What would you like to be cleaned:
Per the discussion in #3589, we want to migrate users from using
integrations.podOptions
tomanagedJobsNamespaceSelector
.For Kueue 0.11 we should take the next step in the process. This goal of this issue is to decide how far we can go in 0.11.
Some possible options:
Why is this needed:
We want to not carry integrations.podOptions into the next API version of the Configuration struct. We should start encouraging people to migrate away from it.
The text was updated successfully, but these errors were encountered: