Skip to content
This repository was archived by the owner on Mar 30, 2022. It is now read-only.

Upgrade to fabric8 kubernetes-client 5.7.2 fails with latest istio-java.client 1.7.7.1 #137

Closed
rbaeurle opened this issue Sep 7, 2021 · 7 comments

Comments

@rbaeurle
Copy link

rbaeurle commented Sep 7, 2021

when upgrading from fabric8 kubernetes-client 5.2.1 to 5.7.2 we get the following error while creating an VirtualService object:

java.lang.NoSuchMethodError: io/fabric8/kubernetes/client/dsl/base/HasMetadataOperation.(Lio/fabric8/kubernetes/client/dsl/base/OperationContext;)V (loaded from jar:file:/app.jar!/BOOT-INF/lib/kubernetes-client-5.7.2.jar!/ by org.springframework.boot.loader.LaunchedURLClassLoader@bb088dad) called from class me.snowdrop.istio.client.internal.operation.networking.v1beta1.VirtualServiceOperationImpl (loaded from jar:file:/app.jar!/BOOT-INF/lib/istio-client-1.7.7.1.jar!/ by org.springframework.boot.loader.LaunchedURLClassLoader@bb088dad).
at me.snowdrop.istio.client.internal.operation.networking.v1beta1.VirtualServiceOperationImpl.(VirtualServiceOperationImpl.java:26)
at me.snowdrop.istio.client.internal.operation.networking.v1beta1.VirtualServiceOperationImpl.(VirtualServiceOperationImpl.java:22)
at me.snowdrop.istio.client.DefaultIstioClient.v1beta1VirtualService(DefaultIstioClient.java:130)

@Etone
Copy link

Etone commented Sep 14, 2021

Any news on this? We can not upgrade our K8s Clusters to 1.21 due to this issue

@FWiesner
Copy link
Contributor

we are struck by this as well now. I might have a look tomorrow

@metacosm
Copy link
Member

I started having a look at it. See #141.

@foal
Copy link

foal commented Nov 7, 2021

Any progress on it?

@Tan-JiaLiang
Copy link

Hi @metacosm , when will the PR #141 merge?

@metacosm
Copy link
Member

metacosm commented Jan 8, 2022

Please migrate to the fabric8 client version 5.11 and above and use the Istio client extension from that project.

This project is now deprecated and further development will happen in the kubernetes-client project.

@Tan-JiaLiang
Copy link

Thanks @metacosm , it work in fabric8 client.

@metacosm metacosm closed this as completed Jan 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants