enix / kube-image-keeper

kuik is a container image caching system for Kubernetes
MIT License
460 stars 36 forks source link

feat: Add cachedimage pulling progress status #400

Closed aDisplayName closed 3 months ago

aDisplayName commented 3 months ago

Add following property in CachedImage CRD

Upgrade Crd version from kuikv1alpha1 to kuikv1alpha1ext1 Update the status.progress.available in CachedImage CRD every 5 seconds during the image pulling in cachedimage controller

aDisplayName commented 3 months ago

The PR is prepared for supporting the feature of #401

paullaffitte commented 3 months ago

Thanks for your work! It looks interesting, this feature can be useful indeed. We will discuss soon with the rest of the team if we are interested in merging it. For my part I would do it. However there is a lot of commits and I will have to review all of them, which will take a bit of time so I hope you're not in a hurry 😅

aDisplayName commented 3 months ago

@paullaffitte , those commits can be grouped to the following three catalogs:

  1. The CRD Change
  2. The change of reference of kuikv1alpha1 to kuikv1alpha1ext1 in all relative area
  3. The controller change in cachedimage_controller.go and registry.go.

If it makes your life easier, I can create a new PR with three consolidated commits.

Before I'm doing that, one decision I would seek from you, are

Regards

aDisplayName commented 3 months ago

I'm closing this PR. As I've submitted a new PR #402 with all the clutters removed.