Skip to content

Build the locust image for the cluster's architecture - #543

Closed
Chuang Wang (chuangw6) wants to merge 2 commits into
mainfrom
bench/locust-image-platform
Closed

Build the locust image for the cluster's architecture#543
Chuang Wang (chuangw6) wants to merge 2 commits into
mainfrom
bench/locust-image-platform

Conversation

@chuangw6

@chuangw6 Chuang Wang (chuangw6) commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

build_and_push.sh ran docker build with no --platform, so an arm64
workstation produced an arm64 image while GKE nodes (c3-standard-4) are
amd64. The push succeeds and nothing fails until the kubelet pulls, two
steps later:

no match for platform in manifest: not found

Default to linux/amd64, overridable via LOCUST_IMAGE_PLATFORM for arm64
node pools (T2A, Axion).

Verified: pushed manifest reports linux/amd64 and the locust pod reaches
3/3 Running.

Stacked on #542.

The Deployment in manifests/ate-install/atenet-dns.yaml is named "dns",
while every other resource in that file is named "atenet-dns". The
rollout check waited on deployment/atenet-dns, so --deploy-atenet exited
non-zero with

  Error from server (NotFound): deployments.apps "atenet-dns" not found

on every otherwise successful deploy, after the router rollout had
already been confirmed.
docker build defaults to the build host's platform. On an Apple Silicon
workstation that produces an arm64 image, the push succeeds, and nothing
complains until the kubelet on an amd64 node reports

  no match for platform in manifest: not found

two steps later, which reads like a registry or IAM problem rather than
a build one.

Pin the build to linux/amd64, overridable via LOCUST_IMAGE_PLATFORM for
arm64 node pools (T2A, Axion).
@chuangw6

Copy link
Copy Markdown
Collaborator Author

Reopening from my fork instead of a branch on this repo. No content change.

@chuangw6
Chuang Wang (chuangw6) deleted the bench/locust-image-platform branch July 27, 2026 23:55
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.

1 participant