Skip to content

[DOCS] Operator install pages miss Gateway API CRDs and namespace label #790

Closed

Description

Summary

The operator README had two gaps that made its quick start non-functional, fixed in inference-gateway/operator#258. The same prerequisites likely apply to the operator pages on this docs site, so they should be checked and updated.

  1. The operator needs the Kubernetes Gateway API standard-channel CRDs even when Gateway API routing is never used - it watches gateway.networking.k8s.io/v1 Gateway and HTTPRoute, and without those CRDs the manager fails its cache sync and the pod CrashLoopBackOffs. install.yaml does not bundle them; install with: kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.5.1/standard-install.yaml
  2. The shipped operator Deployment sets WATCH_NAMESPACE_SELECTOR=inference-gateway.com/managed=true, so Gateway, Agent, MCP and GPU resources are only reconciled in namespaces carrying that label (Orchestrator is not filtered). Users must run: kubectl label namespace inference-gateway.com/managed=true - clearing the variable makes the operator watch all namespaces.

Also worth mirroring: the operator Deployment is named operator-inference-gateway with a single operator container (1/1), and install.yaml ships five CRDs (agents, gateways, gpus, mcps, orchestrators in core.inference-gateway.com).

Related PR: inference-gateway/operator#258

Acceptance Criteria

  • Operator installation page lists the Gateway API standard-channel CRDs as a hard prerequisite with the install command
  • Operator pages explain the inference-gateway.com/managed=true namespace label requirement and the WATCH_NAMESPACE_SELECTOR scope override
  • Any operator verification snippets use deployment/operator-inference-gateway, a 1/1 pod and the full five-CRD list

Activity

  1. added
    documentation
    on Sep 25, 2026
  2. added theissue type on Sep 25, 2026
  3. edenreich commented on Sep 25, 2026

    @edenreich
    Contributor

    @infer can you work on this? use /ponytail:ponytail

  4. moved this to Todo in 2026on Sep 25, 2026
  5. inference-gateway-maintainer commented on Sep 25, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Model: ollama_cloud/glm-5.3-flash · View Job

    Todos

    Pull Request

    #798

    ✅ Infer Result: Success

    Done. All work is committed, pushed, and validated - the PR is open and ready for review.

    PR: #798 (docs(operator): document gateway api crd prerequisite and namespace scoping)

    What changed in operator.md (single file, +39/-1):

    • Installation: added the Kubernetes Gateway API standard-channel CRDs as a hard prerequisite - the operator watches gateway.networking.k8s.io/v1 Gateway/HTTPRoute regardless of whether routing is used, and without the CRDs the manager fails cache sync and CrashLoopBackOffs. Includes the v1.5.1 standard-install.yaml command and notes install.yaml does not bundle them.
    • New "Namespace scoping" section: explains WATCH_NAMESPACE_SELECTOR=inference-gateway.com/managed=true (Gateway/Agent/MCP/GPU only reconcile in labeled namespaces, Orchestrator is not filtered), the kubectl label namespace <ns> inference-gateway.com/managed=true command, and the scope override (WATCH_NAMESPACE_SELECTOR= empty watches all namespaces).
    • Verification: logs command now uses deployment/operator-inference-gateway, expected pod output is operator-inference-gateway-... 1/1 Running (single operator container), and the expected CRD list shows all five CRDs (agents, gateways, gpus, mcps, orchestrators under core.inference-gateway.com).

    Validation: bun run lint:md, bun run format:check, and bun run build all pass. Issue #790 is on the Roadmap 2026 board with Status = QA. No downstream repos affected - docs-only change, no release or image bumps involved.

    Model: ollama_cloud/glm-5.3-flash · Exit Code: 0 · Duration: 2m 43s

    Tokens: 830,633 in · 10,592 out · 841,225 total (20 requests)

    Tool calls: 32 total · 100% success rate

    Traces
    Session: 1790379809-216d444f
    
    session (headless, success)                                                                        2m35s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.4s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.4s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.4s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             3.4s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.4s
    ├── execute_tool Grep call_71bj2rbx                                                                 1.2s
    ├── execute_tool Read call_hc2p7pq2                                                                224µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.7s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.7s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.7s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             3.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.7s
    ├── execute_tool Read call_cpskmfs5                                                                519µs
    ├── execute_tool Bash call_e5xop4lw                                                                335ms
    ├── execute_tool Memory call_0nrg0csk                                                              134µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 6.2s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       6.1s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     6.1s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             6.1s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 6.1s
    ├── execute_tool Bash call_d60a43mv                                                                808ms
    ├── execute_tool Grep call_f005cyx7                                                                 1.3s
    ├── execute_tool Memory call_c58lkmjd                                                               80µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 9.8s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       9.8s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     9.8s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             9.8s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 9.8s
    ├── execute_tool TodoWrite call_5emuy6qy                                                            86µs
    ├── execute_tool Grep call_ss7wtajd                                                                 1.2s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.3s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.3s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.3s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.3s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.3s
    ├── execute_tool Bash call_9vb7k50c                                                                 53ms
    ├── execute_tool Memory call_e3s94zwl                                                               80µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.6s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.6s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.6s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.6s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.6s
    ├── execute_tool Bash call_7k3swueo                                                                 1.4s
    ├── execute_tool Bash call_7cunslzj                                                                369ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.2s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.2s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.2s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.2s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.2s
    ├── execute_tool Bash call_3mlel6kn                                                                 1.7s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.6s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.6s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.6s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             1.6s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.6s
    ├── execute_tool Bash call_fkpkskug                                                                824ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                28.8s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      28.7s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    28.7s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            28.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                28.7s
    ├── execute_tool TodoWrite call_phuopuxy                                                            92µs
    ├── execute_tool MultiEdit call_ec3v8nc0                                                           631µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.9s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.8s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.8s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.8s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.8s
    ├── execute_tool TodoWrite call_axrwf13q                                                            53µs
    ├── execute_tool Bash call_29xvaxh6                                                                 1.8s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.9s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.9s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.9s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             1.9s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.9s
    ├── execute_tool Bash call_ur39lvc0                                                                 4.7s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.5s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.5s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.5s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             1.5s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.5s
    ├── execute_tool Bash call_wkellg7u                                                                32.9s
    ├── chat ollama_cloud/glm-5.3-flash                                                                10.6s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      10.6s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    10.6s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            10.6s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                10.6s
    ├── execute_tool Bash call_7t9ub1g4                                                                  6ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.6s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.6s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.6s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             1.6s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.6s
    ├── execute_tool Bash call_fu2v4t19                                                                  6ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.2s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.2s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.2s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             3.2s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.2s
    ├── execute_tool Bash call_unj9cdhd                                                                 1.3s
    ├── execute_tool Write call_v4mugch4                                                               849µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.6s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.6s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.5s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             1.5s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.5s
    ├── execute_tool Bash call_dlsjz465                                                                 3.8s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.8s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.8s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.8s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.8s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.8s
    ├── execute_tool Bash call_ri3jc2pt                                                                 1.0s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.1s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.1s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.1s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.1s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.1s
    ├── execute_tool Bash call_uq0s48rb                                                                518ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.4s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.4s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.4s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             3.4s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.4s
    ├── execute_tool TodoWrite call_n6s8tnqs                                                            84µs
    ├── execute_tool Bash call_zxh6ubj6                                                                  5ms
    ├── execute_tool Bash call_bjxyxzm1                                                                332ms
    ╰── chat ollama_cloud/glm-5.3-flash                                                                 3.9s
        ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.9s
            ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.9s
                ╰── POST /proxy/:provider/*path [inference-gateway, server]                             3.9s
                    ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.9s
    
    Stats
    Tool Calls
    
    ╭───────────┬───────┬───────┬────────╮
    │ Tool      │ Calls │ Fail% │ Avg    │
    ├───────────┼───────┼───────┼────────┤
    │ Bash      │ 18    │ 0%    │ 2886ms │
    │ TodoWrite │ 4     │ 0%    │ 68µs   │
    │ Grep      │ 3     │ 0%    │ 1235ms │
    │ Memory    │ 3     │ 0%    │ 105µs  │
    │ Read      │ 2     │ 0%    │ 358µs  │
    │ Write     │ 1     │ 0%    │ 843µs  │
    │ MultiEdit │ 1     │ 0%    │ 615µs  │
    ╰───────────┴───────┴───────┴────────╯
    
    Token Usage
    
    ╭────────────────────────────┬────────┬────────┬────────────┬────────┬──────╮
    │ Model                      │ Prompt │ Cached │ Completion │ Total  │ Cost │
    ├────────────────────────────┼────────┼────────┼────────────┼────────┼──────┤
    │ ollama_cloud/glm-5.3-flash │ 830633 │ 604800 │ 10592      │ 841225 │ -    │
    ╰────────────────────────────┴────────┴────────┴────────────┴────────┴──────╯
    
    Sessions
    
    ╭───────────┬──────────┬──────────╮
    │ Execution │ Mode     │ Sessions │
    ├───────────┼──────────┼──────────┤
    │ headless  │ headless │ 1        │
    ╰───────────┴──────────┴──────────╯
    

    Triggered by edenreich · Infer Action · OSS

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

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.17 🎉

    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

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions