> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nx1cloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# kyuubi

> Submit a Spark job to a Kyuubi server on a Kubernetes cluster.

The `kyuubi` command submits a job to a Kyuubi server within a NexusOne Kubernetes cluster.

```bash theme={null}
nx1 kyuubi \
  --name <kyuubi_job_name>
  --resource <jar_or_python_file> \
  --server <kyuubi_server_url> \
  --username <kyuubi_username>
```

<Accordion title="Options">
  * `--args` `string` **optional**: Job arguments in shell-style `--arg1 <value>`
  * `--classname` `string` **optional**: Main class. Also required for `--jars`.
  * `--conf` `string` **optional**:  Comma-separated key-value pairs of Spark configs.
  * `--debug` `boolean` **optional**: Enables debug logging.
  * `--files` `string` **optional**: Comma-separated local or remote files to include with the job.
  * `--history-server` `string` **optional**: Spark history server URL.
  * `--jars` `string` **optional**: Comma-separated local or remote JAR files.
  * `--name` `string` **required**: Kyuubi job name.
  * `--password` `string` **optional**: Kyuubi password.
  * `--pyfiles` `string` **optional**: Comma-separated local or remote Python files.
  * `--queue` `string` **optional**: YuniKorn queue name.
  * `--resource` `string` **required**: JAR or Python file.
  * `--server` `string` **required**: Kyuubi server URL.
  * `--show-logs` `boolean` **optional**: Display logs after completion.
  * `--username` `string` **required**: Kyuubi username.
</Accordion>

<Accordion title="Global options">
  * `--api-key` `string` **optional**: API key or the `NX1_API_KEY` variable.
  * `--config-file` `string` **optional**: YAML config file.
  * `--help` `-h` **optional**: Shows help messages and exit.
  * `--host` `string` **optional**: API host.
  * `--no-verify-ssl` **optional**: Disables SSL verification.
  * `--output` `-o` **optional**: Output format. Allowed values: `json`, `yaml`, or `table`.
  * `--profile` `-p` `string` **optional**: Profile name from `~/.nx1/profiles`.
  * `--timeout` `integer` **optional**: Requests when to timeout. Default is `30`.
  * `--verbose` `-v` **optional**: Verbose output.
</Accordion>
