Skip to content
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

Export and import docker images from the cache #298

Merged
merged 7 commits into from
Jul 18, 2024
Merged

Conversation

keyvaann
Copy link
Collaborator

This PR tries to export the images before k3s is being removed and then import them when k3s is installed again so there wouldn't be a need to pull images as often.

@keyvaann keyvaann self-assigned this Jul 17, 2024
@keyvaann keyvaann requested a review from pvannierop July 17, 2024 14:54
@keyvaann
Copy link
Collaborator Author

This seems to be working but the build time has been increased from 30 minute per Kubernetes version to 1 hour per Kubernetes version

Copy link
Contributor

@pvannierop pvannierop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since your solution takes a lot to time, I think we should consider using k3d combined with a local repository (see k3d-io/k3d#19 (comment))

@keyvaann keyvaann merged commit 2656155 into dev Jul 18, 2024
6 checks passed
@keyvaann keyvaann deleted the k3s-use-local-cache branch July 18, 2024 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants