Package io.kubernetes.client.examples
Class KubectlExample
java.lang.Object
io.kubernetes.client.examples.KubectlExample
A Java equivalent for the kubectl command line tool. Not nearly as complete.
Easiest way to run this: mvn exec:java -Dexec.mainClass="io.kubernetes.client.examples.KubectlExample" -Dexec.args="log some-pod"
From inside $REPO_DIR/examples
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
KubectlExample
public KubectlExample()
-
-
Method Details
-
main
public static void main(String[] args) throws IOException, io.kubernetes.client.extended.kubectl.exception.KubectlException, org.apache.commons.cli.ParseException - Throws:
IOExceptionio.kubernetes.client.extended.kubectl.exception.KubectlExceptionorg.apache.commons.cli.ParseException
-