Thomas Stromberg
436cee2d84
Fix minikube/kubernetes capitalization, make short help consistent
2020-05-07 14:12:10 -07:00
Medya Gh
dc84091d59
fix preload script
2020-04-20 21:39:08 -07:00
Medya Gh
a14f846a8c
add one more delete
2020-04-20 18:00:43 -07:00
Medya Gh
3e97301fe8
clean up at start too
2020-04-20 17:55:10 -07:00
Medya Gh
cdd0944723
preload script clean up minikube
2020-04-20 16:17:38 -07:00
Medya Gh
1bdd9ff7e8
add docker back
2020-04-20 12:25:19 -07:00
Medya Gh
3823304d21
generate preload for containerd
2020-04-18 06:31:15 -07:00
Medya Gh
deb16d6751
copy kic overlay image only for docker run time tarball
2020-04-06 18:56:19 -07:00
Priya Wadhwa
721a57c25a
Rebased
2020-03-26 11:01:28 -07:00
Priya Wadhwa
e293b38431
Set --preload flag to true so that download.PreloadExists doesn't immeditely return false
2020-03-26 10:42:45 -07:00
Priya Wadhwa
2768552361
Use download.TarballExists to make sure tarball is publicly accessible in script generator
2020-03-26 10:23:30 -07:00
Priya Wadhwa
bfe8aee3b5
Pass in container runtime to preload tarball name
...
This way we don't have to individually check if we support a container runtime
2020-03-23 12:29:49 -07:00
Priya Wadhwa
68baafccf0
fix lint
2020-03-18 10:41:24 -07:00
Priya Wadhwa
579ac4411c
Use one tarballName function for consistency and add amd64 to the name
2020-03-17 13:58:03 -07:00
Priya Wadhwa
0acb06bd34
add flag for kubernetes version
2020-03-16 17:51:41 -07:00
Priya Wadhwa
c9c597c2e1
get last 30 releases of k8s from github
2020-03-16 17:48:00 -07:00
Priya Wadhwa
9c8102dd58
Refactor preload_images.go to generate and upload a preloaded tarball
...
This script is now responsible for making sure that the DefaultK8sVersion, NewestK8sVersion, and OldestK8sVersion supported by minikube have preloaded tarballs. It will be run on every PR as an automated release script for preloaded tarballs.
2020-03-13 16:05:46 -07:00
Thomas Stromberg
43ce409e79
Extra debugging for preload generation process
2020-03-11 13:09:55 -07:00
Priya Wadhwa
a03c239c93
Add k8s binaries to preloaded tarball
...
Include k8s binaries in preloaded tarball so that we can skip tranferring this over.
This increases the size of the tarball from around 430 MB to 500MB, but saves a couple seconds on start time.
2020-03-03 11:35:47 -08:00
Priya Wadhwa
3d291fd69e
Only add necessary directories to tarball
2020-03-02 17:20:46 -08:00
Priya Wadhwa
59615132a8
Include container runtime and tarball version in preloaded tarball name
2020-03-02 17:04:50 -08:00
Priya Wadhwa
4996b14a28
check for preloaded images before loading again
2020-03-02 15:10:40 -08:00
Priya Wadhwa
481010d8dc
added overlay2 to preloaded images tarball name
2020-03-02 14:10:41 -08:00
Priya Wadhwa
742b3e44d6
remove transfer binaries
2020-03-02 13:53:23 -08:00
Priya Wadhwa
697359b4f3
Fixed lint
2020-03-02 13:37:22 -08:00
Priya Wadhwa
6b0e942e7e
Rebased on master
2020-03-02 13:33:27 -08:00
Priya Wadhwa
19fa296625
Compress with lz4
2020-02-20 14:07:03 -08:00
Priya Wadhwa
97ea1b0b85
Remove preloaded base image and add makefile rule to upload prelaoded tar to gcs
2020-02-20 11:55:47 -08:00
Thomas Strömberg
d07412fa12
Fix unnecessary conversion (unconvert) ( #6607 )
2020-02-12 19:19:12 -07:00
Priya Wadhwa
a2564e4eed
Preload /var/lib/minikube/binaries
2020-02-10 18:51:05 -08:00
Priya Wadhwa
7f0f3dcbdd
Addressed review comments, still need to copy over /var/lib/minikube/binaries
2020-02-10 17:55:04 -08:00
Priya Wadhwa
c35bd75b5c
fix lint
2020-02-07 14:19:44 -08:00
Priya Wadhwa
4a0fb0eeb1
Add separate makefile target for preloaded images
...
and convert shell script to go script
2020-02-07 11:15:34 -08:00