A logo showing the text blog.marcnuri.com
Español
Home»Cloud Native»Fabric8 Kubernetes Client 7.4 is now available!

Recent Posts

  • Fabric8 Kubernetes Client 7.4 is now available!
  • Kubernetes MCP Server Joins the Containers Organization!
  • MCP Tool Annotations: Adding Metadata and Context to Your AI Tools
  • Fabric8 Kubernetes Client 7.2 is now available!
  • Connecting to an MCP Server from JavaScript using AI SDK

Categories

  • Artificial Intelligence
  • Backend Development
  • Cloud Native
  • Engineering Insights
  • Frontend Development
  • JavaScript
  • Legacy
  • Operations
  • Personal
  • Pet projects
  • Quality Engineering
  • Tools

Archives

  • August 2025
  • June 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2025
  • November 2024
  • October 2024
  • July 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2024
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2023
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • February 2022
  • January 2022
  • December 2022
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • December 2021
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • February 2020
  • January 2020
  • December 2020
  • November 2019
  • September 2019
  • August 2019
  • June 2019
  • February 2019
  • October 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • November 2017
  • September 2017
  • July 2017
  • June 2017
  • December 2017
  • November 2015
  • October 2015
  • November 2014
  • February 2014
  • January 2011
  • October 2008
  • May 2008
  • April 2008
  • March 2008
  • December 2008
  • October 2007
  • August 2007
  • July 2007
  • June 2007
  • May 2007
  • April 2007
  • March 2007
  • February 2007

Fabric8 Kubernetes Client 7.4 is now available!

2025-09-08 in Cloud Native tagged Client / Cloud / Fabric8 / Java / Kubernetes / Open Source / OpenShift / Releases by Marc Nuri | Last updated: 2025-09-08
Versión en Español

On behalf of the Fabric8 team and everyone who has contributed, I'm happy to announce that the Fabric8 Kubernetes Client 7.4.0 has been released and is now available from Maven Central 🎉.

This marks the fourth minor release of the Fabric8 Kubernetes Client 7, bringing new features, bug fixes, and improvements while keeping the breaking changes minimal. If you're coming from version 6, we've prepared a migration guide to help you update your code to this new version.

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:

  • Enhanced testing framework with mock client improvements
  • Improved informer and watch operation stability
  • CRD generation enhancements with annotation support
  • Better WebSocket and connection handling
  • 🐛 Many other bug fixes and minor improvements

You can find the full changelog for this version in our GitHub release page.

Be sure to check out the migration guide for a smooth upgrade.

Enhanced testing framework with mock client improvements

The testing experience has been significantly enhanced in this release. The @EnableKubernetesMockClient annotation now works properly with nested tests, resolving JUnit integration issues that were affecting test organization and execution.

Additionally, the KubeApiTest inheritance from base test classes has been fixed, providing better test framework compatibility and making it easier to structure your test suites.

Improved informer and watch operation stability

This release brings improvements to the Informer API. You can now use Informer.isWatching() to see the underlying Watch state, providing better visibility into watch operations and helping with debugging and monitoring of long-running watch connections.

CRD generation enhancements with annotation support

The CRD generator has been extended with support for @Annotations and @Labels in CRD generation. The CRD generator now includes metadata from these annotations, making it easier to generate comprehensive Custom Resource Definitions with proper annotations and labels.

The java-generator has also been enhanced to support the use of existing enumerations through extended existingJavaTypes configuration.

Better WebSocket and connection handling

Several critical fixes have been implemented to improve connection stability:

  • Fixed potential NPE in OkHttp WebSocket handling
  • Ensured that streams are properly notified of errors
  • Changed rolling update handling to use JSON merge patch to avoid 422 errors during deployment updates

These improvements make the client more reliable when dealing with long-running connections and deployment operations.

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.

Using this release

If your project is based on Maven, you just need to add the Fabric8 Kubernetes Client to your Maven dependencies:

pom.xml
<dependency>
  <groupId>io.fabric8</groupId>
  <artifactId>kubernetes-client</artifactId>
  <version>7.4.0</version>
</dependency>

If your project is based on Gradle, you just need to add the Fabric8 Kubernetes Client to your Gradle dependencies:

build.gradle
dependencies {
  api "io.fabric8:kubernetes-client:7.4.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

The logo of Fabric8 Kubernetes Client
The logo of Fabric8 Kubernetes Client
Twitter iconFacebook iconLinkedIn iconPinterest iconEmail icon

Post navigation
Kubernetes MCP Server Joins the Containers Organization!
© 2007 - 2025 Marc Nuri