code: public Process exec(V1Pod pod, String[] command, String container, boolean stdin, boolean tty)
        throws ApiException, IOException {
      return exec(
          pod.getMetadata().getNamespace(),
          pod.getMetadata().getName(),
          command,
          container,
          stdin,
          tty);
    }
docs: Execute a command in a container. If there are multiple containers in the pod, uses the first
  container in the Pod.
  
  @param pod The pod where the command is run.
  @param command The command to run
  @param container The container in the Pod where the command is run.
  @param stdin If true, pass a stdin stream into the container.
  @param tty If true, stdin is a TTY (only applies if stdin is true)