Package io.kubernetes.client.examples
Class InClusterClientExample
java.lang.Object
io.kubernetes.client.examples.InClusterClientExample
A simple example of how to use the Java API inside a kubernetes cluster
Easiest way to run this: mvn exec:java -Dexec.mainClass="io.kubernetes.client.examples.InClusterClientExample"
From inside $REPO_DIR/examples
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
InClusterClientExample
public InClusterClientExample()
-
-
Method Details
-
main
public static void main(String[] args) throws IOException, io.kubernetes.client.openapi.ApiException - Throws:
IOExceptionio.kubernetes.client.openapi.ApiException
-