Class KubeConfigFileClientExample

java.lang.Object
io.kubernetes.client.examples.KubeConfigFileClientExample

public class KubeConfigFileClientExample extends Object
A simple example of how to use the Java API from an application outside a kubernetes cluster

Easiest way to run this: mvn exec:java -Dexec.mainClass="io.kubernetes.client.examples.KubeConfigFileClientExample"

From inside $REPO_DIR/examples

  • Constructor Details

    • KubeConfigFileClientExample

      public KubeConfigFileClientExample()
  • Method Details

    • main

      public static void main(String[] args) throws IOException, io.kubernetes.client.openapi.ApiException
      Throws:
      IOException
      io.kubernetes.client.openapi.ApiException