Closed lin1005q closed 3 years ago
The v1.22 release will stop serving the following deprecated API versions in favor of newer and more stable API versions:
https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16/
@yue9944882
As the blog states that API was removed in Kubernetes 1.22
The 14.0.0
release targets Kubernetes 1.22
so that API isn't in it.
If you need that API (and you are using an older Kubernetes version) you should use the 13.0.0
release.
@lin1005q @brendandburns what to use instead of ExtensionsV1beta1Ingress and ExtensionsV1beta1IngressList. I am upgrading the client from v13 to v16. I have to change ExtensionsV1beta1Api, ExtensionsV1beta1Ingress and ExtensionsV1beta1IngressList.
Can you please point to the alternate classes?
Did you find any alternatives, I am searching for alternative classes/implementations for :: import io.kubernetes.client.openapi.models.ExtensionsV1beta1HTTPIngressPath; import io.kubernetes.client.openapi.models.ExtensionsV1beta1HTTPIngressRuleValue; import io.kubernetes.client.openapi.models.ExtensionsV1beta1Ingress; import io.kubernetes.client.openapi.models.ExtensionsV1beta1IngressBackend; import io.kubernetes.client.openapi.models.ExtensionsV1beta1IngressRule; import io.kubernetes.client.openapi.models.NetworkingV1beta1HTTPIngressPath; import io.kubernetes.client.openapi.models.NetworkingV1beta1HTTPIngressRuleValue; import io.kubernetes.client.openapi.models.NetworkingV1beta1Ingress; import io.kubernetes.client.openapi.models.NetworkingV1beta1IngressBackend; import io.kubernetes.client.openapi.models.NetworkingV1beta1IngressRule;
I migrated as suggested here https://github.com/kubernetes-client/java/issues/2015#issuecomment-983188557
Describe the bug A clear and concise description of what the bug is.
can not find
io.kubernetes.client.openapi.models.ExtensionsV1beta1Ingress
class in 14.0.0.Client Version e.g.
14.0.0
Kubernetes Version e.g.
1.19.3
Java Version e.g. Java 11
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
KubeConfig If applicable, add a KubeConfig file with secrets redacted.
Server (please complete the following information):
Additional context Add any other context about the problem here.