-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Multiarch support for registry addon #10780
Comments
/assign |
Hi @ilya-zuyev You will find that the registry itself is multi-arch (well, amd64/arm/arm64) but that the registry-proxy needs updating... https://hub.docker.com/_/registry?tab=tags It hasn't seen any updates since it was abandoned (in 2017) kubernetes/kubernetes@6f48d86 FROM nginx:1.11
RUN apt-get update \
&& apt-get install -y \
curl \
--no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/man /usr/share/doc
COPY rootfs /
CMD ["/bin/boot"] The registry version is the latest available (from 2019) https://github.com/docker/distribution I think it is on the same kind of "life support" as machine ? https://www.docker.com/blog/donating-docker-distribution-to-the-cncf/ It would be great if we could have a proper registry deployment one day, with storage and with certificates. See the old README https://docs.docker.com/registry/deploying/ But for now, we will continue to promote just using the container runtime on the control plane directly. |
Hi @afbjorklund! Thanks for info. We also want to test in this issue how our registry addon handles multi-arch images, including if it's possible to use it with |
@ilya-zuyev lets update the findings, with logs and current blockers |
It looks like we have work to do here: tested on Ubuntu 20.10 x86_64
Then:
ok, registry is started and serves API on local port 5000 Let's build some images:
Single arch works.
Let's try buildx:
although:
|
Probably, we need to serve HTTPS registry endpoint to make buildx happy. Currently, addon supports only HTTP |
this PP is availavble to pick up anyone interested I would accept A PR |
this issue is available to pick up |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
Does the 1.26 milestone assignment mean this may be fixed in 1.26? |
That would be correct, but it was something we planned on doing for this milestone, but other things took priority, I've removed the milestone from this issue. |
There seems to be another problem. I've tried adding an https reverse proxy to the registry addon using
The stunnel command is: docker run --network=host -itd --name minikube-registry-proxy \
-e STUNNEL_SERVICE=registry \
-e STUNNEL_ACCEPT=5001 \
-e STUNNEL_CONNECT=$(minikube ip):5000 \
-p 5001:5001 \
dweomer/stunnel |
if yes add integration test for multi arch
The text was updated successfully, but these errors were encountered: