-
Notifications
You must be signed in to change notification settings - Fork 88
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
Helm chart: add gateway.backend.imagePullSecrets #606
Conversation
cdd54ec
to
535bc92
Compare
535bc92
to
b3a8d6a
Compare
dask-gateway-server/dask_gateway_server/backends/kubernetes/controller.py
Outdated
Show resolved
Hide resolved
Thanks @maxime1907! Note though that you have opened a PR, and there is already another PR about this opened. As #583 currently doesn't have the key part of the PR, making the controller Python logic create the scheduler and worker pods based on the configuration. Let's go for getting this PR merged. |
Also, I see that there is descriptions in the schema file about |
dask-gateway-server/dask_gateway_server/backends/kubernetes/backend.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the suggested changes, this LGTM.
@maxime1907 I applied the change suggestions, if this looks good to you, let's go for a merge! |
Thank you a lot!! |
Thank you @maxime1907, @chadsr, and @szachovy for your contributions towards this!!! ❤️ 🎉 🌻 |
Proposal
Currently, dask-gateway retrieves images that are hosted on public registries.
This behavior is fine but if we want to use private registries, it is only possible through
worker_extra_pod_config
andscheduler_extra_pod_config
.I have then tought of a way to implement it properly without introducing any breaking change.
Implementation
KubeClusterConfig
configuration field calledimage_pull_secrets
that lets dask scheduler and worker pods to pull images from private registries.image_pull_secrets
thanks to the following field:imagePullSecrets
: Image pull secrets to access private registriesBehind the scene
From the user and dask operator POV, it doesn't have any impact on the current behavior of dask-gateway.