Closed oliver-goetz closed 5 months ago
Seems to be a reasonable list. However, I am wondering whether we could just release a v0.0.1 before. Then we (23T) could easily include the extension in our public gardener installation and just see how the current state and further developments behave in a running environment. Any comments on that?
Would you like to release the v0.0.1 @oliver-goetz? Actually, I am not entirely sure how what kind of release workflow is intended for this repo.
@JensAc sorry I missed your question 😅 There is no release workflow yet. I'll think about it. However, we are already building dev images for each commit on main. You can find the images names + tags in the jobs log.
https://github.com/gardener/gardener/pull/6999 is merged now which (I think) was the prerequisite to follow the "webhook approach" :)
@JensAc finally, there is the first release 😄
Nice! Many thanks :+1:
Considering the points in https://github.com/gardener/gardener/pull/7316, this extension should not make use of the containerd imports feature. Otherwise it might overwrite important containerd configuration.
All sub-tasks are completed.
/close
@dimitar-kostadinov: Closing this issue.
How to categorize this issue?
/area quality cost /kind task
What would you like to be added: At the end of our Hackathon we had some tasks on your list in order to make the registry-cache production ready.
Why is this needed: Getting the registry-cache extension production ready.
Steps
/etc/containerd/cert.d/
: https://github.com/gardener/gardener-extension-registry-cache/pull/27config_path
: https://github.com/gardener/gardener/pull/8094 Modify the default containerd config in gardener to specifyContainerdRegistryHostsDir
feature gate to GA. Clean up the feature gate/etc/containerd/cert.d/
) do not require restart of containerd./etc/containerd/conf.d/
imported files is flawed and doesn't work for all cases: https://github.com/gardener/gardener/blob/master/docs/usage/custom-containerd-config.md / https://github.com/gardener/gardener/pull/7316 / https://github.com/containerd/containerd/issues/5837. That's why we cannot use the custom containerd config import functionality for now.Node machines cannot resolve the DNS names of the registry cache services yet. Currently, containerd config includes IP addresses of the registry cache pods/services. Find a way to make this DNS resolution work.make extension-down
and rework skaffold handling to also deploy the registry-cache admission duringmake extension-up
: https://github.com/gardener/gardener-extension-registry-cache/pull/40ttl
and remove the existing option to enable/disable the garbage collection. Consider forbiddingttl < 24h
asttl=0
can mean that image never gets garbage collected (double check this).garbageCollection.enabled
field in favor of thegarbageCollection.ttl
field.garbageCollectionEnabled
field togarbageCollection.enabled
. This is to make possible adding new fields related to the garbage collection in future (thettl
field): https://github.com/gardener/gardener-extension-registry-cache/pull/53/metrics
endpoint that is prometheus native formatregistry-cache
orkube-system
. The control plane monitoring currently does not monitor workload from theregistry-cache
namespace (i.e. we don't have metrics for Pod cpu/memory usage; logs are not collected): https://github.com/gardener/gardener-extension-registry-cache/pull/52Cleaning Kubernetes resources
deletes the registry-cache resources which are recreated by GRM in few moments: https://github.com/gardener/gardener-extension-registry-cache/pull/25no persistent volumes available for this claim and no storage class is set
: https://github.com/gardener/gardener-extension-registry-cache/pull/51--version
command: https://github.com/gardener/gardener-extension-registry-cache/pull/98make extension-up
in provider-extensions setup @dimitar-kostadinov https://github.com/gardener/gardener-extension-registry-cache/pull/193images.yaml
file: https://github.com/gardener/gardener-extension-registry-cache/pull/57Check https://github.com/containerd/containerd/issues/4861 and see whether with docker there are timeouts of 30 seconds/test pull-gardener-publish-test-images
command for the registry-cache repo so that it is possible to publish images from PRs: https://github.com/gardener/ci-infra/pull/970imageVectorOverwrite
so that it is possible to pass it as YAML, not as a single line string: https://github.com/gardener/gardener-extension-registry-cache/pull/80v1alpha1
API version: https://github.com/gardener/gardener-extension-registry-cache/pull/141v1alpha2
API version only: https://github.com/gardener/gardener-extension-registry-cache/pull/140configure-containerd-registries.service
unit by using another retry strategy in the unit other than exponential backoff: https://github.com/gardener/gardener-extension-registry-cache/pull/137v1alpha2
API version: https://github.com/gardener/gardener-extension-registry-cache/pull/165v1alpha3
API version only: https://github.com/gardener/gardener-extension-registry-cache/pull/151http://
and port (optional): https://github.com/gardener/gardener-extension-registry-cache/pull/183scheduler-state.json
file https://github.com/gardener/gardener-extension-registry-cache/pull/196