microBean Helm

The microBean Helm project lets you work with the server-side componentry of Helm from Java.

This means your Java applications can now manage applications in your Kubernetes cluster using the Helm notions of charts and releases.

Until now, Java developers had to use the helm command line client to do these operations.

Versioning

The microBean Helm project’s version number tracks the Helm and Tiller release it works with, together with its own version semantics. For example, a microBean Helm version of 2.8.2.1.1.0 means that the Helm version it tracks is 2.8.2 and the (SemVer-compatible) version of the non-generated code that is part of this project is 1.1.0 .

Installation

To install microBean Helm, simply include it as a dependency in your project. If you’re using Maven, the dependency stanza should look like this:

<dependency> <groupId>org.microbean</groupId> <artifactId>microbean-helm</artifactId> <!-- See http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.microbean%22%20AND%20a%3A%22microbean-helm%22 for available releases. --> <version>2.8.2.1.1.0</version> <type>jar</type> </dependency>

Releases are available in Maven Central. Snapshots are available in Sonatype Snapshots.

Documentation

The microBean Helm project documentation is online.

Helm

Helm is the package manager for Kubernetes. It consists of a command line program named helm and a server-side component named Tiller. helm serves as a Tiller client.

Tiller

Tiller is the server-side component of Helm. Tiller accepts and works with Helm charts—packaged Kubernetes manifest templates together with their values. microBean Helm lets you build and work with those charts and the releases they produce from Java and send them back and forth to and from Tiller.

Tiller Connectivity Because Tiller normally runs as a Pod, communicating with it from outside the cluster is not straightforward. The helm command line client internally forwards a local port to a port on the Tiller Pod and, via this tunnel, establishes communication with the Tiller server. The microBean Helm project does the same thing but via a Java library.