Eclipse JKube 1.6.0 is now available!
On behalf of the Eclipse JKube team and everyone who has contributed, I'm happy to announce that Eclipse JKube 1.6.0
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:
Java 17 support
We've updated our base images to a include a Java 17 compatible JRE. You can now use the plugins with no additional configuration to be able to deploy your Java 17 compiled applications.
Gradle plugin feature update
This release of JKube includes a few updates to the Kubernetes and Openshift Gradle Plugin preview that was unveiled in the 1.5.1 release.
We have now ported every available Maven goal to Gradle. In the following videos, Rohan demonstrates the usage of the k8sHelmPush
, and k8sWatch
tasks now available.
This release also brings full support for most of our Generators, providing Zero Configuration modes for many frameworks and technologies. In the following video, Sun shows how to get started with JKube in a Quarkus Gradle project.
Helm improvements
This release also brings some more improvements to our Helm tooling.
Parameters for non-string fields
Until now it was not possible to set a variable or parameter for a non-string (numeric, boolean, etc.) resource value (such as Deployment replicas). As an example, we can now define a Deployment fragment like:
1spec:
2 replicas: ${replicas}
Parameters/variables declarable from XML/DSL configuration
Previously, it was required for users to define a dummy OpenShift Template to define the variables or parameters to be replaced in the fragments. From this release, parameters/variables can be defined using Maven XML or Gradle DSL configuration:
<plugin>
<groupId>org.eclipse.jkube</groupId>
<artifactId>kubernetes-maven-plugin</artifactId>
<configuration>
<helm>
<parameters>
<parameter>
<name>chart_name</name>
<value>{{ .Chart.Name }}</value>
</parameter>
</parameters>
</helm>
</configuration>
</plugin>
The following video shows all of these changes 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.6.0</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.6.0'
}
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