Repository navigation
fix(operator): refine DGDR v1beta2 API contracts - #3
Merged
ashnamehrotra merged 6 commits intoOct 13, 2026
Merged
ashnamehrotra merged 6 commits into
ashnamehrotra merged 6 commits into
Conversation
Signed-off-by: Dr. Stefan Schimanski <sschimanski@nvidia.com>
|
👋 Hi sttts! Thank you for contributing to ashnamehrotra/dynamo. Just a reminder: The 🚀 |
Signed-off-by: Dr. Stefan Schimanski <sschimanski@nvidia.com>
sttts
commented
Oct 13, 2026
Signed-off-by: Dr. Stefan Schimanski <sschimanski@nvidia.com>
Signed-off-by: Dr. Stefan Schimanski <sschimanski@nvidia.com>
Signed-off-by: Dr. Stefan Schimanski <sschimanski@nvidia.com>
Signed-off-by: Dr. Stefan Schimanski <sschimanski@nvidia.com>
ashnamehrotra
approved these changes
Oct 13, 2026
ashnamehrotra
merged commit Oct 13, 2026
b08ab81
into
ashnamehrotra:feat/dgdr-v1beta2-api
10 of 11 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ai-dynamo/dynamo#13603 introduces the experimental DGDR v1beta2 API, but several defaulting and lifecycle contracts do not match the intended AISimulate integration. It also adds a generic feature-gate parser for a single experimental API.
This follow-up:
--feature-gates=DGDRV1Beta2=...mechanism with the LPX-style--dgdr-v1beta2-enabledboolean anddynamo-operator.dgdrV1Beta2.enabledHelm valueworkload.static.requestCount; callers can set AISimulate's nativeparameters.workload.request_countwhen they need an absolute countobjectiveto theOptimizemode and SLA shape while leaving the conditionalThroughputPerGPUmetric to admissionhardware.gpu,hardware.gpu.sku, andhardware.gpu.budgetoptional so admission can complete partial hardware constraintsA request can combine the typed deployment intent with native AISimulate parameters:
A model-only request receives the following structural defaults before admission supplies
objective.metric: ThroughputPerGPUand discovers hardware:An explicit
objective.sla: {}orworkload.static: {}opts out of that nested default. Hardware can be omitted entirely or specified partially, for examplehardware: {gpu: {sku: h200_sxm}}; admission resolves only the missing effective values.Admission follow-up
The CRD already defaults
backends,workloadandworkload.static,objective.modeandobjective.sla, andrecommendation.maxCandidates. Admission owns the remaining defaults and validation:Defaulting
hardware.gpu.skuandhardware.gpu.budgetindependently. Preserve explicit typed or native hardware values and discover only what is absent.objective.metrictoThroughputPerGPUinOptimizemode. Leave it absent inParetomode.aisimulate.imagefrom operator configuration. Infer its compatibility version from a parseable tag unlessversionOverrideis present.aisimulate.parameterslast using JSON Merge Patch semantics. Nativenullremoves an underlay field.workload.request_count: 1000unless the effective input selectsnum_request_ratio. A native value overrides this default.goal.strict_slafrom the effective SLA bounds. Explicitobjective.sla: {}leaves it disabled.Validation
versionOverridewhen the compatibility version cannot be inferred, and reject incompatible AISimulate runner/image declarations before evaluation.parameters.goal. Distinguish explicit values from CRD defaults so defaults do not create false conflicts.RawExtensionobjects.Final candidates retain evaluation data without a redundant completion condition:
The request remains mutable. Run and candidate specs retain the immutability rules from ai-dynamo/dynamo#13603. Controllers own run progress and candidate metrics. The v1beta2 schemas remain disabled by default and unserved, so this does not add conversion behavior; enabling them now uses:
Related: ai-dynamo#13545, DGH-1426
Validation
make generate manifests generate-api-docs generate-helm-docsgo test ./cmd/crd-apply ./api/v1beta2with Kubernetes 1.30 envtest assetsmake testindeploy/helm/charts/platform(64 tests)