spegel-org / spegel

Stateless cluster local OCI registry mirror.
MIT License
1.16k stars 60 forks source link

Whether you need to prefetch the image on a node in advance #600

Open sunnoy opened 3 days ago

sunnoy commented 3 days ago

If nodes in the cluster pull the same image at the same time, do you need to preheat a node in advance?

phillebaba commented 3 days ago

Currently you have to preheat a node in advance if you want to improve deployment situations where multiple nodes pull the same image at once. I have an idea to optimize this by advertising in flight image pulls but I am not even sure if that is possible yet.