Eclipse JKube 1.5.1 is now available!
On behalf of the Eclipse JKube team and everyone who has contributed, I'm happy to announce that Eclipse JKube 1.5.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:
Kubernetes and OpenShift Gradle Plugins (Preview)
Eclipse JKube 1.5.1 finally brings the new Kubernetes Gradle Plugin and OpenShift Gradle Plugin. We're releasing these plugins as a preview including most of the standard functionality that you can find in the homologous Maven plugins. However, there's still work to do, so please share your feedback
Getting started
The first step is to add the plugin to your project:
plugins {
id 'org.eclipse.jkube.kubernetes' version '1.5.1'
/* ... */
}
Or in case of OpenShift:
plugins {
id 'org.eclipse.jkube.openshift' version '1.5.1'
/* ... */
}
If your application is based on Spring Boot, then this is all the configuration you'll need.
Available tasks
This is still a preview, more tasks are yet to come. Following is the list of the currently supported Gradle tasks:
Task | Description |
---|---|
k8sBuild | Build container images |
k8sPush | Pushes the built images to the container image registry |
k8sResource | Generate resource manifests for your application |
k8sApply | Applies the generated resources to the connected cluster |
k8sHelm | Generate Helm charts for your application |
k8sDebug | Debug your Java app running on the cluster |
k8sLog | Show the logs of your Java app running on the cluster |
k8sUndeploy | Deletes the kubernetes resources that you deployed via the k8sApply task |
The tasks can be executed as in the following example:
gradle build k8sBuild k8sPush k8sResource k8sApply
You can also check the recording of my EclipseCon 2021 session to learn more about the Gradle Plugins.
Hacktoberfest
This year we've been active members of the Hacktoberfest. This is aligned with our all year round first-timers-only
issue strategy.
The 1.5.1 release includes around 30 contributions from members of the community who took part on Hacktoberfest 2021. On behalf of the core maintainer team I want to thank you all for your participation and making JKube even better with your contributions.
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.5.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.5.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