-
Notifications
You must be signed in to change notification settings - Fork 1.9k
1. Installation
Min Kim edited this page May 6, 2022
·
3 revisions
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.
Add this dependency to your project's POM:
<dependency>
<groupId>io.kubernetes</groupId>
<artifactId>client-java</artifactId>
<version>15.0.1</version>
</dependency>
compile 'io.kubernetes:client-java:15.0.1'
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