Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

1. Installation

Min Kim edited this page May 6, 2022 · 3 revisions

Installation

To install the Java client library to your local Maven repository, simply execute:

git clone --recursive https://github.com/kubernetes-client/java
cd java
mvn install

Refer to the official documentation for more information.

Maven users

Add this dependency to your project's POM:

<dependency>
    <groupId>io.kubernetes</groupId>
    <artifactId>client-java</artifactId>
    <version>15.0.1</version>
</dependency>

Gradle users

compile 'io.kubernetes:client-java:15.0.1'

Others

At first generate the JAR by executing:

git clone --recursive https://github.com/kubernetes-client/java
cd java/kubernetes
mvn package

Then manually install the following JARs:

  • target/client-java-api-15.0.1-SNAPSHOT.jar
  • target/lib/*.jar

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.