Skip to content

[DOCS] Document the GPU CRD (cloud GPU inference runtimes) #439

Closed

Description

Summary

The operator now ships a new namespaced GPU custom resource (core.inference-gateway.com/v1alpha1) that leases externally hosted, GPU-backed inference runtimes via a pluggable provider interface (RunPod first). The Kubernetes cluster acts as the control plane only; the provider returns a ready HTTP inference endpoint and the operator publishes a connection Secret.

This is a user-facing feature and needs a documentation page.

Implementation PR: inference-gateway/operator#164 (Closes inference-gateway/operator#163).

Affected pages

  • Operator CRD reference: add a GPU section (spec fields: provider, credentialsRef, image, command, gpuTypes, endpoint.port, endpoint.readinessPath, maxRuntime; status: phase, instanceID, url, connectionSecretRef, startedAt, expiresAt, Ready condition).
  • A short guide covering the lifecycle (Pending -> Provisioning -> Starting -> Ready -> Terminating -> Expired, plus Failed), that Ready=True requires the HTTP readinessPath to respond, and that maxRuntime is required and leaves the resource in Expired with no automatic reprovision.
  • How a Gateway consumes the generated <name>-connection Secret through provider env / secretKeyRef (mirror examples/gpu in the operator repo). Note the per-allocation apiKey token is generated by the operator and is not the provider management key.

Acceptance Criteria

  • GPU CRD spec/status fields documented in the CRD reference.
  • Lifecycle, readiness semantics, and maxRuntime/Expired behavior documented.
  • Example showing a Gateway consuming the connection Secret via secretKeyRef.

Activity

  1. added
    documentation
    on Jul 19, 2026
  2. moved this from Todo to In progress in 2026on Jul 20, 2026
  3. moved this from In progress to QA in 2026on Jul 21, 2026
  4. edenreich commented on Jul 22, 2026

    @edenreich
    Contributor

    @infer Can you work on this?

  5. inference-gateway-maintainer commented on Jul 22, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Model: ollama_cloud/deepseek-v4-flash · View Job

    Todos

    • Create working branch fix/issue-439 and push
    • Add issue to project board and set Status to In progress
    • Create GPU CRD documentation page (gpu.md)
    • Add GPU page to sidebar navigation in config.ts
    • Validate with lint, format, and build checks
    • Commit, push, and open draft PR

    Pull Request

    #458

    ✅ Infer Result: Success

    Everything is in order - clean tree, no ahead commits, PR #458 is open and viewable. The project board status update to "QA" was blocked by a transient API rate limit, but the issue was already added to the board.

    Model: ollama_cloud/deepseek-v4-flash · Exit Code: 0 · Duration: 3m 20s

    Tokens: 2,879,677 in · 10,913 out · 2,890,590 total (44 requests)

    Tool calls: 57 total · 88% success rate

    Traces
    Session: 1784723756-431e00d7
    
    session (standard, success)                 3m19s
    ├── chat ollama_cloud/deepseek-v4-flash      3.4s
    ├── execute_tool TodoWrite call_3uujhh8v    348µs
    ├── chat ollama_cloud/deepseek-v4-flash      4.1s
    ├── execute_tool Tree call_j49vo04x           2ms
    ├── execute_tool Bash call_g9vhqqr6         445ms
    ├── execute_tool Bash call_gki8zdax         456ms
    ├── chat ollama_cloud/deepseek-v4-flash      2.2s
    ├── execute_tool Read call_mw8g7tpn         656µs
    ├── chat ollama_cloud/deepseek-v4-flash      2.6s
    ├── execute_tool Bash call_tafo3z6v           3ms
    ├── execute_tool Read call_45v929cl         339µs
    ├── chat ollama_cloud/deepseek-v4-flash      6.4s
    ├── execute_tool Read call_45wt0iv8         376µs
    ├── chat ollama_cloud/deepseek-v4-flash      4.4s
    ├── chat ollama_cloud/deepseek-v4-flash      7.0s
    ├── chat ollama_cloud/deepseek-v4-flash      2.1s
    ├── execute_tool Bash call_v0g0thq1         362ms
    ├── chat ollama_cloud/deepseek-v4-flash      7.2s
    ├── execute_tool Bash call_8rgd5c1u         458ms
    ├── chat ollama_cloud/deepseek-v4-flash     10.9s
    ├── execute_tool TodoWrite call_h9shnx4a     57µs
    ├── chat ollama_cloud/deepseek-v4-flash      2.0s
    ├── execute_tool Bash call_uy6d12m9           3ms
    ├── chat ollama_cloud/deepseek-v4-flash      2.7s
    ├── chat ollama_cloud/deepseek-v4-flash      3.6s
    ├── execute_tool Bash call_683kzjfk          50ms
    ├── chat ollama_cloud/deepseek-v4-flash      1.8s
    ├── execute_tool Bash call_bns1un1e          1.4s
    ├── chat ollama_cloud/deepseek-v4-flash      2.5s
    ├── execute_tool TodoWrite call_23cf6l9c     66µs
    ├── chat ollama_cloud/deepseek-v4-flash      3.1s
    ├── execute_tool Bash call_cuu5l4y3           3ms
    ├── chat ollama_cloud/deepseek-v4-flash      1.7s
    ├── execute_tool Bash call_96hubyfe         375ms
    ├── chat ollama_cloud/deepseek-v4-flash      1.7s
    ├── execute_tool Bash call_hlk95dda          1.7s
    ├── chat ollama_cloud/deepseek-v4-flash      2.2s
    ├── execute_tool Bash call_7voixejo         686ms [error: tool_error]
    ├── chat ollama_cloud/deepseek-v4-flash      2.5s
    ├── execute_tool Bash call_nw5cinua          32ms [error: tool_error]
    ├── chat ollama_cloud/deepseek-v4-flash      2.5s
    ├── execute_tool Bash call_bbcyhqv5          31ms [error: tool_error]
    ├── chat ollama_cloud/deepseek-v4-flash      2.2s
    ├── chat ollama_cloud/deepseek-v4-flash      7.0s
    ├── execute_tool TodoWrite call_m826do3f     64µs
    ├── chat ollama_cloud/deepseek-v4-flash     13.6s
    ├── execute_tool Write call_2psl1jyd         10ms
    ├── chat ollama_cloud/deepseek-v4-flash      2.8s
    ├── execute_tool TodoWrite call_ha46yxff     64µs
    ├── chat ollama_cloud/deepseek-v4-flash      2.0s
    ├── execute_tool Read call_6mz22gpp         176µs
    ├── chat ollama_cloud/deepseek-v4-flash      1.9s
    ├── execute_tool Edit call_b6pva3f3         535µs
    ├── chat ollama_cloud/deepseek-v4-flash      3.2s
    ├── execute_tool TodoWrite call_e7guhn4l     65µs
    ├── chat ollama_cloud/deepseek-v4-flash      3.2s
    ├── execute_tool Bash call_p010kph3          3.7s [error: tool_error]
    ├── execute_tool Bash call_99biorpi          1.7s
    ├── chat ollama_cloud/deepseek-v4-flash      2.0s
    ├── execute_tool Bash call_fogdkf0i           3ms [error: tool_error]
    ├── chat ollama_cloud/deepseek-v4-flash      4.8s
    ├── execute_tool Bash call_c9am4ngf          3.2s
    ├── chat ollama_cloud/deepseek-v4-flash      2.8s
    ├── execute_tool Bash call_s012a4oi         19.9s
    ├── execute_tool Bash call_85v0yf31          4.0s
    ├── chat ollama_cloud/deepseek-v4-flash      2.7s
    ├── execute_tool TodoWrite call_sowrbap8     89µs
    ├── chat ollama_cloud/deepseek-v4-flash      2.0s
    ├── execute_tool Bash call_ec8id5xc           4ms
    ├── chat ollama_cloud/deepseek-v4-flash      8.0s
    ├── execute_tool Bash call_lgilgsy4           7ms
    ├── chat ollama_cloud/deepseek-v4-flash      2.1s
    ├── execute_tool Bash call_xv5nkgs2          1.3s
    ├── chat ollama_cloud/deepseek-v4-flash      3.4s
    ├── execute_tool Write call_583mabdq        761µs
    ├── chat ollama_cloud/deepseek-v4-flash      2.3s
    ├── execute_tool Bash call_ltk3cove          1.6s
    ├── chat ollama_cloud/deepseek-v4-flash      2.5s
    ├── execute_tool Bash call_uqkd92oc         766ms [error: tool_error]
    ├── chat ollama_cloud/deepseek-v4-flash      2.7s
    ├── execute_tool Bash call_wf8rwsx9         464ms
    ├── execute_tool Bash call_enzvem8u           5ms
    ├── execute_tool Bash call_ocb195r3           5ms
    ├── chat ollama_cloud/deepseek-v4-flash      2.6s
    ├── execute_tool TodoWrite call_m8mr7dqe     77µs
    ├── chat ollama_cloud/deepseek-v4-flash      2.3s
    ├── chat ollama_cloud/deepseek-v4-flash      3.7s
    ├── execute_tool Bash call_l1zatfhi         790ms [error: tool_error]
    ├── chat ollama_cloud/deepseek-v4-flash      2.0s
    ╰── chat ollama_cloud/deepseek-v4-flash      1.9s
    
    Stats
    Tool Calls
    
    ╭───────────┬───────┬───────┬────────╮
    │ Tool      │ Calls │ Fail% │ Avg    │
    ├───────────┼───────┼───────┼────────┤
    │ Bash      │ 29    │ 24%   │ 1492ms │
    │ TodoWrite │ 8     │ 0%    │ 0ms    │
    │ Read      │ 4     │ 0%    │ 0ms    │
    │ Write     │ 2     │ 0%    │ 5ms    │
    │ Tree      │ 1     │ 0%    │ 2ms    │
    │ Edit      │ 1     │ 0%    │ 0ms    │
    ╰───────────┴───────┴───────┴────────╯
    
    Token Usage
    
    ╭────────────────────────────────┬─────────┬────────┬────────────┬─────────┬──────╮
    │ Model                          │ Prompt  │ Cached │ Completion │ Total   │ Cost │
    ├────────────────────────────────┼─────────┼────────┼────────────┼─────────┼──────┤
    │ ollama_cloud/deepseek-v4-flash │ 2963770 │ 0      │ 10951      │ 2974721 │ -    │
    ╰────────────────────────────────┴─────────┴────────┴────────────┴─────────┴──────╯
    
    Sessions
    
    ╭───────────┬──────────┬──────────╮
    │ Execution │ Mode     │ Sessions │
    ├───────────┼──────────┼──────────┤
    │ headless  │ standard │ 1        │
    ╰───────────┴──────────┴──────────╯
    
    ⚠️ 7 log(s)
    • Bash:
      exit status 1: GraphQL: API rate limit exceeded for installation ID 96918069.
      
    • Bash:
      exit status 1: accepts at most 1 arg(s), received 2
      
    • Bash:
      exit status 1: accepts at most 1 arg(s), received 2
      
    • Bash:
      exit status 1: $ prettier --check .
      Checking formatting...
      … (truncated)
      
    • Bash:
      exit status 127: bash: line 1: prettier: command not found
      
    • Bash:
      exit status 1: GraphQL: API rate limit exceeded for installation ID 96918069.
      
    • Bash:
      exit status 1: GraphQL: API rate limit exceeded for installation ID 96918069.
      

    Triggered by edenreich · Infer Action

  6. moved this from QA to Done in 2026on Jul 22, 2026
  7. inference-gateway-releaser commented on Jul 22, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.3 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

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

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions