Eclipse JKube 1.11 is now available!
On behalf of the Eclipse JKube team and everyone who has contributed, I'm happy to announce that Eclipse JKube 1.11.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:
- Eclipse JKube Remote Development (Preview) enhancements
- Init Containers via XML/DSL plugin configuration
- 🐛 Many other bug-fixes and minor improvements
Eclipse JKube Remote Development (Preview) enhancements
This release brings a few improvements to the Remote Development feature:
SOCKS 5 proxy
In addition to the standard remote and local service configuration, you can now enable a SOCKS 5 proxy. The proxy can be then used to dynamically forward ports and resolve cluster DNS names for your local applications that support a SOCKS 5 proxy configuration.
You can enable the SOCKS proxy just by setting its port in the <remoteDevelopment>
configuration:
<plugin>
<groupId>org.eclipse.jkube</groupId>
<artifactId>kubernetes-maven-plugin</artifactId>
<configuration>
<remoteDevelopment>
<socksPort>1080</socksPort>
</remoteDevelopment>
</configuration>
</plugin>
Once you start the session, you can use the SOCKS proxy to connect to a remote service:
curl --socks5-hostname localhost:1080 http://my-cluster-service:80/
Remote Service port discovery
Your application might expose different ports depending on the environment it's running. For example, a React application is usually exposed at port 3000
in development mode, but at port 80
in production mode.
With this release, we've improved the local service port forwarding to detect the port at which your application is being exposed in the cluster. This way you can provide a local service configuration with the port pointing to where your application listens locally. JKube will take care of analyzing the cluster service to determine the port where the Service
listens and forward it to the local port.
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.11.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.11.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