Skip to content

feat(kubernetes): publish a managed OpenShift gateway through a pass-through Route - #14522

Merged
cv merged 2 commits into
v1from
cv/openshift-route
Nov 17, 2026
Merged

cv merged 2 commits into
v1from
cv/openshift-route

Conversation

@cv

@cv cv commented Nov 17, 2026

Copy link
Copy Markdown
Collaborator

A managed OpenShift gateway can be published at spec.gateway.endpoint through the OpenShell chart's own pass-through Route, with gateway.kubernetes.expose.route, so clients such as the OpenShell CLI reach it through the cluster's router. NemoClaw's own plan, apply and destroy keep their port forward, as with NodePort.

Problem

A managed OpenShift gateway could be published only through a NodePort Service (expose.service). Many OpenShift clusters reach workloads only through Routes, so users there had to run their own OpenShell gateway. The pinned chart (0.1.8, f3d97659) already creates a pass-through Route from openshiftRoute.enabled, host and annotations; NemoClaw passed none of them.

Resolves #14518

Change

  • expose takes route beside service; the schema requires exactly one. route takes optional annotations, which pass to the chart's openshiftRoute.annotations.
  • With route, the Helm values set openshiftRoute.enabled and host to the endpoint's host. The chart's Service stays ClusterIP, and the Route targets its grpc port with passthrough termination, so TLS and client certificates reach the gateway unchanged.
  • The certificate naming is shared with NodePort: pkiInitJob.serverDnsNames (or serverIpAddresses) names the endpoint's host for either exposure.
  • NemoClaw doesn't restrict the endpoint's port; it is whatever the router serves. The endpoint keeps the existing kubernetes.expose shape: an explicit port, such as :443.
  • Plan rejects expose.route unless gateway.runtime.provider is openshift, and the message names expose.service for other clusters.
  • Whether a Service or a Route publishes the gateway is fixed after the first plan, like the Service type; Route annotations can change, and Helm updates the Route in place.
  • The intent record moves to version 25.
  • A chart contract scenario renders the pinned chart with Route values: one passthrough Route for the endpoint's host to the release's Service and grpc port, the annotations, no NodePort or LoadBalancer Service, and the host in the certificate job.
  • The by-hand openshift-oidc live case now publishes its gateway through a Route, so its probe dials the Route's host through the router with the client certificate and token.
  • The Kubernetes guide, a Route example beside the NodePort one, the release notes, the reference and the live-test guide describe it. The OpenShift Route limits row that docs(limits): mark a managed gateway behind an ingress not planned #14519 added is removed.

Deliberately left out: rejecting an IP-address endpoint with route. The guide says to use a DNS name, because clients send no SNI host name for an IP address, but the schema accepts one, as the issue's "no endpoint restriction" decision reads.

Beyond CI

  • Unverified: a live Route on OpenShift. No OpenShift cluster was available, and CI has none; the closest CI check is the chart contract render above. The openshift-oidc case covers it when run by hand on OpenShift Local.
  • Unverified on OpenShift: the guide's RBAC note that applying needs routes and routes/custom-host in route.openshift.io, which OpenShift's admin and edit roles grant.

cv added 2 commits November 16, 2026 22:45
…through Route

gateway.kubernetes.expose.route has the OpenShell chart create its
pass-through Route for the endpoint's host, with optional annotations, on a
managed OpenShift gateway. The gateway certificate names the host, as with
NodePort, and NemoClaw's own commands keep their port forward.

Signed-off-by: Carlos Villela <[email protected]>
Signed-off-by: Carlos Villela <[email protected]>

# Conflicts:
#	docs/build-deploy/kubernetes.md
#	docs/resources/limits.md
@cv

cv commented Nov 17, 2026

Copy link
Copy Markdown
Collaborator Author
Authoring session — opening
Field Status Value Evidence or limit
Harness recorded Pi 1.5.2 (session format 3), Pit typescript tool Session header and the harness install path in the system prompt
Skills recorded write-tests (complete read); nemoclaw-contributor-create-pr (complete read) Tool reads in the record to the cutoff
Instruction files recorded AGENTS.md (injected); WRITING.md (complete read); internal-docs/contributing/configuration-schema.md (complete read); .github/PULL_REQUEST_TEMPLATE.md (complete read); .github/SESSION_REPORT_TEMPLATE.md (complete read) Startup project context and tool reads to the cutoff
Tool calls partial typescript: 95 (3 failed) Wrapper calls only, including failures; the typescript wrapper hides its nested shell, git, gh and file calls
Tokens recorded input: 13950539; cached input: 13730741; output: 72220 Sum of 95 assistant message.usage entries (input + cacheRead + cacheWrite; cacheRead; output) to the cutoff
Session window recorded 2026-11-17T05:20Z to 2026-11-17T05:59Z; 39 min First event to the last recorded event before the report, including idle time and background CI runs
Compactions recorded 0 No compaction entries; one context elision of absorbed tool results, which is not a compaction
Models recorded claude-opus-5-5 One model_change entry; no changes
Reasoning levels recorded high One thinking_level_change entry; no changes

@github-actions

Copy link
Copy Markdown
Contributor

@cv
cv enabled auto-merge (squash) November 17, 2026 06:12
@cv
cv merged commit 599fc0a into v1 Nov 17, 2026
66 of 67 checks passed
@cv
cv deleted the cv/openshift-route branch November 17, 2026 06:13
cv added a commit that referenced this pull request Nov 17, 2026
…#14523)

Plan now rejects an IP-address endpoint on a managed OpenShift gateway
published with `gateway.kubernetes.expose.route`, because the Route
could never serve it.

## Problem

