-
-
Notifications
You must be signed in to change notification settings - Fork 462
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enhancement] Improve image import speed #386
Comments
Hi @ErolPeel , thanks for opening this issue! |
Actually, I just had a look into the
UPDATE: I can confirm though, that it takes roughly double the time for k3d 🤔 UPDATE 2: Figured out, that skaffold calls UPDATE 3: Managed to shave off some seconds by adding an extra flag to not delete the tools node.. will invest some more time into this soon |
@iwilltry42 Thank you very much for looking into this issue. |
@ErolPeel , in the GH Actions workflow, you can probably improve already, by calling the |
Improve Image Import Speed
Example benchmark
kind
andk3d
with one node each (no special settings)kind
: ~6sk3d
: ~13sInvestigation
k3d image import
3 times (once per image) instead of once for all three imagesOriginal Bug Report: [BUG] loading images into k3d with Skaffold takes ages (kind does it nearly instantly)
What did you do
I use Skaffold to start a Docker image in my k3d cluster.
This is the corresponding log output:
Unfortunately, loading the new image into the cluster takes ages (30 seconds, 40 seconds) with k3d.
Loading it into a kind cluster is much faster. With kind it is loaded nearly instantly.
Is there a way to load an image with k3d as fast as with kind? How can I speed up this process?
How was the cluster created?
k3d cluster create --switch-context
What did you do afterwards?
skaffold dev
What did you expect to happen
Fast loading of image into the cluster.
Which OS & Architecture
Which version of
k3d
Which version of docker
The text was updated successfully, but these errors were encountered: