Commit Graph

2844 Commits (6058197e99081dc0d68b9e333fd6b441e6900e3e)

Author SHA1 Message Date
Priya Wadhwa 6058197e99 fix lint 2020-03-05 12:52:41 -08:00
Priya Wadhwa 1e5d92c32b Only copy in preloaded tarball for VMs 2020-03-05 12:07:55 -08:00
Priya Wadhwa 05b9662b9f Remove extracting tarball to volume so that it only happens once for kic 2020-03-05 11:55:53 -08:00
Priya Wadhwa 2252de247d return 'not yet implemented' error 2020-03-05 11:34:14 -08:00
Priya Wadhwa 66b7dc3f7a fix unit tests 2020-03-05 11:33:02 -08:00
Priya Wadhwa fad655704e Always download preloaded tarball if available, otherwise cache images 2020-03-05 11:20:17 -08:00
Priya Wadhwa 0bc60fb553 rebased on master 2020-03-05 11:12:42 -08:00
Priya Wadhwa 1cac7786cc Use preload tarball for VMs
Since preloaded tarballs are container runtime specific, I added a Preload() func
to the cruntime interface. To use  it with VMs, the tarball is first
copied into the VM and then extracted. The leftover tarball is deleted,
and the container runtime (currently only docker is supported) is
restarted.
2020-03-05 10:44:34 -08:00
Thomas Stromberg 1a01b9450c Clarify logic around beginDownloadKicArtifacts 2020-03-05 10:23:51 -08:00
Priya Wadhwa 34adb345b2 Merge branch 'master' of github.com:kubernetes/minikube into preloaded-copy-vm 2020-03-05 10:22:16 -08:00
Thomas Stromberg 1f7ae5b35b Merge to master 2020-03-05 09:57:46 -08:00
Naveen Kumar Sangi b43977d7cc
fixHost: Use container word for kic drivers
Relates to https://github.com/kubernetes/minikube/issues/6859
2020-03-05 01:32:17 -06:00
Sharif Elgamal 1327f9d3a5
Merge pull request #6836 from sharifelgamal/machinename
Decouple machine name from profile/cluster name
2020-03-04 21:06:28 -08:00
Thomas Stromberg 883e108dce Fix hyperv import 2020-03-04 21:05:38 -08:00
Thomas Stromberg 9adf54388d lint cleanup 2020-03-04 20:49:49 -08:00
Thomas Stromberg 832fb6b4ab preload: check local cache and status codes 2020-03-04 20:42:05 -08:00
Thomas Stromberg 3e772d0048 Merge master 2020-03-04 20:18:16 -08:00
Medya Ghazizadeh 5b6c7835b3
Merge pull request #6874 from priyawadhwa/skip-cache
Only cache k8s images if necessary
2020-03-04 19:06:47 -08:00
Medya Ghazizadeh d5bc3fdc65
Merge pull request #6888 from sharifelgamal/driver
Switch --vm-driver paramter to --driver
2020-03-04 19:04:43 -08:00
Thomas Stromberg a1ebcbd031 Merge conflicts 2020-03-04 18:01:41 -08:00
Thomas Stromberg 39670fc06f Add download package & support URL fallback 2020-03-04 17:07:49 -08:00
Sharif Elgamal 4aafc5534c fix fix to fix fix 2020-03-04 16:38:22 -08:00
Sharif Elgamal 0ff12cafac Merge branch 'master' of github.com:kubernetes/minikube into machinename 2020-03-04 16:37:54 -08:00
Medya Ghazizadeh 9c1dbe745c
Merge pull request #6889 from tstromberg/symlink-inversion
Fix inverted certificate symlink creation logic
2020-03-04 16:29:18 -08:00
Sharif Elgamal a2dd34cd8c dummy commit to fix travis: 2020-03-04 16:20:55 -08:00
Priya Wadhwa c1d8025e87 Use preloaded tarball for VMs as well 2020-03-04 16:17:52 -08:00
Priya Wadhwa 2f4987894a code review comment 2020-03-04 15:09:24 -08:00
priyawadhwa d403da451b
Merge pull request #6870 from priyawadhwa/transfer-binaries
Add k8s binaries to preloaded tarball
2020-03-04 15:00:11 -08:00
Thomas Stromberg 42670e6e11 Update TestSetupCerts unit test to match code change 2020-03-04 14:59:25 -08:00
Thomas Stromberg d45471ca8d Add certificate sync integration test 2020-03-04 14:48:40 -08:00
Thomas Strömberg 41235a7ffa
Merge pull request #6816 from halmai/halmai-patch-1
give hint if 'minikube delete' cannot delete the machine directory
2020-03-04 14:44:12 -08:00
Sharif Elgamal eccb1d5e0a fix unit test 2020-03-04 14:43:42 -08:00
Sharif Elgamal a9db1d86d9 add TODO's for bootstrapper 2020-03-04 14:23:33 -08:00
Sharif Elgamal a3e000d850 addressing comments 2020-03-04 14:09:15 -08:00
Thomas Stromberg 3f40bdcc47 Fix inverted certificate symlink logic 2020-03-04 13:53:11 -08:00
Sharif Elgamal ac0c1bad42 missing files 2020-03-04 13:48:21 -08:00
Medya Gh f40c5a7b30 move funcs arround 2020-03-04 12:50:01 -08:00
Csongor Halmai be81a72310 removing extra space 2020-03-05 07:36:21 +11:00
Medya Gh 1d367aaf71 lint 2020-03-04 10:42:00 -08:00
Medya Gh db5903d3ed lint 2020-03-04 10:40:32 -08:00
Medya Gh 54df61d677 point to host daemon more places 2020-03-04 10:37:10 -08:00
Sharif Elgamal 8a732aeb8d actually fix hyperv 2020-03-04 10:28:28 -08:00
Medya Gh 5c5bfa7ef5 point to right docker 2020-03-04 10:27:56 -08:00
Medya Gh 6a62046e62 add warning and point to right docker 2020-03-04 10:22:20 -08:00
Sharif Elgamal 1001a47bb2 fix hyperv as well 2020-03-04 09:35:09 -08:00
Sharif Elgamal 1b35ea4f2d fix some driver calls 2020-03-04 09:24:38 -08:00
Sharif Elgamal 7fbabd4798 Merge branch 'master' of github.com:kubernetes/minikube into machinename 2020-03-04 09:24:17 -08:00
Pierre Ugaz a92e670642
skip phases in cmd whitelist for kubeadm
Signed-off-by: Pierre Ugaz <ulm0@innersea.xyz>
2020-03-04 02:59:18 -03:00
Priya Wadhwa 1a91304b8f Only cache images if necessary
We can skip caching k8s images if we are using the kic driver and a preloaded tarball for that k8s version exists.
2020-03-03 15:31:28 -08:00
Sharif Elgamal 3bb111a6fc
make sure machine name is properly backwards compatible 2020-03-03 13:49:01 -08:00