Fabric8 Kubernetes Client 7.5 is now available!
On behalf of the Fabric8
team and everyone who has contributed, I'm happy to announce that the Fabric8 Kubernetes Client 7.5.0 has been
released and is now available from
Maven Central 🎉.
This marks the fifth minor release of the Fabric8 Kubernetes Client 7, bringing new features, bug fixes, and improvements while keeping the breaking changes minimal.
Thanks to all of you who have contributed with issue reports, pull requests, feedback, and spreading the word with blogs, videos, comments, and so on. We really appreciate your help, keep it up!
What's new?
Without further ado, let's have a look at the most significant updates:
- Kubernetes 1.34 support with updated OpenShift 4.20 model
- Streaming list support via new Watchable.streamingList method
- CRD generator enhancements with SchemaCustomizer annotation
- Leader election and WebSocket stability fixes
- 🐛 Many other bug fixes and minor improvements
You can find the full changelog for this version in our GitHub release page.
Kubernetes 1.34 support with updated OpenShift 4.20 model
This release adds support for Kubernetes v1.34 (Of Wind & Will) and updates the Fabric8 OpenShift Model as per OpenShift 4.20. The Gateway API has also been updated from 1.2.1 to 1.4.0, and Istio from 1.27 to 1.28, ensuring you have access to the latest CRDs and resources.
Note that ValidatingAdmissionPolicy and related classes have been removed from admissionregistration.v1beta1 as they graduated to GA.
The openshift-model-installer module is now deprecated and will be removed in a future release.
Note
Please note that you can still access newer Kubernetes clusters with older versions of the Fabric8 client.
The client provides a GenericKubernetesResources class to interact with resources that are not yet supported by the client. We do recommend to always use the latest version of the client to benefit from the latest features and bug fixes, but it's not mandatory.
Streaming list support via new Watchable.streamingList method
A highly requested feature has been added: streaming lists via the new Watchable.streamingList() method.
This allows you to process large lists of resources incrementally without loading the entire list into memory, which is particularly useful when dealing with namespaces containing thousands of resources.
CRD generator enhancements with SchemaCustomizer annotation
The CRD generator continues to evolve with the addition of the @SchemaCustomizer annotation for advanced schema modification.
This new annotation supports @Repeatable, allowing you to apply multiple customizations, and provides better exception messages when things go wrong.
Leader election and WebSocket stability fixes
Several important stability fixes have been implemented:
- Leader election callbacks are now called only once instead of twice, fixing duplicate execution issues
- The duration from the current leader record is now used instead of the config duration, ensuring proper leader election behavior
- Vert.x WebSockets now properly handle multiple frames
- Request configuration is preserved when adapting to OpenShiftClient
Using this release
If your project is based on Maven, you just need to add the Fabric8 Kubernetes Client to your Maven dependencies:
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-client</artifactId>
<version>7.5.0</version>
</dependency>If your project is based on Gradle, you just need to add the Fabric8 Kubernetes Client to your Gradle dependencies:
dependencies {
api "io.fabric8:kubernetes-client:7.5.0"
}Once your project is ready, you can create a new instance of the client to perform operations. In the following code snippet, I show you how to instantiate the client and retrieve a list of Pods:
try (KubernetesClient client = new KubernetesClientBuilder().build()) {
client.pods().list().getItems().forEach(p -> System.out.println(p.getMetadata().getName()));
}How can you help?
If you're interested in helping out and are a first-time contributor, check out the "good first issue" tag in the issue repository. We've tagged extremely easy issues so that you can get started contributing to Open Source.
We're also excited to read articles and posts mentioning our project and sharing the user experience. Giving a star to the project, and spreading the word in general, helps us reach more users and broaden the feedback. Feedback is the only way to improve.
Project Page | Issues | Discussions | Gitter | Stack Overflow

