Skip to content

Update arch check to use node arch and not local arch - #62

Merged
HacksonClark merged 2 commits into
mainfrom
remote-arch
Apr 24, 2025
Merged

HacksonClark merged 2 commits into
mainfrom
remote-arch

Conversation

@HacksonClark

@HacksonClark HacksonClark commented Apr 24, 2025 •

Copy link
Copy Markdown
Collaborator

Closes #61

There's a bug using a remote cluster since we check for CPU architecture locally instead of on the cluster. So, if you deploy from MacOS running arm, is_arm would be true
despite the remote cluster running amd64.

I've updated the arm check to check on the node, tested on both kind and cloudlab to validate.

@yimingsu01 yimingsu01 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

looks great

@HacksonClark
HacksonClark merged commit 5e8d648 into main Apr 24, 2025
@HacksonClark
HacksonClark deleted the remote-arch branch April 24, 2025 17:48
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.

is_arm check fails when using remote cluster with different architecture

2 participants