Medya Gh
47ed4bc23c
update lint version
2020-07-24 14:45:15 -07:00
Anders F Björklund
b3e5e709fa
Need to test storage driver of container runtime
2020-06-30 18:56:30 +02:00
Anders F Björklund
b87a837f2e
Use the actual storage driver name for cri-o
2020-06-28 09:49:50 +02:00
Anders F Björklund
1bf268c9f6
Generate cri-o container runtime preload tarball
2020-06-27 20:20:35 +02:00
Thomas Stromberg
9e95435e00
Add --cni flag, fix --network-plugin=kubenet
2020-06-23 20:10:25 -07:00
Medya Gh
123d1b6a74
add default versions to preload generation
2020-05-12 18:57:49 -07:00
Thomas Stromberg
436cee2d84
Fix minikube/kubernetes capitalization, make short help consistent
2020-05-07 14:12:10 -07:00
Priya Wadhwa
cfb1d21982
fix lint
2020-04-23 16:10:20 -07:00
Priya Wadhwa
ac5ef8b0ee
fix container runtime in params
2020-04-21 18:17:20 -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
d6ad34b920
missed one
2020-04-20 17:54:06 -07:00
Medya Gh
95eba3f734
delete prune
2020-04-20 17:51:59 -07:00
Medya Gh
3bd1608954
move exec inside func
2020-04-20 17:37:56 -07:00
Medya Gh
9eae9e544c
hack preload tune pull
2020-04-20 17:36:11 -07:00
Medya Gh
b774db38f3
retry up to 5 times
2020-04-20 16:29:07 -07:00
Medya Gh
f7ff943f78
retry image pull
2020-04-20 16:25:58 -07:00
Medya Gh
ef134c8519
err message improve
2020-04-20 16:20:10 -07:00
Medya Gh
3cd9a09fe4
return intead of exit
2020-04-20 16:18:33 -07:00
Medya Gh
cdd0944723
preload script clean up minikube
2020-04-20 16:17:38 -07:00
Medya Gh
c504f2febd
spell
2020-04-20 13:33:42 -07:00
Medya Gh
366dc8d127
add helper for img plull command
2020-04-20 13:13:37 -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
Thomas Stromberg
16a8c38682
none: Add support for OpenRC init (Google CloudShell)
2020-04-08 18:20:30 -07:00
Medya Gh
deb16d6751
copy kic overlay image only for docker run time tarball
2020-04-06 18:56:19 -07:00
Medya Gh
f72132b5ec
lint
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
c9c324242c
add newlines
2020-03-26 10:37:29 -07:00
Priya Wadhwa
2a1ee51083
add logging
2020-03-26 10:31:46 -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
efbe113a94
Add more logging to preload
2020-03-26 10:15:02 -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