#14522 sets the Route's host to `spec.gateway.endpoint`'s host. The
schema accepted an IP address there, such as `https://192.0.2.10:443`.
TLS clients send no SNI host name for an IP address, so the router can't
match the pass-through Route, and clients never reach the gateway. Plan
and apply still succeeded.

Follows #14522, part of #14518.

## Change

- A schema rule beside the "`route` requires OpenShift" rule rejects an
IPv4 endpoint host with `expose.route`. The error says a Route needs a
DNS name and that `expose.service` accepts an IP address.
- The exposure guard test uses a DNS endpoint for the Service and Route
pairs. A Route can no longer share the loopback endpoint that no
exposure requires, so the endpoint check refuses that change first.
- The guide states the rule instead of advising it. The `route` field
description, the parser checks, the release note, and the generated
schema and reference say the same.

Signed-off-by: Carlos Villela <[email protected]>
@cv cv added the v1 NemoClaw v1 branch label Nov 17, 2026
cv added a commit that referenced this pull request Nov 18, 2026
)

Adds a **Last verified** column to every table in [Current
Limits](https://github.com/NVIDIA/NemoClaw/blob/v1/docs/resources/limits.md),
so readers can see which `v1` commit each limit was last checked against
and what was checked, and rechecks every row against
[`cb8ef25`](https://github.com/NVIDIA/NemoClaw/tree/cb8ef25252ffffbca051787adb4711c96ebfcf28)
and its pins: OpenShell 0.1.9 (`ce58cf8e`), NeMo Fabric `135147a0`,
Hermes Agent `b200f5bc`, and OpenClaw 2026.9.34.

## Problem

The limits page didn't say when a row was last true, or against which
source tree. Pins move often (OpenShell 0.1.9 and Fabric `135147a0`
landed on 2026-11-17), so a reader couldn't tell a current limit from a
stale one. Two rows also linked issues that don't track them: the policy
DNS row linked an OpenShell issue closed today, and the StorageClass row
linked an issue about a different change.

## Change

- Every table gets a **Last verified** column. Each cell links the `v1`
commit the row was checked against, then keys for what was checked, such
as ``[`cb8ef25`](…): code, issue``. All rows checked here use `cb8ef25`,
the branch's merge base with `v1`. A short legend under the intro
explains the column and defines the keys: **code** (NemoClaw's source,
tests and E2E cases), **OpenShell**, **Fabric**, **Hermes** and
**OpenClaw** (the source or image that commit pins in its
`versions.json` and `image/fabric/Dockerfile`), **issue** (the linked
issues are open and no fix has landed in those pins), and **docs** (the
linked page). A row marked **not verified** names no commit.
- The source uses one reference-style link definition at the end of the
page; the docs build turns it into an inline link in each cell.
- Each row was checked against NemoClaw's code and tests, the pinned
upstream source (OpenShell's chart and server, Fabric's adapters and
runtime handle, Hermes's endpoint and context checks), and the linked
issues' state.

### Rows removed

None. Every row still holds on `v1` with today's pins.

### Rows narrowed or reworded

- **Podman beyond a local rootless Linux gateway**: "managed inference"
now reads "model services on the Podman host", and the row says a Podman
gateway can use one on a Docker host through [SSH
placement](https://github.com/NVIDIA/NemoClaw/blob/v1/docs/agents-inference/remote-service.md).
The vLLM and Ollama services take SSH Docker placement with a Podman
gateway, as
[`usage.md`](https://github.com/NVIDIA/NemoClaw/blob/v1/docs/build-deploy/usage.md#use-a-managed-podman-gateway)
already says.
- **LoadBalancer Service**: the row now says `expose.service` takes only
`NodePort`, which is why a LoadBalancer can't be selected; the chart's
reasons are unchanged.
- **`gateway.kubernetes.expose` on a cluster other than kind**: now says
this includes any OpenShift Route.
#14522 added `expose.route`, and
no Route has run live.
- **AMD64 Nemotron image and GPU inference**: now names and links [the
Nemotron example for an AMD64 GPU
host](https://github.com/NVIDIA/NemoClaw/blob/v1/docs/agents-inference/models.md#configure-nemotron-on-an-amd64-gpu-host).
- **Managed MCP servers**: now says NemoClaw passes the agent's `mcp`
section to Fabric but doesn't run the servers or grant them network
access or credentials.
- **OpenClaw with an `anthropic` provider**: drops "OpenShell 0.1.8 and
later", since the pin is 0.1.9, which still refuses the bearer header.

### Links fixed

- **Policy DNS expiry**: ai-openshell/openshell#4674
closed on 2026-11-18 when ai-openshell/openshell#5650
merged, after 0.1.9; the fix isn't in the pinned `ce58cf8e`. The row
stays, and its issue cell now says it's fixed after OpenShell 0.1.9 and
links the fix.
- **Gateway StorageClass**:
#13829 tracks the tagged
`target` change; its review defers chart-only settings such as
`server.dataStorageClass` to an issue that hasn't been filed. The cell
now reads "No open issue".
- Kept: "Not planned" links to
#14307 and
#12651, which record those
decisions, and the reference to
#13546 as the record of the
in-cluster vLLM run.

### Rows marked not verified

- **The headless OpenClaw request hasn't been rehearsed as written**:
checking it needs the
[procedure](https://github.com/NVIDIA/NemoClaw/blob/v1/docs/agents-inference/agents.md#run-one-headless-openclaw-request)
run as written against the applied first-deployment example, with an
OpenClaw image and a model.

## Beyond CI

No live run: each cell names the source or issue state it was checked
against.

---------

Signed-off-by: Carlos Villela <[email protected]>
@cv cv added this to the Roadmap: GTC DC 2026 milestone Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v1 NemoClaw v1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant