Eclipse JKube 1.16 is now available!
On behalf of the Eclipse JKube
team and everyone who has contributed, I'm happy to announce that Eclipse JKube 1.16.2
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:
- New Buildpacks based build strategy
- New Helm Lint feature
- Support for Kubernetes Recommended Labels
- Updated base images:
- Better support for Java 21
- Jolokia updated to 2.0.0
- Red Hat UBI based on UBI 9
- 🐛 Many other bug-fixes and minor improvements
New Buildpacks based build strategy
Users can now leverage Cloud Native Buildpacks to build their container images.
In addition to the existing docker
, jib
, and s2i
build strategies, JKube now supports the buildpacks
strategy.
To enable the buildpacks
strategy, you just need to set the jkube.build.strategy
property to buildpacks
:
<prooperties>
<jkube.build.strategy>buildpacks</jkube.build.strategy>
</properties>
Or in case you're using Gradle:
jkube.build.strategy=buildpacks
There is no need to have a Pack CLI binary installed in your system, JKube takes care of downloading and wrapping the Pack CLI for you.
Currently, JKube reads your .pack/config.toml
file to select the builder image.
In case there is no .pack/config.toml
file, JKube will use the standard paketobuildpacks/builder:base
builder image.
New Helm Lint feature
Eclipse JKube provides now a new feature to lint the Helm charts it generates just by running a simple Maven or Gradle command.
Once you've generated the Kubernetes resources and the Helm charts, you can now examine the generated Helm charts for possible issues.
In case of Maven:
mvn k8s:resource k8s:helm k8s:helm-lint
Or if you're using Gradle:
gradle k8sResource k8sHelm k8sHelmLint
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.16.2</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.16.2'
}
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