microBean Helm

Java bindings for the Helm API

License

License

GroupId

GroupId

org.microbean
ArtifactId

ArtifactId

microbean-helm
Last Version

Last Version

2.8.2.1.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

microBean Helm
Java bindings for the Helm API
Project URL

Project URL

https://microbean.github.io/microbean-helm
Project Organization

Project Organization

microBean
Source Code Management

Source Code Management

https://github.com/microbean/microbean-helm/

Download microbean-helm

How to add to project

<!-- https://jarcasting.com/artifacts/org.microbean/microbean-helm/ -->
<dependency>
    <groupId>org.microbean</groupId>
    <artifactId>microbean-helm</artifactId>
    <version>2.8.2.1.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.microbean/microbean-helm/
implementation 'org.microbean:microbean-helm:2.8.2.1.1.1'
// https://jarcasting.com/artifacts/org.microbean/microbean-helm/
implementation ("org.microbean:microbean-helm:2.8.2.1.1.1")
'org.microbean:microbean-helm:jar:2.8.2.1.1.1'
<dependency org="org.microbean" name="microbean-helm" rev="2.8.2.1.1.1">
  <artifact name="microbean-helm" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.microbean', module='microbean-helm', version='2.8.2.1.1.1')
)
libraryDependencies += "org.microbean" % "microbean-helm" % "2.8.2.1.1.1"
[org.microbean/microbean-helm "2.8.2.1.1.1"]

Dependencies

compile (11)

Group / Artifact Type Version
com.github.zafarkhaja : java-semver jar 0.9.0
com.google.protobuf : protobuf-java jar 3.5.1
io.fabric8 : kubernetes-client jar 3.1.8
io.grpc : grpc-netty jar 1.10.0
io.grpc : grpc-protobuf jar 1.10.0
io.grpc : grpc-services jar 1.10.0
io.grpc : grpc-stub jar 1.10.0
org.kamranzafar : jtar jar 2.3
org.microbean : microbean-development-annotations jar 0.1.3
org.microbean : microbean-kubernetes jar 0.1.1
org.yaml : snakeyaml jar 1.20

runtime (1)

Group / Artifact Type Version
io.netty : netty-tcnative-boringssl-static jar 2.0.7.Final

test (2)

Group / Artifact Type Version
junit : junit jar 4.12
org.slf4j : slf4j-simple jar 1.7.25

Project Modules

There are no modules declared in this project.

microBean Helm

Build Status Maven Central

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.

Announcements

Project announcements may be found in the wiki. You are encouraged to take a look!

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.12.3.0.0.1 means that the Helm version it tracks is 2.12.3 and the (SemVer-compatible) version of the non-generated code that is part of this project is 0.0.1.

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.12.3.0.0.1</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 Installation

In a normal Helm usage scenario, Tiller is installed just-in-time by the helm command line client (via the helm init subcommand). It runs as a Pod in a Kubernetes cluster. microBean Helm features the TillerInstaller class that can do the same thing from Java.

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.

Tiller Communication

Tiller is fundamentally a gRPC application. The microBean Helm project generates the Java bindings to its gRPC API, allowing applications to communicate with Tiller using Java classes.

ReleaseManager

Ideally, business logic for installing and updating releases would be entirely encapsulated within the Tiller server. Unfortunately, this is not the case. The helm command-line program investigates and processes a Helm chart's requirements.yaml file at installation time and uses it to alter what is actually dispatched to Tiller. For this reason, if you are using the microBean Helm project, you must use the non-generated ReleaseManager class to perform your Helm-related operations, since it contains a port of the business logic embedded in the helm program.

org.microbean

microBean™

At the intersection of Java, Kubernetes and the enterprise.

Versions

Version
2.8.2.1.1.1
2.8.2.1.1.0
2.8.2.1.0.7
2.8.2.1.0.6
2.8.2.1.0.5
2.8.2.1.0.4
2.8.2.1.0.3
2.8.1.1.0.0
2.7.2.1.0.0
2.7.0.1.0.49
2.7.0.1.0.41
2.7.0.1.0.39
2.7.0.1.0.28
2.7.0.1.0.25
2.7.0.1.0.17
2.7.0.1.0.4
2.6.2.1.1.16
2.6.2.1.1.9
2.6.2.1.1.0
2.6.2.1.0.0
2.5.0.0
2.4.2.2
2.4.2.1
2.4.2.0