Skip to content
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 Kubernetes-Client to v7.0 #44899

Closed
manusa opened this issue Dec 3, 2024 · 5 comments · Fixed by #45259
Closed

Bump Kubernetes-Client to v7.0 #44899

manusa opened this issue Dec 3, 2024 · 5 comments · Fixed by #45259

Comments

@manusa
Copy link
Contributor

manusa commented Dec 3, 2024

Description

Kubernetes Client 7.0.0 was just released: https://github.com/fabric8io/kubernetes-client/releases/tag/v7.0.0

Kubernetes Client 7.0.1 was just released: https://github.com/fabric8io/kubernetes-client/releases/tag/v7.0.1

The new version includes some breaking changes.
Among others, the removal of the (redundant) openshift-server-mock module which has a mirror extension in Quarkus (quarkus-test-openshift-client).
Since the adaptation of Quarkus to the new Kubernetes Client will require changes that will likely impact users in some way, we need to decide in which Quarkus version we'll be able to integrate the version upgrade.

Note that @metacosm has already some work in progress PR #42335
I can probably pick this up next week and have a PR ready for whenever the integration seems suitable.

/cc @metacosm

Copy link

quarkus-bot bot commented Dec 3, 2024

/cc @geoand (kubernetes,openshift), @iocanel (kubernetes,openshift)

@geoand
Copy link
Contributor

geoand commented Dec 3, 2024

cc @metacosm

@manusa
Copy link
Contributor Author

manusa commented Jan 8, 2025

Migration guide content (asciidoc)

== Kubernetes Client (Fabric8)

This release includes the version upgrade for the Fabric8 Kubernetes Client from version 6.13 to version 7.0.

The client is used and exposed by the `quarkus-kubernetes-client` and `quarkus-openshift-client` extensions.
And by the `quarkus-kubernetes` and `quarkus-openshift` extensions, however, for these no changes should be required.

The complete and original upstream migration guide can be found at https://github.com/fabric8io/kubernetes-client/blob/main/doc/MIGRATION-v7.md[fabric8io/kubernetes-client/doc/MIGRATION-v7.md].

With respect to Quarkus, the most important change is the removal of the `io.quarkus:quarkus-test-openshift-client` module.
You should use instead the standard `io.quarkus:quarkus-test-kubernetes-client` which provides the same functionality.
Please check the https://quarkus.io/guides/kubernetes-client#openshift-client[guide] for additional information.

Additionally, some of the model classes have moved to different modules.
Make sure to check the https://github.com/fabric8io/kubernetes-client/blob/main/doc/MIGRATION-v7.md[migration guide] to locate the new module in case a class is no longer found.

/cc @gsmet, @geoand

@gsmet
Copy link
Member

gsmet commented Jan 8, 2025

Added to the migration guide, thanks!

@gastaldi
Copy link
Contributor

gastaldi commented Jan 8, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants