-
Notifications
You must be signed in to change notification settings - Fork 834
Update Manifest Images to GHCR #2544
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
Update Manifest Images to GHCR #2544
Conversation
Signed-off-by: sailesh duddupudi <saileshradar@gmail.com>
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.
We might also need to update other places:
e.g. https://github.com/kubeflow/trainer/blob/release-1.9/pkg/config/config.go#L35
@kubeflow/wg-training-leads @Electronic-Waste What other places where we use our images ?
Got it, I'll search and update |
Signed-off-by: sailesh duddupudi <saileshradar@gmail.com>
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
I've updated the images, PTAL |
pkg/config/config.go
Outdated
PyTorchInitContainerMaxTriesDefault = 100 | ||
// MPIKubectlDeliveryImageDefault is the default image for launcher pod in MPIJob init container. | ||
MPIKubectlDeliveryImageDefault = "kubeflow/kubectl-delivery:latest" | ||
MPIKubectlDeliveryImageDefault = "ghcr.io/kubeflow/training/kubectl-delivery:latest" |
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.
Since this change is in pkg folder, should we update image tag in overlay again in another PR to reflect this change?
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.
We need to update tag in overlay after we make a release.
Here is the process: https://github.com/kubeflow/trainer/tree/release-1.9/docs/release#release-branches-and-tags
Makefile
Outdated
@@ -1,5 +1,5 @@ | |||
# Image URL to use all building/pushing image targets | |||
IMG ?= kubeflow/training-operator:latest | |||
IMG ?= ghcr.io/kubeflow/training/training-operator:latest |
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.
IMG ?= ghcr.io/kubeflow/training/training-operator:latest | |
IMG ?= ghcr.io/kubeflow/trainer/training-operator:latest |
Isn't training
misstype?
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.
I think it's an error that also happened in #2491.
Maybe we should also change the image name in:
trainer/.github/workflows/build-and-publish-images.yaml
Lines 76 to 78 in f654b1e
image: | | |
docker.io/kubeflow/${{ inputs.component-name }} | |
ghcr.io/kubeflow/training/${{ inputs.component-name }} |
trainer/.github/workflows/build-and-publish-images.yaml
Lines 89 to 91 in f654b1e
image: | | |
docker.io/kubeflow/${{ inputs.component-name }} | |
ghcr.io/kubeflow/training/${{ inputs.component-name }} |
WDYT? @saileshd1402 @andreyvelich
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.
I think so too
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.
@andreyvelich We may also need to delete the training/*
image in the github package of trainer.
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.
Fixed the error in: #2546
…est-images-to-ghcr
Signed-off-by: sailesh duddupudi <saileshradar@gmail.com>
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.
Thanks for this @saileshd1402. LGTM!
/lgtm
/lgtm thank you for your time |
@andreyvelich @Electronic-Waste do you think we can keep these changes or move to a different prefix? The other one discussed: |
@saileshd1402 Let's keep the |
+1 |
SGTM |
@saileshd1402 Please could you update this PR with the |
Signed-off-by: sailesh duddupudi <saileshradar@gmail.com>
- name: kubeflow/training-operator | ||
newTag: v1-5170a36 | ||
- name: ghcr.io/kubeflow/training-v1/training-operator | ||
newTag: v1-f654b1e |
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.
will create a followup PR to fix this tag
Thank you for the update @saileshd1402! |
Thanks for this @saileshd1402! /lgtm |
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.
Could you update
kustomize edit set image kubeflow/training-operator=${REGISTRY}:${VERSION} |
Signed-off-by: sailesh duddupudi <saileshradar@gmail.com>
New changes are detected. LGTM label has been removed. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Electronic-Waste The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Didn't notice that, thank you! updated |
i wonder katib images should be called from ghcr?
ref: kubeflow/katib#2529 |
Do we want to merge this PR without e2e pass or update the example images in the followup PR? |
In the interest of time I would want to merge this. But either way works, please let me know |
What this PR does / why we need it:
Update Manifest images to GHCR instead of Dockerhub. Required to decrease rate limiting issues
Which issue(s) this PR fixes (optional, in
Fixes #<issue number>, #<issue number>, ...
format, will close the issue(s) when PR gets merged):Address this comment to update manifest images: #2491 (comment)
cc: @andreyvelich @Electronic-Waste @mahdikhashan @tenzen-y
Checklist: