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

minikube image load does not replaces minikube cache add #20039

Open
ekneg54 opened this issue Dec 3, 2024 · 4 comments
Open

minikube image load does not replaces minikube cache add #20039

ekneg54 opened this issue Dec 3, 2024 · 4 comments
Labels
area/image Issues/PRs related to the minikube image subcommand kind/documentation Categorizes issue or PR as related to documentation. kind/improvement Categorizes issue or PR as related to improving upon a current feature. priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done.

Comments

@ekneg54
Copy link

ekneg54 commented Dec 3, 2024

What Happened?

if I run minikube image load -p myprofile $(minikube image ls -p myprofile | grep -v '<none>') after provisioning my workloads the cache stays empty if I run minikube cache list.
Additionally after resetting the cluster with minikube delete -p myprofile && minikube start -p myprofile and deploy the same workloads again I notice heavy traffic on my internet connection.

In contrast if I use minikube cache add -p myprofile instead of minikube image load -p myprofile everything works as expected and I do not notice any heavy internet connection anymore.

Sadly the minikube cache add feature is deprecated. Please do not remove this feature before replacing it with a clear alternative.

Attach the log file

image

Operating System

Ubuntu

Driver

Docker

@Ritikaa96
Copy link

Hi, there is no log file attached. it will be helpful in referencing the issue.

@Ritikaa96
Copy link

/kind support

@k8s-ci-robot k8s-ci-robot added the kind/support Categorizes issue or PR as a support question. label Dec 11, 2024
@Ritikaa96
Copy link

/triage needs-information

@k8s-ci-robot k8s-ci-robot added the triage/needs-information Indicates an issue needs more information in order to work on it. label Dec 11, 2024
@afbjorklund afbjorklund removed kind/support Categorizes issue or PR as a support question. triage/needs-information Indicates an issue needs more information in order to work on it. labels Dec 15, 2024
@afbjorklund
Copy link
Collaborator

afbjorklund commented Dec 15, 2024

Sadly the minikube cache add feature is deprecated. Please do not remove this feature before replacing it with a clear alternative.

The minikube cache is not really deprecated, that e8945f2 is a misunderstanding from some previous work.

In theory it might be replaced by a --cache option to the load command, but that is not the default since it is intended to load local files or images...

@afbjorklund afbjorklund added kind/improvement Categorizes issue or PR as related to improving upon a current feature. area/image Issues/PRs related to the minikube image subcommand kind/documentation Categorizes issue or PR as related to documentation. priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. labels Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/image Issues/PRs related to the minikube image subcommand kind/documentation Categorizes issue or PR as related to documentation. kind/improvement Categorizes issue or PR as related to improving upon a current feature. priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done.
Projects
None yet
Development

No branches or pull requests

4 participants