UCloud logo UCloud logo UCloud
v2026.7.0-k8s.18
  1. UCloud/Core
  2. 1. Introduction
  3. 2. Projects
  4. 3. API Tokens
    1. 3.1. Platform API Tokens
    2. 3.2. Provider API Tokens
  5. 4. Accounting
  6. 5. Orchestration
  7. 6. Frontend
  8. UCloud/IM for Slurm-based HPC
  9. 7. Installation
  10. 8. Architecture and Networking
  11. 9. User and Project Management
  12. 10. Filesystem Integration
    1. 10.1. Inter-provider file transfers
  13. 11. Slurm Integration
    1. 11.1. Application Management
    2. 11.2. Built-in Applications
  14. 12. Reference
    1. 12.1. Configuration
    2. 12.2. CLI
  15. 13. Appendix
    1. 13.1. Built-in Application Index
  16. UCloud/IM for Kubernetes
  17. 14. Installation
  18. 15. Architecture and Networking
  19. 16. Filesystem Integration
  20. 17. Compute Jobs
    1. 17.1. Networks
    2. 17.2. Public Links
    3. 17.3. Public IPs
    4. 17.4. License Servers
    5. 17.5. SSH Servers
    6. 17.6. Job Audit Log
    7. 17.7. Virtual machines
  21. 18. AI Inference
    1. 18.1. Architecture
    2. 18.2. Chat Middleware
    3. 18.3. Chat Playground
    4. 18.4. Model Discovery and Catalog
    5. 18.5. Dynamo Deployments
    6. 18.6. Usage and Accounting
    7. 18.7. Audit
    8. 18.8. Metrics
    9. 18.9. Security
  22. 19. Integrated applications
    1. 19.1. Syncthing
    2. 19.2. Integrated terminal
    3. 19.3. Kubernetes clusters
      1. 19.3.1. Architecture
      2. 19.3.2. Stacks
      3. 19.3.3. Creating a cluster
      4. 19.3.4. Cluster dashboard
      5. 19.3.5. Networking and storage
      6. 19.3.6. Maintenance and upgrades
      7. 19.3.7. Backup and recovery
      8. 19.3.8. Reference
  23. 20. UCX applications
    1. 20.1. Hello world
    2. 20.2. Data binding
    3. 20.3. UI events
    4. 20.4. Component reference
    5. 20.5. API reference
  24. 21. Reference
    1. 21.1. Configuration
    2. 21.2. CLI
  25. Style guidelines
  26. 22. Branding and identity for UCloud
  27. 23. Documentation
  28. H: Procedures
  29. 24. H: Procedures
  30. 25. H: Introduction
  31. 26. H: Auditing
  32. 27. H: Auditing scenario
  33. 28. H: GitHub actions
  34. 29. H: Deployment
  35. 30. H: 3rd party dependencies (risk assesment)
  36. Glossary
  37. 31. Glossary
  1. Links
  2. Source Code
  3. Releases

CLI

The Kubernetes integration includes a small operations CLI for inspecting and controlling active jobs and inference model catalog entries.

Commands are run on the host where the Integration Module is installed:

$ ucloud <command> <subcommand> [options]

The job commands are available under ucloud jobs .... Inference model catalog commands are available under ucloud inference models ....

Notes

  • Commands must be run as root.
  • Query flags use regular expressions unless otherwise noted.
  • The CLI shows active jobs tracked by the Integration Module (non-final jobs).
  • Most commands support --json for machine-readable output.

jobs command

ucloud jobs ls

Lists active jobs.

Optional filters:

  • --state <regex>: Match UCloud job state.
  • --job-id <regex>: Match UCloud job ID.
  • --user <regex>: Match submitting UCloud username.
  • --project <regex>: Match UCloud project ID.
  • --application <regex>: Match application name.
  • --category <regex>: Match machine category.
  • --queue <regex>: Match scheduler queue name.
  • --json: Print JSON output.

Aliases: list.

ucloud jobs get <jobId>

Shows detailed information for one job.

Options:

  • --json: Print JSON output.

Aliases: retrieve, stat, view.

ucloud jobs queue [queue]

Shows queue insight for all queues (or a selected queue), including:

  • queued job count
  • running job count
  • queue/product availability statuses
  • queued jobs per queue (when enabled)

