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

cml runner launch --cloud-image with private container registry #1342

Closed
rickvanveen opened this issue Feb 6, 2023 · 2 comments
Closed

cml runner launch --cloud-image with private container registry #1342

rickvanveen opened this issue Feb 6, 2023 · 2 comments
Assignees
Labels
cloud-k8s Kubernetes cml-runner Subcommand question User requesting support

Comments

@rickvanveen
Copy link

Reference issue: #1285

I finally got to a point I needed to run a custom image. However, I'm running into the problem that this is image is hosted on a private container registry:

containers.github.company/hpc/hpc-cml/cml:0-dvc2-base1

What is the approach to provide access to a private container registry?

Error log from the pod:

Error from server (BadRequest): container "cml-trainer-2gdmvcj0-36fz6stv" in pod "cml-trainer-2gdmvcj0-36fz6stv-dcfmz" is waiting to start: image can't be pulled
@0x2b3bfa0
Copy link
Member

We don't provide any official support yet for this use case, but setting an imagePullSecret on the default service account might do the trick.

@rickvanveen
Copy link
Author

It did! Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cloud-k8s Kubernetes cml-runner Subcommand question User requesting support
Projects
None yet
Development

No branches or pull requests

2 participants