-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide multi-platform default backend image #10245
Comments
This issue is currently awaiting triage. If Ingress contributors determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This is stale, but we won't close it automatically, just bare in mind the maintainers may be busy with other tasks and will reach your issue ASAP. If you have any question or request to prioritize this, please reach |
/remove-lifecycle stale |
We need this too so if you guide me on what image you suggest to use as base and where to deploy it I would me more than happy to work on this issue |
We've been trying to consolidate the images we maintain, as it's a burden for us to maintain them all and keep them updated A solution to this issue would be to use the custom backend; we already produce these images as part of the release. |
Is this already multiarch?. If yes , for sure this can work for our use case. |
@strongjz I tested the following tag image: ingress-nginx/nginx-errors
tag: "v20230505" And is not working on arm instances. So even customised backend doesn't solve the arm compatibility problem. |
Based on https://github.com/kubernetes/ingress-nginx/blob/e00b45beb567e6d65bb5aae6941c351e17345982/images/custom-error-pages/rootfs/Dockerfile seems that the dockerfile doesn't need any change to become multiarch. So probably just in the buildprocess need to be added the arm7, arm64 support. I didn't find where this is built though. |
following up the discussion here I opened a draft PR to update alpine version on custom-error-pages image and also to add arm64 builds. Do you think this approach is to the correct direction or do you think that we should take another route to solve the above problem? |
I just encountered the same issue trying to deploy If |
So cloudbuild should be building them on all the arch defined in the makefile and be pulled from registry.k8s.io the github action updated here are for pushing to docker hub, something were testing out. So we need to figure out why registry.k8s.io doesn't have the arch requested. And we need to talk as maintainers if these should go to dockerhub or not. |
The latest nginx-errors support arm, arm64, amd64, and s390x; what is the issue?
|
@strongjz Ok let me test this |
@strongjz The registry: registry.k8s.io
image: ingress-nginx/nginx-errors
tag: "v20231208-4c39e6acc" which is the same with the sha you shared (more recent) worked as expected, so my PR on the build part is not relevant anymore. Thanks again for your support, really appreciated. |
Okay, I may have thought those versions were some kind of "beta", since the version I used previously was
Of these, only the first four seemed like proper "versions". I'll test pulling |
We switched all the images outside the controller image to use the date+sha since they can change at different paces than that controller itself. |
And you cant overwrite tags in registry.k8s.io, so if we needed to patch an image we cant bump them like we do for the controller. |
These are reasonable choices. But still I think that is needed to have a place to easily find/track the latest version for each image. |
@strongjz a SemVer version would be preferential if possible; could the image not be independently versioned? |
I'd like the Ingress NGINX project to provide a default backend image as the current image used is almost 5 years old, is only available in single platform versions and is no longer published.
I couldn't find an existing issue for this.
The text was updated successfully, but these errors were encountered: