-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Persisting images across cluster resets with minikube image load
#17985
Comments
That deprecation warning was added two years ago by someone who no longer works on the project when they added the |
I think the deprecation warning is obsolete/misleading, and that the "minikube cache" and "minikube image" are using the same caching code - the main difference is if they "remember" the images for next time. Separating the list of images per profile sounds like an interesting idea, as long as they still share the same image cache. But the list itself could be split into a global list, and a list that is kept for each profile/cluster? |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Any news? Will the deprecation warning disappear? Or maybe a parameter can be added to the |
Hi @afbjorklund @spowelljr (and maybe @medyagh). It's an important functionnality of Minikube, that offer the ability to keep images in cache after doing a |
The bot does that automatically, and it does not necessarily represent a decision or project direction. I think we need some clarification on each command, and then some refactoring and clean up. Personally I think we should keep both commands, but make the |
we dont have a plan to actually stop allowing using the "cache add" however for most users I would recommend them use "image load" for local develpoment instead of cache add, cache add is meant to be across all clusters, what we could do is change the wording of deprication to "suggested use image load for develoeprs" |
@afbjorklund I agree with you, btw how do you envision to make "image ones simpler" ? |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
When using
minikube cache add
, images are loaded into the active profile and added toconfig.json
. With this entry, the images are loaded into the cluster duringminikube start
.Currently,
minikube cache add
notifies the user that it's going to deprecated and thatminikube image load
should be used instead. However,image load
does not add the entry toconfig.json
, which means that any images loaded with this command would not be restored afterminikube delete && minikube start
.Are there any plans or desire to introduce image persistence across cluster resets to
image load
command?I started working on adding support for updating
config.json
, but I realized this approach might not be what you want for theimage
command, so I wanted to discuss it with you in this issue first. For example, we probably want to have separate cache for each profile.Quick implementation to replicate
cache add
: https://github.com/KarboniteKream/minikube/tree/feat/image-load-persistThe text was updated successfully, but these errors were encountered: