A logo showing the text blog.marcnuri.com
Español
Home»Java»Eclipse JKube 1.10 is now available!

Recent Posts

  • Fabric8 Kubernetes Client 7.2 is now available!
  • Connecting to an MCP Server from JavaScript using AI SDK
  • Connecting to an MCP Server from JavaScript using LangChain.js
  • The Future of Developer Tools: Adapting to Machine-Based Developers
  • Connecting to a Model Context Protocol (MCP) Server from Java using LangChain4j

Categories

  • Artificial Intelligence
  • Front-end
  • Go
  • Industry and business
  • Java
  • JavaScript
  • Legacy
  • Operations
  • Personal
  • Pet projects
  • Tools

Archives

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

Eclipse JKube 1.10 is now available!

2022-11-10 in Java tagged Eclipse / Eclipse JKube / Kubernetes / Open Source / OpenShift / Releases by Marc Nuri | Last updated: 2022-11-16
Versión en Español

Note

A newer version of Eclipse JKube is available, jump to Eclipse JKube 1.18 announcement.

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

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:

  • Introducing Eclipse JKube Remote Development (Preview)
  • Automatic Health Check configuration for projects using SmallRye Health
  • Improved support for Podman
  • Updated base images
  • 🐛 Many other bug-fixes and minor improvements

Eclipse JKube Remote Development (Preview)

The new Kubernetes remote development feature provided by Eclipse JKube allows you to run and debug your Java applications from your local machine while connected to your Kubernetes cluster. It's essentially like placing your local development machine inside your cluster. This means that you will be able to:

  • Consume services that are only available in your cluster
  • Expose your locally running application to the rest of the Pods and services running in your cluster

The following diagram shows the topology of a distributed application as deployed in a Kubernetes cluster:

Diagram of an application's Kubernetes topology
Diagram of an application's Kubernetes topology

Considering that Pod A is a Java application you are working on, by starting an Eclipse JKube remote development session, the topology will be updated as in the next diagram:

Diagram of the application's topology once Eclipse JKube Remote Development session is running
Diagram of the application's topology once Eclipse JKube Remote Development session is running

Users accessing Ingress A and Service A, will now receive traffic from your local machine instead of Pod A. In addition, your local machine will be able to access Service B and Service C since those services will be available at local ports in your system.

To be able to use the new feature, you'll only need to provide a minimal configuration:

<plugin>
  <groupId>org.eclipse.jkube</groupId>
  <artifactId>kubernetes-maven-plugin</artifactId>
  <configuration>
    <remoteDevelopment>
      <localServices>
        <localService>
          <serviceName>my-local-service</serviceName>
          <port>8080</port>
        </localService>
      </localServices>
      <remoteServices>
        <remoteService>
          <hostname>postgresql</hostname>
          <port>5432</port>
        </remoteService>
      </remoteServices>
    </remoteDevelopment>
  </configuration>
</plugin>

For each local port you want to expose in the cluster, you'll need to define a <localService> with the name of the Kubernetes service and the port. Eclipse JKube will either create a new Kubernetes Service, or temporarily replace an existing Service with that name and forward any traffic directed to the configured port in that Service to your local machine.

For each remote port from your cluster that you want to consume locally, you need to define a <remoteService> with the name of the Kubernetes service and its port. Eclipse JKube will listen to traffic to that port in your local machine and forward it to the remote service running in the cluster.

Once you've set up the configuration for your application, you can start a remote development session by running the following command:

mvn k8s:remote-dev

You can find a complete example of a distributed application built with Quarkus, Micronaut, and Spring with the necessary JKube project configuration in this GitHub repository.

You can also watch the next YouTube video to see the Eclipse JKube remote dev in action:

Using this release

If your project is based on Maven, you just need to add the Kubernetes Maven plugin or the OpenShift Maven plugin to your plugin dependencies:

<plugin>
  <groupId>org.eclipse.jkube</groupId>
  <artifactId>kubernetes-maven-plugin</artifactId>
  <version>1.10.1</version>
</plugin>

If your project is based on Gradle, you just need to add the Kubernetes Gradle plugin or the OpenShift Gradle plugin to your plugin dependencies:

plugins {
  id 'org.eclipse.jkube.kubernetes' version '1.10.1'
}

How can you help?

If you're interested in helping out and are a first-time contributor, check out the "first-timers-only" tag in the issue repository. We've tagged extremely easy issues so that you can get started contributing to Open Source and the Eclipse organization.

If you are a more experienced developer or have already contributed to JKube, check the "help wanted" tag.

We're also excited to read articles and posts mentioning our project and sharing the user experience. Feedback is the only way to improve.

Project Page | GitHub | Issues | Gitter | Mailing list | Stack Overflow

Eclipse JKube Logo
Eclipse JKube Logo
Twitter iconFacebook iconLinkedIn iconPinterest iconEmail icon

Post navigation
Fabric8 Kubernetes Client 6.3.1 is now available!Fabric8 Kubernetes Client 6.2.0 is now available!
© 2007 - 2025 Marc Nuri