Twitter Twitter Gitter Eclipse JKube Dev Mailing List License

Eclipse JKube™

Cloud-Native Java Applications without a hassle

Eclipse JKube is a collection of plugins and libraries that are used for building container images using Docker, JIB or S2I build strategies. Eclipse JKube generates and deploys Kubernetes/OpenShift manifests at compile time too.

It brings your Java applications on to Kubernetes and OpenShift by leveraging the tasks required to make your application cloud-native.

Eclipse JKube also provides a set of tools such as watch, debug, log, etc. to improve your developer experience.

Get Started

🚀 Getting started📖 Documentation
  1. Add the plugin to your pom.xml:
    <build>  <plugins>    <plugin>      <groupId>org.eclipse.jkube</groupId>      <artifactId>kubernetes-maven-plugin</artifactId>      <version>1.16.2</version>    </plugin>  </plugins></build>
  2. Run the following command to build and deploy your application to Kubernetes:
    $ mvn package k8s:build      \              k8s:push       \              k8s:resource   \              k8s:apply
A picture of multiple concrete cubes aligned in a grid
A picture of multiple concrete cubes aligned in a grid

Features

Kubernetes Maven Plugin

JKube - Kubernetes Maven Plugin
  • Generates container images with flexible and powerful configuration (Integrates with Docker Daemon or JIB).
  • Generates vanilla Kubernetes descriptors (YAML files).
  • Provides Zero Configuration for a quick ramp-up where opinionated defaults will be pre-selected.
  • Provides Inline Configuration within the plugin configuration in an XML syntax.
  • Provides External Configuration templates of real deployment descriptors which are enriched by plugin.

OpenShift Maven Plugin

  • Built on top of Kubernetes Maven Plugin provides OpenShift specific features.
  • Dealing with S2I images and hence inherits its flexible and powerful configuration.
  • Generates OpenShift specific descriptors (YAML files).
  • Provides Zero Configuration for a quick ramp-up where opinionated defaults will be pre-selected.
  • Provides Inline Configuration within the plugin configuration in an XML syntax.
  • Provides External Configuration templates of real deployment descriptors which are enriched by plugin.
JKube - OpenShift Maven Plugin

JKube Kit

JKube Kit
  • Core
  • Generator framework for automatically generating Docker images by examining project information.
  • Enricher framework for creating and enhancing Kubernetes/OpenShift resource descriptors.
  • Profile combining configuration for generators and enrichers.
  • Resource Configuration model objects for a simplified configuration of Kubernetes/OpenShift resource.
  • Image Configuration model objects for modeling Docker image configuration.

Downloads

You can get Eclipse JKube from these platforms:

Maven Central Eclipse Download Repository