Skip to content

fix(storage): [backport v3.2] ensure model-cache init namespace has unbound DNS label in NVMesh path - #1304

Open
apartha-nv wants to merge 3 commits into
release-src/compute-plane-services/nvca/v3.2from
backport/1303-modelcache-nvmesh-unbound-dns-v3.2
Open

fix(storage): [backport v3.2] ensure model-cache init namespace has unbound DNS label in NVMesh path#1304
apartha-nv wants to merge 3 commits into
release-src/compute-plane-services/nvca/v3.2from
backport/1303-modelcache-nvmesh-unbound-dns-v3.2

Conversation

@apartha-nv

Copy link
Copy Markdown
Contributor

Customer Summary

Backport of #1303 to v3.2.

Fixes model-cache initialization for helm-chart functions on NVMesh clusters (e.g. forge/DGXC). Confirmed still reproducing on 3.2.15 — the samba-path fix from #1218 did not cover NVMesh clusters.

TL;DR

Cherry-pick of #1303 onto release-src/compute-plane-services/nvca/v3.2. Adds ensureCreated + ensureNamespaceLabels at doInitModelCacheNVMesh entry so the namespace gets WorkloadInstanceTypeLabel on NVMesh clusters.

Tickets

Backport of #1303. Follow-up to #1218. Relates to NO-REF.

@apartha-nv
apartha-nv requested a review from a team as a code owner August 28, 2026 08:58
@coderabbitai

coderabbitai Bot commented Aug 28, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (1)
  • main

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: d885a95e-25bb-4136-a29f-97cd3f9af112

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

…space at startup

The namespace is created once at NVCA startup in backendk8scache.go with
AlreadyExists-is-success and no patch, so pre-existing namespaces on
upgraded clusters never received WorkloadInstanceTypeLabel regardless of
backend -- the samba-path fix (#1116) only applied during a model-attached
deploy and only for the samba backend.

Add ensureModelCacheNamespaceLabel immediately after the Create call in
backendk8scache.go. It runs on every NVCA restart via JSON patch 'add'
(idempotent: inserts when absent, updates when present), so upgraded
clusters receive the label immediately without needing a model-attached
helm deploy to trigger reconciliation.

The samba path's ensureNamespaceLabels remains as belt-and-suspenders
for the case where samba creates the namespace itself.

Relates to NO-REF
@apartha-nv
apartha-nv force-pushed the backport/1303-modelcache-nvmesh-unbound-dns-v3.2 branch from 0798ab0 to e1116ad Compare August 28, 2026 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant