antrea icon indicating copy to clipboard operation
antrea copied to clipboard

Switch from projects.registry.vmware.com to Dockerhub

Open tnqn opened this issue 1 year ago • 11 comments

Describe the bug

projects.registry.vmware.com/antrea may be unavailable after May 2024.

  • [x] We should stop publishing any new manifests using that image repo.
  • [x] For existing release manifest and charts, we need to decide if they should be updated to point to Dockerhub, or just release patch releases with new image links.
  • [ ] Figure out how to avoid/fix impact to existing clusters.
  • [x] Switch images to Dockerhub for Jenkins CI scripts #6076

Is there anything else may be affected?

tnqn avatar Feb 20 '24 03:02 tnqn

For the second point, I think new patch releases for releases currently maintained is the way to go.

Even if we mutate artifacts for existing releases (which may not even be possible for Helm chart releases), this would still not solve a key issue: existing clusters can be impacted by the deletion of the existing images (e.g., when scaling up the cluster with new Nodes). Unless there is an "automatic redirect" solution, there is no way to avoid impact to users.

antoninbas avatar Feb 20 '24 19:02 antoninbas

Even if we mutate artifacts for existing releases (which may not even be possible for Helm chart releases), this would still not solve a key issue: existing clusters can be impacted by the deletion of the existing images (e.g., when scaling up the cluster with new Nodes). Unless there is an "automatic redirect" solution, there is no way to avoid impact to users.

Right. That would be really bad for existing clusters. Hope there will be a smoother transition in the end, otherwise we may have to highlight this change somewhere.

tnqn avatar Feb 21 '24 02:02 tnqn

Added 3rd task for existing clusters.

tnqn avatar Feb 21 '24 02:02 tnqn

For the 1st task, we should roll out this change before the v2 release. I'll add this to the release milestone.

antoninbas avatar Feb 29 '24 03:02 antoninbas

For the 1st task, we should roll out this change before the v2 release. I'll add this to the release milestone.

I am currently working on this

antoninbas avatar Mar 06 '24 19:03 antoninbas

I added item 4 'Switch images to Dockerhub for Jenkins CI scripts' in this issue. @XinShuYang could you help to work on this? Thanks.

luolanzone avatar Mar 28 '24 01:03 luolanzone

I added item 4 'Switch images to Dockerhub for Jenkins CI scripts' in this issue. @XinShuYang could you help to work on this? Thanks.

We had discussion for this update https://github.com/antrea-io/antrea/pull/6076#issuecomment-1984997643. If @antoninbas agree I can proceed with this PR to switch testing images.

XinShuYang avatar Mar 28 '24 04:03 XinShuYang

@XinShuYang Yes, we should proceed with that change now. Image mirroring to Harbor has now been disabled. All our scripts and CI jobs should stop pulling images from Harbor.

antoninbas avatar Mar 28 '24 17:03 antoninbas

Everything that needed to be addressed for the v2 release has been taken care of. Moving the issue out of the milestone.

The one open question is how we can avoid impacting existing users / clusters. At this time, it looks like the old image URLs will remain valid, with an automatic redirection from the old registry to the new one. We will update this issue when we have more information.

antoninbas avatar Apr 24 '24 20:04 antoninbas

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment, or this will be closed in 90 days

github-actions[bot] avatar Jul 24 '24 00:07 github-actions[bot]