-
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
new image save
command
#12162
new image save
command
#12162
Conversation
386b96f
to
3229494
Compare
Previously you could only Copy(To), not CopyFrom. Implies that some Assets can be written to instead.
This is the opposite command of "minikube image load", and can be used after doing a "minikube image build". The default is to save images in the cache, but it is also possible to save to files or to standard output.
3229494
to
b75bf27
Compare
/ok-to-test |
kvm2 driver with docker runtime
Times for minikube start: 49.7s 46.9s 52.3s 46.8s 50.2s Times for minikube ingress: 31.3s 31.8s 39.2s 40.8s 31.4s docker driver with docker runtime
Times for minikube ingress: 32.0s 37.5s 36.5s 37.0s 32.0s Times for minikube start: 22.6s 22.4s 21.6s 22.1s 22.4s docker driver with containerd runtime
Times for minikube start: 27.1s 43.8s 43.5s 43.9s 43.5s |
These are the flake rates of all failed tests.
Too many tests failed - See test logs for more details. To see the flake rates of all tests by environment, click here. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: afbjorklund, medyagh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Implements the
minikube image save
command:minikube --alsologtostderr image load --pull busybox
minikube --alsologtostderr image save busybox busybox.tar
It looks big because of the somewhat silly structure of "machine", and the missing CopyFrom functionality for VM "assets":
NewFileAsset: busybox.tar -> /var/lib/minikube/images/busybox.tar
scp /var/lib/minikube/images/busybox.tar --> busybox.tar (1463808 bytes)
Closes #11130