-
Notifications
You must be signed in to change notification settings - Fork 100
Open
Description
Bug Description
We have a Registry Images check failing, despite the cluster we run the collector against actually being able to pull the image.
Expected Behavior
If the K8S cluster can pull the image, the registry image collector can pull the image and the check passes.
Steps To Reproduce
- Build a docker image
foo/my-multi-arch-image:latest
for the following architectures and push it to Dockerhublinux/arm64
linux/amd64
- Start a KinD cluster on a computer running with an Apple M1 Max chip
- Start a pod in the cluster that uses that image - observe that it is pulled successfully
- Run the following collector against the cluster:
apiVersion: troubleshoot.sh/v1beta2
kind: Preflight
metadata:
name: images-can-be-pulled
spec:
collectors:
- registryImages:
images:
- "foo/my-multi-arch-image:latest"
- Observe that the check fails as so:
{
"images": {
"foo/my-multi-arch-image:latest": {
"exists": false,
"error": "failed to get image manifest: choosing image instance: no image found in image index for architecture \"arm64\", variant \"v8\", OS \"darwin\""
}
}
}
Additional Context
Include the following information.
- Troubleshoot version: 0.114.0
- Operating system: macOs
- Operating system version: 15.2
- KinD: 0.26.0
- Kubernetes: 1.32.0
Metadata
Metadata
Assignees
Labels
No labels