Options:

  • --queue <regex>: Filter queue name.
  • --jobs=<true|false>: Include/exclude queued job listings (default: true).
  • --json: Print JSON output.

If a positional queue argument is given, it is treated as an exact queue-name match.

Alias: queues.

ucloud jobs queue debug [queue]

Shows internal scheduler state intended for debugging and operations.

The output includes, per scheduler queue:

  • queue tick/time
  • all known node entries (including remaining/capacity/limits and unschedulable flag)
  • individual queue entries (priority and factor values)
  • individual replica entries (job, rank, node, dimensions)

Options:

  • --queue <regex>: Filter queue name.
  • --json: Print JSON output.

Alias: ucloud jobs queue state [queue].

ucloud jobs kill <jobId...>

Stops one or more jobs.

Behavior by backend:

  • Virtual machine jobs are suspended.
  • Container jobs are terminated.

You can pass multiple IDs in one command.

Aliases:

  • stop
  • rm, remove, delete, del

ucloud jobs suspend <jobId...>

Suspends one or more virtual machine jobs.

If a listed job is not a virtual machine job, the command reports an error for that job.

ucloud jobs unsuspend <jobId...>

Unsuspends one or more virtual machine jobs.

If a listed job is not a virtual machine job, the command reports an error for that job.

Alias: resume.

inference models command

The inference model commands manage the model catalog stored by the Integration Module. They do not query the backing inference platform directly. See Model Discovery and Catalog for what the fields mean.

ucloud inference models ls

Lists inference model catalog entries, including name, title, capabilities, token prices, endpoint information, and availability.

Options:

  • --json: Print JSON output.

Alias: list.

ucloud inference models update <name>

Updates an inference model catalog entry. When the catalog does not hold the name, the command creates the entry. See Model Discovery and Catalog for the defaults of a new entry.

Options:

  • --name <name>: Rename the model. Renaming is only allowed while the model is not public.
  • --title <title>: Set the display title.
  • --capabilities <list>: Set a comma-separated capability list. Allowed value is TextGeneration.
  • --reasoning-efforts <list>: Set the reasoning values as a comma-separated list of display=value pairs.
  • --default-reasoning-effort <value>: Set the default reasoning value. The value must be one of the values from --reasoning-efforts.
  • --price-per-million-cached <n>: Set encoded cached input Credits per million tokens.
  • --price-per-million-input <n>: Set encoded input Credits per million tokens.
  • --price-per-million-output <n>: Set encoded output Credits per million tokens.
  • --public=true / --public=false: Set whether the model is publicly available.
  • --available-to <list>: Set a comma-separated list of project IDs allowed to use the model when it is not public.
  • --base-path <url>: Set the OpenAI-compatible endpoint base path for the backing model.
  • --backend-model-name <name>: Set the model name sent to the backing inference provider.
  • --temperature <n>: Set the default temperature, from 0 to 2.
  • --top-p <n>: Set the default top P, from 0 to 1.
  • --max-completion-tokens <n>: Set the default completion token limit. The value must be positive.
  • --system-prompt <text>: Set the default system prompt. An empty value clears the prompt.

Prices use fixed-point Credits per one million tokens. The scale is 1000000. Thus, 1000000 means one Credit per million tokens. Zero is valid and means free.

ucloud inference models rm <name>

Removes an inference model catalog entry. Removal only affects the Integration Module catalog and does not depend on whether the backing inference platform still lists the model.

Aliases: remove, delete, del.

Examples

$ ucloud jobs ls
$ ucloud jobs ls --state IN_QUEUE --category gpu-a10
$ ucloud jobs get 1234
$ ucloud jobs queue
$ ucloud jobs queue cpu-standard/general
$ ucloud jobs queue --queue 'gpu.*/.*' --jobs=false
$ ucloud jobs queue debug
$ ucloud jobs queue state gpu-a10/a10
$ ucloud jobs stop 1234 5678
$ ucloud jobs suspend 1234
$ ucloud jobs resume 1234
$ ucloud inference models ls
$ ucloud inference models update qwen --title "Qwen" --capabilities TextGeneration --price-per-million-input 1000000 --price-per-million-output 1000000
$ ucloud inference models update qwen --name qwen-public --public=true
$ ucloud inference models rm qwen-public
Previous Configuration
Next Branding and identity for UCloud