class UploadFileToPod {
  public static void main(String[] args) {<FILL_FUNCTION_BODY>}
}

    try (KubernetesClient client = new KubernetesClientBuilder().build()) {
      File fileToUpload = new File("/tmp/jobExample.yml");
      client.pods().inNamespace("default") // <- Namespace of Pod
          .withName("my-pod") // <- Name of Pod
          .file("/home/jobExample.yml") // <- Target location of copied file inside Pod
          .upload(fileToUpload.toPath()); // <- Path of local file
    }
  
<no_super_class>