Commit Graph

2631 Commits (8691127c0a31ccd3dbdd7f102f4abbae7524ecc4)

Author SHA1 Message Date
Wietse Muizelaar 8691127c0a See if newer gvisor fixes the kvm build 2020-02-17 13:20:40 +01:00
Wietse Muizelaar 6077aa0146 Update gvisor runsc version 2020-02-17 13:20:40 +01:00
Medya Ghazizadeh 625900e362
Merge pull request #6605 from tstromberg/copy-confusion
sync: Fix path confusion and directory creation bugs
2020-02-15 00:46:53 -07:00
Medya Ghazizadeh f74c956701
Merge pull request #6625 from priyawadhwa/fail-fast
Fail fast if waiting for SSH to be available
2020-02-14 00:09:35 -07:00
tstromberg ccec3babb0 Merge conflict 2020-02-13 16:54:25 -08:00
Priya Wadhwa 59abf60d7e reinsert comment 2020-02-13 16:30:38 -08:00
Priya Wadhwa 01039b2020 rebased on master 2020-02-13 16:20:24 -08:00
Sharif Elgamal ba9463d933 Stopped and running machines should count as existing 2020-02-13 16:15:00 -08:00
Sharif Elgamal 6d8a112abe don\'t return that the machine doesn\'t exist if the k8s is stopped 2020-02-13 14:20:58 -08:00
Priya Wadhwa 8fc787bc20 Fail fast if waiting for SSH to be available
Integration tests were running long because we'd wait up to 22 minutes for SSH to succeed while creating the host. This commit introduces a two minute timer on creating the host. On my Macbook Pro with the docker driver, creating the host takes 5 seconds, so 2 minutes should be more than enough time.

