feat: Add v1.2 schema support for custom and jumpstart inference endpoints#417
Merged
mollyheamazon merged 9 commits intoaws:mainfrom May 7, 2026
Merged
feat: Add v1.2 schema support for custom and jumpstart inference endpoints#417mollyheamazon merged 9 commits intoaws:mainfrom
mollyheamazon merged 9 commits intoaws:mainfrom
Conversation
ShreyaGangishetty
approved these changes
May 6, 2026
nargokul
reviewed
May 6, 2026
| "--gated-model-download-role", "arn:aws:iam::249127818294:role/gated-download", | ||
| "--model-hub-name", "SageMakerPublicHub", | ||
| ]) | ||
| assert result.exit_code == 0, result.output |
Collaborator
There was a problem hiding this comment.
I think we need a test that ensures full creation not just exit code
Collaborator
Author
There was a problem hiding this comment.
Added verification that the CR is actually created on the cluster after the CLI call — HPJumpStartEndpoint.get() / HPEndpoint.get() now confirms the resource exists in K8s. The exit code assert is kept for diagnostic output if creation
fails. Full field-by-field validation is in the subsequent test_verify_v12_fields_via_sdk test.
oyangz
approved these changes
May 7, 2026
nargokul
approved these changes
May 7, 2026
mollyheamazon
approved these changes
May 7, 2026
lucasjia-aws
approved these changes
May 7, 2026
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.
What's changing and why?
Adds v1.2 schema version for custom and jumpstart inference endpoints, introducing new fields supported by the latest inference operator CRD. Also includes bug fixes for template rendering, apiVersion, and schema validation.
New v1.2 features
replicas,initialReplicaCount,maxDeployTimeInSeconds,instanceTypes(list),tags,nodeAffinity,kubernetes(initContainers, volumes, schedulerName, serviceAccountName),dataCapture,loadBalancer,worker.probes,worker.requestLimits,worker.args,worker.command,worker.workingDir,metrics.metricsScrapeIntervalSeconds,metrics.modelMetrics,customCertificateConfig,dnsConfig--auto-scaling-spec,--probes,--kubernetes,--node-affinity,--data-capture,--tags)Bug fixes (template/schema)
apiVersionin v1.2 template (hyperpod.sagemaker.aws/v1→inference.sagemaker.aws.amazon.com/v1)k8s.yaml)schema.jsonfor certificate/DNS fieldsOther changes
space_access.pyBefore/After UX
Before: v1.2 schema didn't exist. Users were limited to v1.1 fields.
After: Users can use
--version 1.2(or init experience) to access all new operator features via CLI flags or SDK.