zot
zot copied to clipboard
[Feat]: Improve pod startup time
Is your feature request related to a problem? Please describe.
Our zot pod takes over 3min to start and we have a very small data set, the registry volume is ~8M and the s3 bucket is ~1.3G. The readinessProbe seems to be waiting on "parsing storage and initializing" where it inspect each repo. I would expect the pod to become ready in under 30 seconds. As it is now this will not scale as we add more data. I have included our zot-config below. Does anyone have some advice for how I can speed up my startup?
Describe the solution you'd like
When the Zot pod is restarted it would be nice to have a flag to turn off the consistency check between the s3 bucket and the metadb on the PV
Describe alternatives you've considered
I have not found an alternative. For now I have extended my liveness and readness probe to 5 minutes
Additional context
No response