-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[4.8.0] HorizontalPodAutoscalers uses wrong endpoint on OpenShift 3.11 #2015
Comments
"Caused" by: #1983 Hi @avano, are you sure this is not happening in v4.7.1 too? Lines 44 to 59 in cab2cf4
|
@manusa correct, seems like |
I'll check with the team if we want to provide backwards compatibility for this one. It may be feasable as v2 is still beta so it can make sense to keep compatibility with V1. |
I think we can add a case to BackwardsCompatibilityInterceptor: https://github.com/fabric8io/kubernetes-client/blob/master/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/utils/BackwardsCompatibilityInterceptor.java#L96 |
I don't like very much that interceptor. It assumes that beta versions of existing APIs are backwards-compatible which in many cases won't be true. IMHO it's better if main entry-points always target the stable API version and have extra entry-points to target beta or alpha versions of the API. This way users requesting access to new features can opt-in by invoking for example This would enable us to target different API versions with the same KubernetesClient version, making upgrades for projects depending on FKC much easier and possible. I can submit a PR with my proposal so the team can evaluate its feasibility. |
…Autoscaler resources Related to fabric8io#2143 fabric8io#2015
…Autoscaler resources Related to fabric8io#2143 fabric8io#2015
…Autoscaler resources Related to fabric8io#2143 fabric8io#2015
…Autoscaler resources Related to fabric8io#2143 fabric8io#2015
Following code fails with 4.8.0 client version and OpenShift 3.11:
with:
The correct apiVersion should be
v1
:The same code works against 4.3 OpenShift and the issue is not present in 4.7.1 client version
The text was updated successfully, but these errors were encountered: