Skip to content

v1.32.6 amd64 version is actually mismatched aarch64 compiled #9226

@majorgearhead

Description

@majorgearhead

Which component are you using?:
cluster-autoscaler

What version of the component are you using?:
1.32.6

What k8s version are you using (kubectl version)?:
v1.32.11-eks-ac2d5a0

kubectl version Output
$ kubectl version
Client Version: v1.35.0
Kustomize Version: v5.7.1
Server Version: v1.32.11-eks-ac2d5a0

What environment is this in?:
AWS

What did you expect to happen?:
amd64 version

What happened instead?:
aarch64

How to reproduce it (as minimally and precisely as possible):
This particular image has the wrong arch. When you grab the image digest for the image that is supposed to be amd64, but it is aarch64. Example:

docker pull --platform linux/amd64 registry.k8s.io/autoscaling/cluster-autoscaler:v1.32.6
docker create --platform linux/amd64 --name=ca-326 registry.k8s.io/autoscaling/cluster-autoscaler:v1.32.6
docker cp ca-326:/cluster-autoscaler /tmp/ca-326
file /tmp/ca-326
docker rm ca-326
v1.32.6: Pulling from autoscaling/cluster-autoscaler
Digest: sha256:b0464887f7b235a3bbc4ca5d97a66bf8374b3248088fdb3426d11b86ef529c0c
Status: Image is up to date for registry.k8s.io/autoscaling/cluster-autoscaler:v1.32.6
registry.k8s.io/autoscaling/cluster-autoscaler:v1.32.6
8de595856673e94e001c55ffb029d49fb4a20dc903d3036b57af1b08890182e1
Successfully copied 229MB to /tmp/ca-326
/tmp/ca-326: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, Go BuildID=dntJq3-MXgj4QtlHtHOt/hRsgSTfyoaisDXlqDWXz/QLQZfh2hZURTmSbLkILA/vIAntJEDx135zK657bBL, with debug_info, not stripped
ca-326

Pulling x86, but getting aarch64.

Now if I test one version back it is proper:

docker pull --platform linux/amd64 registry.k8s.io/autoscaling/cluster-autoscaler:v1.32.5
docker create --platform linux/amd64 --name=ca-325 registry.k8s.io/autoscaling/cluster-autoscaler:v1.32.5
docker cp ca-325:/cluster-autoscaler /tmp/ca-325
file /tmp/ca-325
docker rm ca-325
v1.32.5: Pulling from autoscaling/cluster-autoscaler
Digest: sha256:88a70723de230d2e151b1f1184c47cbbe62179a5abecd3a0da8ed882128d38c7
Status: Image is up to date for registry.k8s.io/autoscaling/cluster-autoscaler:v1.32.5
registry.k8s.io/autoscaling/cluster-autoscaler:v1.32.5
03fd41e7e0018f1df7ff9af2726919d7ef7e55644e6e908093cd611cd3c00792
Successfully copied 166MB to /tmp/ca-325
/tmp/ca-325: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=SPqsTd92i8U25R913Lty/gu95SqF8EsjbnyhSUe52/CKtinAZm7bZqwvhchc8p/fhWk6QWPCKMGnS--RDQX, stripped
ca-325

Anything else we need to know?:
I have tested the latest releases back to 1.25, and none appear to be broken except for 1.32.6

Version Architecture Status
v1.25.3 x86-64 Good
v1.26.8 x86-64 Good
v1.27.8 x86-64 Good
v1.28.7 x86-64 Good
v1.29.5 x86-64 Good
v1.30.7 x86-64 Good
v1.31.5 x86-64 Good
v1.32.6 ARM aarch64 Broken
v1.33.4 x86-64 Good
v1.34.3 x86-64 Good
v1.35.0 x86-64 Good

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions