Kubernetes / Pods, Containers & Application Health
Investigate exec format error through image and node architecture
An image may pull successfully yet fail to execute because its binary or entrypoint does not match the node platform.
Environment and inputs: Kubernetes · kubectl with supported client/server versions and delegated RBAC. Examples use namespace app unless noted. Check context, namespace, APIs and provider support first.
Start with this check
Check which system and tools you are using. Replace example objects, namespaces, images, file paths and hosts with approved values. Remove sensitive information before sharing output. Follow the application owner’s process for changes.
kubectl get nodes -L kubernetes.io/arch,kubernetes.io/os
What the results mean
The labels identify reported node operating systems and architectures. They do not inspect every binary packaged inside an image.
Fix the cause and check again
Compare the scheduled node with the image's verified platform manifests and executable format. Build or select the supported artifact and test on the intended platform.
Before changing production
Do not force placement onto an incompatible node or download an untrusted binary to patch a running container.