Refer to #6608
2020-02-13 14:06:33 -08:00
Thomas Stromberg 19695856ee Skip mkdir if there is no work to be done 2020-02-13 11:47:19 -08:00
Sharif Elgamal c1a3e4348d fix unit tests and fix merge conflicts 2020-02-13 10:30:12 -08:00
Sharif Elgamal 2785d292f5 Merge branch 'master' of github.com:kubernetes/minikube into node-pkg 2020-02-13 10:15:04 -08:00
Medya Ghazizadeh 4c6b435f68
revert docker volume host path (#6616) 2020-02-13 10:57:23 -07:00
Tam Mach b911e8f038
Bump go-containerregistry to latest (#6073)
* Bump go-containerregistry to latest

Signed-off-by: sayboras <sayboras@yahoo.com>

* Fix integration for cache image
2020-02-13 02:20:32 -07:00
Sharif Elgamal 8c55c9ca60 holy crap cyclical import hell sucks 2020-02-12 18:34:44 -08:00
Thomas Strömberg f528df1f9a
Quote the node name to avoid YAML interpretation (#6606) 2020-02-12 19:15:23 -07:00
Medya Ghazizadeh 398c7ef00b
Add podman driver (#6515) 2020-02-12 19:11:44 -07:00
tstromberg 1f346e43e8 Remove unnecessary range arg 2020-02-12 15:20:58 -08:00
tstromberg 52eec8cf77 Add more tests 2020-02-12 15:12:02 -08:00
tstromberg 2313b72a7d sync: Fix path confusion and directory creation bugs 2020-02-12 14:26:38 -08:00
priyawadhwa af353314e0
Separate cached kubernetes binaries by OS on host machine (#6586)
* Separate cached kubernetes binaries by OS on host machine

This way, all kubernetes binaries stored in ~/.minikube/cache/linux will be copied over to the VM and used for `minikube kubectl` on linux machines. kubectl will be stored in `~/.minikube/cache/{windows or darwin}` on windows/darwin so that `minikube kubectl` still works.

* Review comment

* Update integration test

* Make sure --download-only includes OS specific kubectl

Update integration test to make sure we download
OS specific kubectl on darwin/windows when using --download-only flag
2020-02-11 23:23:37 -07:00
Sharif Elgamal b427dc5663 fixed commands, they mostly work now 2020-02-11 21:11:22 -08:00
Sharif Elgamal 9830d91c09 linting nonsense 2020-02-11 18:39:59 -08:00
Sharif Elgamal adc1a56903 search and replace cleanup 2020-02-11 17:11:23 -08:00
Sharif Elgamal 744efaa330 REFACTOR COMPLETE? 2020-02-11 17:06:59 -08:00
Sharif Elgamal b6a429dc9d hey did you want more files? good 2020-02-11 15:45:49 -08:00
Sharif Elgamal f2ebbb9c67 Merge branch 'master' of github.com:kubernetes/minikube into node-pkg 2020-02-11 09:44:10 -08:00
Sharif Elgamal 69aa54ff82
begin start refactor 2020-02-11 09:38:15 -08:00
Anders Björklund ff763db1e7
Add podman-env for connecting with podman-remote (#6351)
* Refactor: add the docker vars after the shell vars

* Move shell handling functions to separate package

* Rename env source file to docker-env like command

* Add podman-env for connecting with podman-remote

* Remove leading Shell prefix from the shell package

* Add some documentation describing podman service

* Address some podman-env issues pointed out by lint
2020-02-10 22:59:37 -07:00
Anders Björklund 96c33046be
TestCacheBinariesForBootstrapper in a temp dir (#6566)
I was wondering why I had "invalid version" in my cache dir.

The downloads should probably be mocked, would be faster too ?
2020-02-10 11:41:20 -07:00
go_vargo e18e4d083b
Fix `minikube start` in order to be able to start VM even if machine does not exist (#5730)
* fix startHost in order to be able to  start VM even if machine does not exist

* Update func StartHost() and its unit test no to use config.GetMachineName()

* Add handle case when the kic image isn't pulled
2020-02-10 11:37:30 -07:00
Zhongcheng Lao 239be7ed94 Create Hyper-V External Switch (#6264)
* Create and manager Hyper-V switch
* Adds new flag for Hyper-V driver
* Move switch creation out of chooseSwitch
Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>
2020-02-07 21:22:19 -07:00
Sharif Elgamal e1fc3ce734
let's rearrange some stuff 2020-02-07 17:00:24 -08:00
Thomas Strömberg 26c01be29d
Merge pull request #6549 from afbjorklund/cruntime-format
Fix usage of quotes in cruntime format strings
2020-02-07 15:15:45 -08:00
Thomas Strömberg b0608d6c75
Merge pull request #6545 from tstromberg/none-certs
Add ca-certificates directory for distros that do not include it
2020-02-07 14:37:48 -08:00
Anders F Björklund db1cdc42cf Fix usage of quotes in cruntime format strings
And add a missing test for ImageExists function
2020-02-07 22:34:32 +01:00
tstromberg 97f926eeb1 Use vmpath constants where possible 2020-02-07 13:06:00 -08:00
tstromberg 7ff41cfb7b Combine apiserver options with extraArgs 2020-02-07 10:53:57 -08:00
tstromberg f03641f053 Merge branch 'master' into none-certs 2020-02-07 09:36:32 -08:00
tstromberg 4c285f55e4 Add ca-certificates directory for distros that do not include it 2020-02-07 09:35:36 -08:00
Thomas Strömberg 10ef863f7d
Merge pull request #6527 from tstromberg/powershell-env
Bug-compatible refactor of docker-env + output tests
2020-02-06 21:57:25 -08:00
Thomas Strömberg 9b7573ee20
Merge pull request #6514 from priyawadhwa/rm-pull-images-kubeadm
Remove kubeadm pull images
2020-02-06 17:11:50 -08:00
Thomas Stromberg 32bc0ff76a Refactor docker-env for testability 2020-02-06 15:32:00 -08:00
Sharif Elgamal 60c8cfb03c Merge branch 'master' of github.com:kubernetes/minikube into node-pkg 2020-02-06 13:39:07 -08:00
Ruben 0b8fc8a1f6 fix v1.19 tests files 2020-02-05 21:52:07 -05:00
Ruben 0a1eed5d10 fix v1.18 tests files 2020-02-05 21:51:57 -05:00
Ruben d37172f476 add more versions to test 2020-02-05 21:51:04 -05:00
Sharif Elgamal eded9a17e1
Merge branch 'master' of github.com:kubernetes/minikube into node-pkg 2020-02-05 17:39:54 -08:00
Sharif Elgamal 8d365fcb03
shuffling stuff around for import purposes 2020-02-05 17:39:47 -08:00