Skip to content
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

Feature request: Add input for microk8s dockerhub mirror configuration #62

Closed
yhaliaw opened this issue Dec 11, 2023 · 3 comments
Closed

Comments

@yhaliaw
Copy link
Contributor

yhaliaw commented Dec 11, 2023

When running many self-hosted runners on a server, installing microk8s can hit the rate-limit on Dockerhub for an account, as microk8s will be downloading images during installation.

One method to bypass this is with a private docker registry that acts as a dockerhub mirror

The microk8s allows for using private docker registry as dockerhub mirror:

https://microk8s.io/docs/dockerhub-limits#h-3-use-a-private-image-registry-to-mirror-dockerhub-5

This setting will need to be setup after the installation of microk8s.

This feature request propose a input option for the workflow that takes the URL of dockerhub mirror. The workflow would then setup microk8s according to the link above after installation.

@yhaliaw
Copy link
Contributor Author

yhaliaw commented Dec 11, 2023

I have forked this repo and add a branch for a drafted version of the changes:
https://github.com/yhaliaw/actions-operator/tree/microk8s-docker-registry

@yhaliaw
Copy link
Contributor Author

yhaliaw commented Dec 12, 2023

I have put together a PR for this: #63

@addyess
Copy link
Member

addyess commented Dec 14, 2023

with #63 merged, this issue is now closed

@addyess addyess closed this as completed Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants