k8s.io icon indicating copy to clipboard operation
k8s.io copied to clipboard

[Umbrella Issue] Migrate CNCF Ecosystem projects from k8s.gcr.io to registry.k8s.io

Open mrbobbytables opened this issue 2 years ago • 34 comments

With the change to defaulting to registry.k8s.io as our image registry and the planned freeze in April, downstream projects in the CNCF ecosystem will likely be impacted.

Currently 70 of the other CNCF projects contain references to k8s.gcr.io, there seems to be a wide mix of usage from docs, to base images and CI.

Below is a list of projects that were surfaced in a "dumb" search for k8s.gcr.io, there may be valid references or false positives and they should be checked more closely and updated where possible.

Projects

mrbobbytables avatar Feb 16 '23 00:02 mrbobbytables

Hey @mrbobbytables I would love to work on this umbrella issue and will try to migrate as much k8s.gcr.io to registry.k8s.io 👍

akshat5302 avatar Feb 17 '23 02:02 akshat5302

No need to ask, pick a couple of projects, leave a note here, and file PRs with them. Leaving a note here will ensure will ensure folks won't end up duplicating work

dims avatar Feb 17 '23 03:02 dims

Just to echo what dims said, please feel free to take them on and reference this issue. One request for anyone tackling these issues is to please double check the changes. There are some things that a simple find/replace isn't quite the answer e.g. generated code.

mrbobbytables avatar Feb 17 '23 03:02 mrbobbytables

I am currently looking at containerd, CoreDNS, CRI-O, Helm

aniruddha2000 avatar Feb 17 '23 03:02 aniruddha2000

I'm looking at Aeraki mesh,Akri, Antrea and Argo

akshat5302 avatar Feb 17 '23 03:02 akshat5302

I'm looking at kubewarden, litmuschaos, karmada, KubeArmor, kubeEdge.

harshitasao avatar Feb 17 '23 04:02 harshitasao

Hi @dims @mrbobbytables, sent the pr's for kubevirt, meshery and thanosbench.

RishabhKodes avatar Feb 17 '23 06:02 RishabhKodes

Hello fro the Helm most of the changes are in the helm/charts repo, and that is archived so we will not change anything there.

the only change required is done in this PR https://github.com/helm/helm/pull/11829

can you make that a check?

cc @mrbobbytables @jeefy

cpanato avatar Feb 17 '23 08:02 cpanato

Hello fro the Helm most of the changes are in the helm/charts repo, and that is archived so we will not change anything there.

the only change required is done in this PR helm/helm#11829

can you make that a check?

done 👍

mrbobbytables avatar Feb 17 '23 11:02 mrbobbytables

I'm currently looking at OpenEBS, VS Code Kubernetes Tools, WasmEdge Runtime, k8gb, knative.

shikharcodes avatar Feb 17 '23 15:02 shikharcodes

I am looking at k3s kudo and keptn and telepresence

DiptoChakrabarty avatar Feb 17 '23 16:02 DiptoChakrabarty

I am looking at cert-manager, flux, kyverno, longhorn and OpenKruise

rayandas avatar Feb 17 '23 17:02 rayandas

Hello @mrbobbytables! Thank you for documenting these cases.

I noticed that for Armada you are still using our old org domain and that issue points to a lot of code unrelated to Armada. We moved the Armada project to armadaproject org and I did the search and I did not find any references to k8s.gcr.io:

https://github.com/search?q=org%3Aarmadaproject+%22k8s.gcr.io%22

I think you could mark the Armada one as complete!

kannon92 avatar Feb 17 '23 20:02 kannon92

Thanks @kannon92, I'll mark it off 👍

I got the org from the CNCF's projects.csv doc here: https://github.com/cncf/toc/blob/main/docs/PROJECTS.csv

It might be worth opening a PR to update it to reflect its current location.

mrbobbytables avatar Feb 17 '23 20:02 mrbobbytables

Thanks @kannon92, I'll mark it off 👍

I got the org from the CNCF's projects.csv doc here: https://github.com/cncf/toc/blob/main/docs/PROJECTS.csv

It might be worth opening a PR to update it to reflect its current location.

Thank you for calling that out. I just opened up a PR to fix that.

kannon92 avatar Feb 17 '23 20:02 kannon92

Hey all, I'll be taking up Confidential Containers, Cloud Development Kit for Kubernetes (cdk8s), Crossplane, Falco, and Konveyor.

CIPHERTron avatar Feb 20 '23 05:02 CIPHERTron

Taking it up for dapr.

letmerecall avatar Feb 20 '23 06:02 letmerecall

No changes needed for metal3-io. One is sample output in a blog post, the others in an archived repo.

zaneb avatar Feb 20 '23 23:02 zaneb

For Argo an issue has already been opened: https://github.com/argoproj/argo-cd/pull/12362/commits

slamp avatar Mar 11 '23 10:03 slamp

Hi folks, I looked into the following orgs:

  • ChaosMesh: will be covered through
    • https://github.com/chaos-mesh/chaos-mesh/pull/3974
  • Contour: will be covered through
    • https://github.com/projectcontour/contour/pull/5175
  • OpenCost: will be covered through
    • https://github.com/kubecost/openshift-helm-chart/pull/17
  • Piraeus-Datastore: will be covered through
    • https://github.com/piraeusdatastore/linstor-scheduler-extender/pull/7
  • SPIFFE & SPIRE: not affected
  • Virtual Kubelet: will be covered through
    • https://github.com/virtual-kubelet/azure-aci/pull/484
  • Volcano: only an old fork for https://github.com/kubernetes/kube-state-metrics is affected that was last updated on Mar 1, 2021.
  • wasmCloud: the affected repository is archived.

Will take a look at other affected spaces tomorrow as well.

ahmedwaleedmalik avatar Mar 13 '23 14:03 ahmedwaleedmalik

  • Aaeraki-mesh: N/A; only an old fork https://github.com/aeraki-mesh/istio is affected that was last updated on Sep 23, 2021.
  • ChubaoFS:
    • https://github.com/cubefs/cubefs/pull/1806
    • https://github.com/cubefs/cubefs-csi/pull/82
    • https://github.com/cubefs/cubefs-helm/pull/23
    • We can skip the fork for rook https://github.com/cubefs/rook which was last updated on Oct 13, 2020.
  • Crossplane: N/A; the affected repository is archived.
  • DevStream: N/A
  • Dragonfly: N/A but I made the changes anyways
    • https://github.com/dragonflyoss/Dragonfly2/pull/2186
    • https://github.com/dragonflyoss/dragonfly-examples/pull/2
  • External Secrets Operator: These are packaged operators for OperatorHub. I'm not a fan of updating the hosted manifests directly unless the owners of those operators roll out a new release and add a new version in the repos.
  • Flux: N/A but I made the changes anyways
    • https://github.com/fluxcd/flux is archived
    • https://github.com/fluxcd/image-reflector-controller/pull/358
  • Inclavare Containers: N/A; they are replacing k8s.gcr.io/pause:3.5 with a custom image for containerd v1.5.3.
  • KubeVela: N/A; the affected repository is archived.
  • Kuma: N/A; only an old fork https://github.com/kumahq/gateway-api is affected that has no commits on the fork.

ahmedwaleedmalik avatar Mar 16 '23 07:03 ahmedwaleedmalik

I'm working for Aeraki Mesh , Akri

nitishfy avatar Mar 16 '23 11:03 nitishfy

I'm working for Aeraki Mesh , Akri

@NitishKumar06 I don't think we need anything for Aeraki Mesh.

Aaeraki-mesh: N/A; only an old fork https://github.com/aeraki-mesh/istio is affected that was last updated on Sep 23, 2021.

ahmedwaleedmalik avatar Mar 16 '23 11:03 ahmedwaleedmalik

I can work on the following:

ArkaSaha30 avatar Mar 16 '23 12:03 ArkaSaha30

@ArkaSaha30 some of these orgs have already been covered. Please check the comments. The PR description is regularly updated based on these comments but the description can lag behind a bit.

ahmedwaleedmalik avatar Mar 16 '23 14:03 ahmedwaleedmalik

Hello folks, here is the list of PRs that I've made to the following orgs:

  1. Confidential Containers
  • https://github.com/confidential-containers/tests-CCv0/pull/1
  • https://github.com/confidential-containers/cloud-api-adaptor/pull/621
  • https://github.com/confidential-containers/operator/pull/161
  1. Konveyor
  • https://github.com/konveyor/tackle-keycloak-theme/pull/7
  • https://github.com/konveyor/move2kube-website/pull/106
  • https://github.com/konveyor/konveyor.github.io/pull/9
  1. cdk8s
  • https://github.com/cdk8s-team/cdk8s/pull/1205
  • https://github.com/cdk8s-team/cdk8s-redis/pull/554
  1. Crossplane - This org had only one affected repo which has been archived since June, 2022
  2. Falco - This has already been completed by @cpanato

CIPHERTron avatar Mar 16 '23 15:03 CIPHERTron

I'll take up Krustlet, Nocalhost, OpenELB, ORAS

lakshya8066 avatar Mar 16 '23 15:03 lakshya8066

I'm working on kubewarden

Akshit42-hue avatar Mar 17 '23 04:03 Akshit42-hue

Hello @ahmedwaleedmalik, as per your suggestion

External Secrets Operator: These are packaged operators for OperatorHub. I'm not a fan of updating the hosted manifests directly unless the owners of those operators roll out a new release and add a new version in the repos.

Should we skip it for now? OR do we need to make further communications before we take an action?

ArkaSaha30 avatar Mar 17 '23 06:03 ArkaSaha30

Hello @ahmedwaleedmalik, as per your suggestion

External Secrets Operator: These are packaged operators for OperatorHub. I'm not a fan of updating the hosted manifests directly unless the owners of those operators roll out a new release and add a new version in the repos.

Should we skip it for now? OR do we need to make further communications before we take an action?

I would recommend that we skip it. cc @mrbobbytables

ahmedwaleedmalik avatar Mar 17 '23 07:03 ahmedwaleedmalik