kubernetes / node-problem-detector

This is a place for various problem detectors running on the Kubernetes nodes.
Apache License 2.0
2.85k stars 616 forks source link

arm64 container contains amd64 binary #850

Closed joejulian closed 6 months ago

joejulian commented 6 months ago

The manifest for registry.k8s.io/node-problem-detector/node-problem-detector:v0.8.14 has registry.k8s.io/node-problem-detector/node-problem-detector@sha256:38ddabcad5a96bfb4af3bf6e61348198f7da4441b08a17c9ad0ea9bdb3a8689a as the arm64 container.

"mediaType": ["application/vnd.docker.distribution.manifest.v2+json"](https://github.com/opencontainers/image-spec/blob/main/manifest.md),
"size": 1488,
"digest": "[sha256:38ddabcad5a96bfb4af3bf6e61348198f7da4441b08a17c9ad0ea9bdb3a8689a](https://explore.ggcr.dev/?image=registry.k8s.io/node-problem-detector/node-problem-detector@sha256:38ddabcad5a96bfb4af3bf6e61348198f7da4441b08a17c9ad0ea9bdb3a8689a&mt=application%2Fvnd.docker.distribution.manifest.v2%2Bjson&size=1488)",
"platform": {
"architecture": "arm64",
"os": "linux"

If I pull, save, untar, and examine the binary from that container, it's an amd64 binary:

node-problem-detector: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=bd9bd59069612b94e84e1c60d73ebf61d618cd44, for GNU/Linux 3.2.0, with debug_info, not stripped
joejulian commented 6 months ago

Fixed in v0.8.15