Skip to content

fix(aws): propagate architecture in cluster mode#661

Merged
ArangoGutierrez merged 1 commit intoNVIDIA:mainfrom
ArangoGutierrez:fix/arm64-cluster-arch-propagation
Feb 13, 2026
Merged

fix(aws): propagate architecture in cluster mode#661
ArangoGutierrez merged 1 commit intoNVIDIA:mainfrom
ArangoGutierrez:fix/arm64-cluster-arch-propagation

Conversation

@ArangoGutierrez
Copy link
Copy Markdown
Collaborator

Summary

  • Pass Image.Architecture to resolveImageForNode in cluster mode (was always empty string, defaulting to x86_64)
  • Add documentation for arm64 instance type alternatives in API types

Test plan

  • go test ./pkg/provider/aws/... passes
  • golangci-lint run ./... passes
  • make check-modules passes

Pass Image.Architecture to resolveImageForNode instead of empty string.
Previously, cluster mode always defaulted to x86_64 regardless of
the user's image architecture specification.

Also add documentation for arm64 instance type alternatives in the
API type comments.

Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
Copilot AI review requested due to automatic review settings February 13, 2026 10:41
@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 21983837470

Details

  • 0 of 6 (0.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.05%) to 47.456%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/provider/aws/cluster.go 0 6 0.0%
Totals Coverage Status
Change from base Build 21955389842: -0.05%
Covered Lines: 2500
Relevant Lines: 5268

💛 - Coveralls

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves architecture handling in cluster mode by explicitly extracting and passing the architecture from the Image spec to the AMI resolution function. It also adds helpful documentation for arm64 instance type alternatives.

Changes:

  • Explicitly extract architecture from Image spec before passing to resolveImageForNode in cluster mode
  • Add documentation for arm64 Graviton instance type alternatives (m7g, c7g, g5g families) for both control plane and worker nodes
  • Remove duplicate +optional kubebuilder markers from InstanceType field comments

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
pkg/provider/aws/cluster.go Extract architecture from image spec before calling resolveImageForNode, making the code more explicit about architecture handling
api/holodeck/v1alpha1/types.go Add arm64 instance type documentation and remove duplicate +optional comments from InstanceType fields

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.

3 participants