Skip to content

Conversation

@NoaheCampbell
Copy link
Contributor

What this PR does / why we need it:

Adds optional architecture field to the embedded cluster config spec, where the expected values to be given are x86_64 and/or aarch64 where all the values included are supported architectures, and having both indicates the application can be on either architectures, not both. If the field is empty or not included, the intended behavior is to assume x86_64 as the architecture.

Does this PR require a test?

NONE

Does this PR require a release note?

NONE

Does this PR require documentation?

NONE

@github-actions
Copy link

github-actions bot commented Nov 11, 2025

This PR has been released (on staging) and is available for download with a embedded-cluster-smoke-test-staging-app license ID.

Online Installer:

curl "https://staging.replicated.app/embedded/embedded-cluster-smoke-test-staging-app/ci/appver-dev-887d2d8" -H "Authorization: $EC_SMOKE_TEST_LICENSE_ID" -o embedded-cluster-smoke-test-staging-app-ci.tgz

Airgap Installer (may take a few minutes before the airgap bundle is built):

curl "https://staging.replicated.app/embedded/embedded-cluster-smoke-test-staging-app/ci-airgap/appver-dev-887d2d8?airgap=true" -H "Authorization: $EC_SMOKE_TEST_LICENSE_ID" -o embedded-cluster-smoke-test-staging-app-ci.tgz

Happy debugging!

// If omitted, x86_64 is assumed for backward compatibility.
// +kubebuilder:validation:Optional
// +listType=set
Architecture []Architecture `json:"architecture,omitempty"`
Copy link
Member

Choose a reason for hiding this comment

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

should the EC lint command be updated? i can easily see users misspelling this :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For sure, I can expand the EC lint command to cover this new field and make sure if anything is included with architecture, its either aarch64/amd64 or x86_64/amd64


const (
ArchitectureAarch64 Architecture = "aarch64"
ArchitectureX8664 Architecture = "x86_64"
Copy link
Member

Choose a reason for hiding this comment

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

since we're using amd64 all over the codebases, let's just stick with that name instead of X8664? this is a product facing change though, so @ajp-io might have a different opinion.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@marccampbell weighed in early on to express that we should use x86_64 and aarch64 instead of amd64 and arm64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants