Skip to content

[DOCS] Desktop Compute tab: clusters configured once, workspaces pick one #1132

Closed

Description

@edenreich

Summary

The desktop's Settings split cluster setup from the computers that run on it. Source: inference-gateway/desktop#474, implemented in inference-gateway/desktop#478. It needs a CLI release with compute (inference-gateway/cli#1761), so document it once both are merged and released.

What changed for users:

  • A new Compute tab lists the clusters of ~/.infer/compute.yaml, each with a name, a Kubernetes context, a namespace and provider keys. Every workspace on a cluster shares its namespace and its one gateway.
  • Each cluster is checked once for what sessions need, the same prerequisites the Workspaces tab checked per workspace, and shows how many sessions every workspace on it runs.
  • Detect clusters moves to Compute and adds one cluster per kubeconfig context that no cluster and no workspace uses yet, in the infer-workspaces namespace, with the names of the saved API keys as its provider keys.
  • Provision local cluster moves to Compute and registers the infer-k3s cluster in compute.yaml with the ubuntu-desktop workspace on it.
  • A workspace picks its Cluster in the Workspaces form. On a cluster, the context, namespace and provider-key fields are gone, because the cluster gives them. A new workspace starts on the first cluster with the installed CLI's image.
  • Its own connection. Workspaces that carry their own context keep working and stay editable under "Its own connection".
  • The running badge on a workspace counts only its own sessions, where it used to count the whole namespace.
  • Renaming a cluster moves its workspaces along, and a cluster a workspace runs on cannot be deleted.
  • On an infer without compute support, the Compute tab says to install updates and its actions are disabled.

Example to add:

# ~/.infer/compute.yaml
clusters:
  - name: infer-k3s
    context: infer-k3s
    namespace: infer-workspaces
    gateway_env:
      - OLLAMA_CLOUD_API_KEY
# ~/.infer/daemon.yaml
workspaces:
  - name: ubuntu-desktop
    compute: infer-k3s
    image: ghcr.io/inference-gateway/cli:0.245.0
    storage: 5Gi

Affected pages

  • desktop.md, Settings table: a Compute row before Workspaces.
  • desktop.md, a new Compute section, split out of the Workspaces section. It covers the cluster form and its fields, Detect clusters, Provision local cluster with its stages, the prerequisites check per cluster, the cluster's session total, the restart notice, and the notice on an older CLI.
  • desktop.md, Workspaces section:
    • The form fields table gains Cluster (compute). Kubernetes context, Namespace and Provider keys apply only to a workspace with its own connection.
    • The paragraphs on Provision local cluster and Detect clusters move to the Compute section.
    • The running badge paragraph says it counts the workspace's own sessions.
    • The saved workspace example names its compute, with compute.yaml beside it.
  • desktop.md, Agent computers and Moving a chat: point at clusters under Compute where they say where a computer and its provider keys come from. A moved chat's provider key belongs to the cluster's provider keys when its workspace runs on a cluster.
  • Related: [DOCS] Compute: compute.yaml, workspaces naming their compute, and infer compute #1131 documents the CLI's compute.yaml and infer compute commands, which this page links to.

Acceptance Criteria

  • The Settings table lists the Compute tab.
  • A Compute section documents clusters, Detect clusters, Provision local cluster, the per-cluster check and the session total.
  • The Workspaces section documents the Cluster picker, "Its own connection", the per-workspace badge and the compute example, and no longer hosts Detect clusters or Provision local cluster.
  • Agent computers and Moving a chat say where a computer's cluster and provider keys come from.
  • No tracker numbers or links in the doc content, per the repo's AGENTS.md.

Activity

  1. added
    documentation
    on Nov 8, 2026
  2. added theissue type on Nov 8, 2026
  3. moved this to Todo in 2026on Nov 8, 2026
  4. edenreich commented on Nov 8, 2026

    @edenreich
    ContributorAuthor

    @claude can you document this? use /ponytail:ponytail check for all the relevant code first before documenting.

  5. inference-gateway-maintainer commented on Nov 8, 2026

    @inference-gateway-maintainer
    Contributor

    Claude finished @edenreich's task in 4m 53s —— View job • docs/issue-1132-20261108-1958 • [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-1132-20261108-1958?quick_pull=1&title=Issue%20%231132%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%231132%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Documented the desktop Compute tab

    • Tracked on the Roadmap board (In progress -> QA)
    • Read the desktop implementation: ComputeTab.tsx, WorkspacesTab.tsx, ClusterParts.tsx, cluster-form.ts, compute_settings.rs, workspace_settings.rs, local_cluster.rs
    • Confirmed cli.md already documents compute.yaml and infer compute, so the page links /cli/#compute
    • Settings table lists Compute before Workspaces
    • New Compute section: the cluster form and its compute.yaml keys, provider keys as names reaching the cluster's one shared gateway, a rename moving its workspaces along, a cluster in use refusing deletion, Detect clusters, Provision local cluster with its stages, the per-cluster prerequisites check, the cluster's session total, the restart notice, and the notice plus disabled actions on an infer without compute support
    • Workspaces section: the Cluster picker and Its own connection, Type / Kubernetes context / Namespace / Provider keys marked as own-connection only, the badge counting the workspace's own sessions, the compute example with compute.yaml beside it, and Detect clusters / Provision local cluster / the prerequisites table now pointed at Compute
    • Agent computers and Moving a chat say where a computer's cluster and provider keys come from
    • No tracker numbers or links in the doc content
    • bun run lint:md, bun run format:check, bun run build all clean
    • Committed and opened #1141

    Only desktop.md changed (+89/-38). One judgement call: I left the ~/.infer layout table alone, since it does not list daemon.yaml either, so adding only compute.yaml there would read oddly - say the word and I will add both rows.

    I did not run the desktop app itself, so the wording follows the code and its tests rather than a live screen - the UI strings I quote (the unsupported-CLI notice, the detect notice) are copied verbatim from the source. The missing-key error I quote in Moving a chat still says Settings > Workspaces in the app even for a workspace on a cluster, so the doc keeps it verbatim while explaining the key belongs to the cluster.
    | Branch docs/issue-1132-20261108-1958

  6. moved this from Todo to In progress in 2026on Nov 8, 2026
  7. moved this from In progress to QA in 2026on Nov 8, 2026
  8. inference-gateway-releaser commented on Nov 8, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.24 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

  9. moved this from QA to Done in 2026on Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions