Skip to content

Conversation

vikas-saxena02
Copy link
Contributor

@vikas-saxena02 vikas-saxena02 commented Mar 22, 2025

Purpose of this PR

As per the kubeflow wide initiative to migrate all images from docker.io to ghcr.io kubeflow/maniifests#3010 , I am am making the change to do the same. the sparkoperator repo specific issue is #2480

Proposed changes:

  • change image registry to ghcr.io

Change Category

  • Bugfix (non-breaking change which fixes an issue)
  • Feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that could affect existing functionality)
  • Documentation update

Rationale

This change is a part of Kubeflow wide initiative kubeflow/maniifests#3010

Checklist

  • I have conducted a self-review of my own code.
  • I have updated documentation accordingly.
  • I have added tests that prove my changes are effective or that my feature works.
  • Existing unit tests pass locally with my changes.

Additional comments
/closes #2480

@vikas-saxena02
Copy link
Contributor Author

/hold

@vikas-saxena02
Copy link
Contributor Author

@juliusvonkohout
Copy link
Member

juliusvonkohout commented Mar 24, 2025

Thank you for the PR. Please also upgrade the manifests (kustomize,helm) and cut a release, that we can then synchronize.

@ChenYi015
Copy link
Member

ChenYi015 commented Mar 25, 2025

registry: ${{ env.IMAGE_REGISTRY }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

I think username and password also need to be updated:

registry: ${{ env.IMAGE_REGISTRY }} 
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

@vikas-saxena02
Copy link
Contributor Author

registry: ${{ env.IMAGE_REGISTRY }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

I think username and password also need to be updated:

registry: ${{ env.IMAGE_REGISTRY }} 
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

@ChenYi015 done as per your instructions.. thanks for the help!!

@vikas-saxena02 vikas-saxena02 force-pushed the changing_image_repo_to_ghcr branch from eed7e26 to a566594 Compare March 27, 2025 08:13
@vikas-saxena02
Copy link
Contributor Author

rebase to master done successfully

@vikas-saxena02
Copy link
Contributor Author

/unhold

@ChenYi015
Copy link
Member

rebase to master done successfully

@vikas-saxena02 The same changes need to be applied to:

registry: ${{ env.IMAGE_REGISTRY }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

@vikas-saxena02
Copy link
Contributor Author

rebase to master done successfully

@vikas-saxena02 The same changes need to be applied to:

registry: ${{ env.IMAGE_REGISTRY }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

Thanks for pointing out... this has been actioned as well

Signed-off-by: Vikas Saxena <[email protected]>
Co-authored-by: Yi Chen <[email protected]>
Signed-off-by: Vikas Saxena <[email protected]>
vikas-saxena02 and others added 2 commits March 29, 2025 16:34
Copy link
Member

@ChenYi015 ChenYi015 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Will wait for another approval.

@vikas-saxena02
Copy link
Contributor Author

@andreyvelich are you able to provide your approval. @ChenYi015 has already provided his.

@vikas-saxena02
Copy link
Contributor Author

Copy link
Member

@jacobsalway jacobsalway left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@google-oss-prow google-oss-prow bot added the lgtm label Mar 30, 2025
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ChenYi015, jacobsalway

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [ChenYi015,jacobsalway]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow google-oss-prow bot merged commit 7668a1c into kubeflow:master Mar 30, 2025
16 checks passed
Copy link
Contributor

@vara-bonthu vara-bonthu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/assign @andreyvelich
Are we doing this for all the Kubeflow projects? I am good with the change based on the presented issues.

@mahdikhashan
Copy link
Member

/lgtm

Thank you

@andreyvelich
Copy link
Member

@vara-bonthu Yes, we migrated all repos to GHCR: kubeflow/manifests#3010

@juliusvonkohout
Copy link
Member

Amazing, now with a new release of spark operator we can synchronize.

run: |
docker build -t docker.io/kubeflow/spark-operator:local .
minikube image load docker.io/kubeflow/spark-operator:local
docker build -t ghcr.io/kubeflow/spark-operator/controller:local .

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This image hasn't been released yet, has it?

docker pull ghcr.io/kubeflow/spark-operator/controller:2.1.0 Error response from daemon: manifest unknown

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@arturowczarek this is becuase I dont think we had a release since the changed was merged

@ChenYi015 ChenYi015 mentioned this pull request May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: Switch to GHCR due to docker.io pull rate limits

10 participants