spring-cloud-kubernetes

Spring Cloud Kubernetes

Spring Cloud integration with Kubernetes

Maven Central Apache 2 Javadocs


Version and compatibility

The current version of Spring Cloud Kubernetes is using version 2.2.x of the Fabric8 Kubernetes Client and is expected to work with version 1.x of Kubernetes and 1.x of Openshift. Note, that Kubernetes and Openshift are for the most part backwards compatible so, its expected that this framework is compatible with both the latest and earlier versions.

Building

You can just use maven to build it from sources:

mvn clean install

Usage

The project provides a “starter” module, so you just need to add the following dependency in your project.

<dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-starter-kubernetes</artifactId>
    <version>x.y.z</version>
</dependency>