Eclipse JKube 1.8.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.8.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:
- Graduation of Kubernetes and OpenShift Gradle plugins
- Startup Probe definition is now possible via XML or DSL configuration
- Fragments can be picked from multiple environment directories
- Support for JakartaEE and JavaEE based projects with our WebApp generator
- Better support for Apple M1
- Group and Version labels are now configurable
- 🐛 Many other bug-fixes and minor improvements
Graduation of Kubernetes and OpenShift Gradle plugins
Our Gradle plugins (Kubernetes Gradle Plugin & OpenShift Gradle Plugin) have finally graduated and are out of preview. You should expect full support as compared to the Maven plugins.
Fragments can be picked from multiple environment directories
So far, it was possible to use a different set of fragments depending on the environment you were targeting. This is useful in case you want to provide different configurations or resources for environments such as development, staging, production, and so on. However, it was not possible to have common resources or fragments that could be shared among the different environments.
Starting on this release, it's now possible to load fragments from multiple directories. Considering a directory structure like the following:
src
└── main
└── jkube
├── common
├── dev
└── prod
You can setup two different profiles that share the resources in the common
directory:
<profiles>
<profile>
<id>dev</id>
<properties>
<jkube.environment>common,dev</jkube.environment>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<jkube.environment>common,prod</jkube.environment>
</properties>
</profile>
</profiles>
Support for JakartaEE and JavaEE based projects with our WebApp generator
The base image for our WebApp generator is now using Tomcat 10 by default. Tomcat 10 supports JakartaEE based projects. However, we deploy the project in the webapps-javaee
directory, which automatically migrates any JavaEE project to JakartaEE if necessary. You can read more about this in the Tomcat 10 migration guide.
Check the following video for a live demo and additional details:
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.8.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.8.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