Commit Graph

2860 Commits (6f463931239d419b94b37e53f7304bdab5a64f2f)

Author SHA1 Message Date
Sharif Elgamal 14af1fc14a
Merge pull request #6573 from wmuizelaar/bump-gvisor
Update gvisor runsc version
2020-02-19 11:50:54 -08:00
Thomas Strömberg f08f325d83
Merge pull request #6602 from tstromberg/v1.17.3
Bump default Kubernetes version to v1.17.3
2020-02-19 09:08:21 -08:00
Thomas Stromberg be1b471dea Address lint error 2020-02-18 10:16:01 -08:00
Thomas Stromberg a720355627 Merge branch 'sha256-checksum' of github.com:tstromberg/minikube into sha256-checksum 2020-02-18 08:32:12 -08:00
Jose Donizetti b201d4b5c9 Add glog logging 2020-02-18 13:29:56 -03:00
Medya Ghazizadeh 52c200a6cf
Merge pull request #6635 from medyagh/kic_volume
improve delete by labeling created docker volumes
2020-02-17 19:01:53 -08:00
Medya Gh 1da0a370ff code review comments 2020-02-17 10:55:53 -08:00
Jose Donizetti 2bfcb72b96 Remove not used code 2020-02-17 10:22:11 -03:00
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 Gh 3ce0164281 add logging for prune 2020-02-16 11:54:56 -08: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
Jose Donizetti b0d19e51b5 Refactor kic ssh tunnel 2020-02-14 21:01:32 -03:00
Jose Donizetti 08b0b654a0 Refactor PatchServicesIP 2020-02-14 13:01:43 -03:00
Jose Donizetti 073558e21e Add cleanup to kic tunnel 2020-02-14 12:43:26 -03:00
Medya Gh a007c0790c Delete volumes created by kic 2020-02-14 01:39:16 -08:00
Medya Gh a4ee4186bd create docker volumes explictily with a label 2020-02-14 01:01:53 -08: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
tstromberg 9b1d2da478 Return an entire options struct 2020-02-13 16:50:53 -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
tstromberg 250e00564b Select the checksum algorithm based on Kubernetes version 2020-02-13 14:57:03 -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
tstromberg 8c2115b292 Bump constants back to v1.17.3 2020-02-13 12:39:40 -08:00
tstromberg 8a58274441 Merge conflict 2020-02-13 12:39:21 -08:00
tstromberg 2ee5c20a1d Merge branch 'master' into sha256-checksum 2020-02-13 11:56:08 -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
Jose Donizetti 3f0fceb769 Add patch services 2020-02-13 11:36:25 -03: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 c25b03cf13 Update test data 2020-02-12 15:36:04 -08: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
tstromberg bf6f8bc708 Use SHA256 for Kubernetes release checksums 2020-02-12 13:31:17 -08:00
tstromberg 71c072ae02 Bump default Kubernetes version to v1.17.3 2020-02-12 13:29:33 -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
Priya Wadhwa 091db5ddb6 Remove kubeadm pull images 2020-02-05 16:23:19 -08:00
Thomas Strömberg 950fc79544
Merge pull request #6512 from tstromberg/gvisor-fixes
gvisor fixes for v1.7.0
2020-02-05 15:37:05 -08:00
Thomas Strömberg 4e9e37b3b5
Merge pull request #6508 from tstromberg/mkdir-p
Create directory using os.MkDirAll, as mkdir -p does not work on windows
2020-02-05 14:53:29 -08:00
tstromberg 77f74d82d7 Remove unused files var 2020-02-05 14:53:02 -08:00
Thomas Strömberg 88c51d7971
Merge pull request #6509 from tstromberg/faster-health
Remove pod list stability double check
2020-02-05 14:50:07 -08:00
Thomas Strömberg 852d6176bc
Merge pull request #6472 from vijaykatam/service_cidr_cluster_dns_fix
Use cluster-dns IP setup by kubeadm
2020-02-05 14:46:12 -08:00
tstromberg d66bcad56c Only run kubectl apply on YAML files 2020-02-05 14:41:05 -08:00
tstromberg 0feb68c350 Add /tmp/gvisor to list of required paths 2020-02-05 14:40:54 -08:00
Thomas Strömberg 2ecc120b2b
Merge pull request #6503 from tstromberg/faster-dryrun
Skip driver autodetection if driver is already set
2020-02-05 13:48:42 -08:00
Thomas Strömberg 88693f295f
Merge pull request #6156 from nanikjava/f-fix-5144
Customizing host path for dynamically provisioned PersistentVolumes
2020-02-05 13:02:10 -08:00
Thomas Stromberg 2ba6c111bb Remove extra log statements 2020-02-05 12:55:24 -08:00
tstromberg 8631246e76 Create directory using os.MkDirAll, as mkdir -p does not work on windows 2020-02-05 12:37:19 -08:00
tstromberg a0dc0756d7 goimports 2020-02-05 12:06:18 -08:00
tstromberg 7c301ec27b Merge branch 'master' into faster-dryrun 2020-02-05 12:05:43 -08:00
Sharif Elgamal cd83165aab
Fix lint error in start.go 2020-02-05 11:39:30 -08:00
Jose Donizetti 649d5c0f3f refactor createSSHTunnel 2020-02-05 16:36:54 -03:00
Thomas Strömberg 089a6c2cf3
Merge pull request #6150 from alonyb/update-kubeadm-v1beta2
Update kubeadm api version from v1beta1 to v1beta2
2020-02-05 11:34:00 -08:00
Thomas Strömberg 0d29a2ac7b
Merge branch 'master' into f-fix-5144 2020-02-05 11:32:32 -08:00
Sharif Elgamal 6d59d9d7df
Merge pull request #6200 from laozc/node-name
Use profile name as cluster/node name
2020-02-05 11:27:35 -08:00
Jose Donizetti 70c0e35c44 Refactor sshTunnelName 2020-02-05 16:24:23 -03:00
Thomas Stromberg 7f371d6374 Remove stability requirement to save 1s of startup time 2020-02-05 10:57:04 -08:00
Thomas Stromberg 80c0183f3d Skip driver autodetect if driver is already set 2020-02-05 10:48:04 -08:00
Vijay Katam cf8e247ae3 Use cluster-dns IP setup by kubeadm
Removed hardcoded `cluster-dns` IP 10.96.0.10, this allows kubelet to use `clusterDNS` configured by kubeadm in `/var/lib/kubelet/config.yaml`

Tested by starting minikube with `--service-cluster-ip-range=100.64.0.0/13` and verifying DNS resolution works.

/etc/systemd/system/kubelet.service.d/10-kubeadm.conf
```
[Unit]
Wants=docker.socket

[Service]
ExecStart=
ExecStart=/var/lib/minikube/binaries/v1.17.0/kubelet --authorization-mode=Webhook --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --cgroup-driver='cgroupfs' --client-ca-file=/v
ar/lib/minikube/certs/ca.crt --cluster-domain=cluster.local --config=/var/lib/kubelet/config.yaml --container-runtime=docker --fail-swap-on=false --hostname-override=minikube --kubeconfig=/e
tc/kubernetes/kubelet.conf --node-ip=192.168.64.7 --pod-manifest-path=/etc/kubernetes/manifests

[Install]
```

DNS resolution test
```
kubectl run -i --tty --rm busybox --image=busybox --restart=Never -- sh
If you don't see a command prompt, try pressing enter.
/ # nslookup kubernetes.io
Server:		100.64.0.10
Address:	100.64.0.10:53

Non-authoritative answer:
Name:	kubernetes.io
Address: 147.75.40.148
```

Fixes: https://github.com/kubernetes/minikube/issues/5727

fix lint errors
2020-02-05 10:28:16 -08:00
Jose Donizetti e0bccd044c Add uniq tunnel name - kic tunnel 2020-02-05 14:22:15 -03:00
Jose Donizetti 60c6116f2c Extract sshTunnel - kic tunnel 2020-02-05 13:58:38 -03:00
Thomas Strömberg 5795b7f312
Merge branch 'master' into obvious_denv 2020-02-05 08:14:56 -08:00
Jose Donizetti 0dfa069fd1 add support to multiple services - kic tunnel 2020-02-05 12:45:18 -03:00
Thomas Strömberg c9ec946b64
Merge pull request #6494 from tstromberg/filesync
Fix local assets sync broken by addons refactor
2020-02-04 21:40:54 -08:00
Thomas Strömberg 0bd4099cfc
Merge pull request #5678 from priyawadhwa/compare
[mkcmp] add code to time `minikube start` for each binary
2020-02-04 20:49:59 -08:00
Thomas Stromberg 478502a217 Skip ahead if we are running on bare metal 2020-02-04 20:16:40 -08:00
Thomas Stromberg 8a7d8dc715 Add debugging log statements to cluster startup 2020-02-04 18:59:00 -08:00
Sharif Elgamal dc0be4aed6
Merge branch 'master' of github.com:kubernetes/minikube into node-pkg 2020-02-04 17:29:31 -08:00
Medya Gh 435010a3fc pass profilename for testability 2020-02-04 16:35:51 -08:00
Jose Donizetti eda1c76fe5 add kic tunnel (alpha) 2020-02-04 21:33:56 -03:00
Medya Gh 4b9d15a34c point to host docker 2020-02-04 16:09:43 -08:00
Medya Gh 6c13146987 revert some changes 2020-02-04 15:48:20 -08:00
Medya Gh c86b20ade2 add option to exec runner to point to host docker daemon 2020-02-04 15:33:04 -08:00
tstromberg 4f78a3ce88 Use driver.IsMock 2020-02-04 15:28:09 -08:00
tstromberg 93bc050ec3 Merge branch 'master' into filesync 2020-02-04 15:27:25 -08:00
tstromberg 6189e9e6f7 Add unit tests back 2020-02-04 15:20:13 -08:00
tstromberg 6f6663ec77 Make filesync unit tests excellent again 2020-02-04 15:06:43 -08:00
Sharif Elgamal f41a10a98f
Fix up some unit tests 2020-02-04 15:01:40 -08:00
Medya Gh f6c7048392 use constants instead of hardcode 2020-02-04 13:30:23 -08:00
Medya Gh 3937bae269 add new env var for docker-env command 2020-02-04 13:25:22 -08:00
tstromberg 3db7713399 Remove more functions from the util package 2020-02-04 13:20:37 -08:00
tstromberg aea610b510 Add file sync support back to minikube 2020-02-04 13:19:17 -08:00
Thomas Strömberg d35c825a05
Split cluster package into multiple files (#6484)
* Split cluster package into multiple files

* Name restart/ressurect functions fix

* Minor refactor fixes
2020-02-04 11:25:33 -07:00
Thomas Stromberg 42ec2c8d6c Minor refactor fixes 2020-02-04 07:45:09 -08:00
Thomas Stromberg 9ca944934b Merge 2020-02-04 07:44:47 -08:00
Thomas Stromberg bb539cb05e Merge branch 'filesync' of github.com:tstromberg/minikube into filesync 2020-02-04 07:24:40 -08:00
tstromberg 35c572dd07 fixHost refactoring 2020-02-04 07:22:01 -08:00
Thomas Strömberg 62f65662d4
Merge pull request #6471 from tstromberg/addons-startup2
Fix bugs that prevented previously-enabled addons from starting up
2020-02-04 06:58:13 -08:00
Medya Gh 6c95a28c10 remove default crictl setting 2020-02-03 23:25:55 -08:00
Medya Gh 98dbe06758 remove debugging messages 2020-02-03 22:39:12 -08:00
Medya Gh e231e7ae96 rever dockefile changes 2020-02-03 22:32:08 -08:00
Medya Gh 92eeb3c10b refactor provision 2020-02-03 22:29:27 -08:00
Medya Gh a2f2df9f81 add options to docker service for kic 2020-02-03 20:21:41 -08:00
Priya Wadhwa 4f6deaf5dc Rebased on master 2020-02-03 16:31:11 -08:00
tstromberg 286396344c Name restart/ressurect functions fix 2020-02-03 16:24:36 -08:00
tstromberg 16fd9beea3 Split cluster package into multiple files 2020-02-03 16:19:43 -08:00
Thomas Strömberg 3f939af4b4
Merge branch 'master' into addons-startup2 2020-02-03 16:17:33 -08:00
Thomas Strömberg 901cb520b9
Merge pull request #6452 from tstromberg/none-paused
Fix none driver bugs with "pause"
2020-02-03 16:16:34 -08:00
Medya Ghazizadeh 3dd5495d2f
trim kic base image (#6478) 2020-02-03 16:31:52 -07:00
tstromberg e5e47db1c7 Choose the newest apiserver pid, and choose more exactly 2020-02-03 14:21:09 -08:00
tstromberg 4124fbdb69 Consider a paused apiserver to be controlled by a running host 2020-02-03 14:20:57 -08:00
tstromberg 04df96880e Merge branch 'master' into none-paused 2020-02-03 13:49:21 -08:00
tstromberg a8283d8a3c Fix lint issue 2020-02-03 13:48:30 -08:00
tstromberg 2eddd08ae9 Fix test signature 2020-02-03 12:57:52 -08:00
tstromberg 769dd93aa0 Oops, make sure we return the error code 2020-02-03 10:56:53 -08:00
tstromberg bcc186b908 Startup previously enabled addons 2020-02-03 10:49:40 -08:00
tstromberg 6cc2fc8e49 Call createRequiredDirectories when starting pre-existing VM's, add logging 2020-02-03 10:49:06 -08:00
Zhongcheng Lao fc85dd6d45
Handle node info in kubelet config 2020-02-03 22:31:59 +08:00
Zhongcheng Lao c6340c78e7
Fixes merge issue
Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>
2020-02-03 19:29:45 +08:00
Zhongcheng Lao f59a2891eb
Merge remote-tracking branch 'origin/master' into node-name 2020-02-03 19:16:57 +08:00
Ruben 7e22609904 Merge branch 'master' of https://github.com/kubernetes/minikube into update-kubeadm-v1beta2 2020-02-01 23:59:09 -05:00
Thomas Stromberg 1176aa468f More status logging 2020-01-31 19:00:59 -08:00
Thomas Stromberg cee9448fa0 Make none.GetState more intelligent to fix stop issues 2020-01-31 18:54:27 -08:00
Thomas Stromberg 7f0e83508a Add more logging 2020-01-31 18:44:00 -08:00
Thomas Stromberg eee5788ab3 Make deletion output more terse 2020-01-31 17:08:27 -08:00
Thomas Stromberg ae34f00928 Fix 'Failed to delete cluster: load: exit status 1' message if cluster does not exist 2020-01-31 17:00:11 -08:00
Thomas Stromberg ab93b27a70 Merge branch 'master' into none-paused 2020-01-31 16:38:00 -08:00
Thomas Strömberg e206b25da5
Merge pull request #6440 from tstromberg/addons-on-startup
Add addon enablement to start
2020-01-31 16:25:30 -08:00
Thomas Stromberg dd4ad10b83 Improve handling of paused none clusters. 2020-01-31 16:23:25 -08:00
Thomas Stromberg 5c7585a2c8 Lint fix 2020-01-31 14:26:04 -08:00
Thomas Stromberg c3aafaeeb4 Add IsNotExist() method to the config package, so that we can have meaningful error messages and make them comparable 2020-01-31 14:19:08 -08:00
Thomas Stromberg a7ac0339fd Address eview feedback 2020-01-31 13:24:30 -08:00
Thomas Stromberg 02362d8d9c Loosen error message matching for unit test 2020-01-31 12:55:56 -08:00
Thomas Stromberg f6740b37be Run gofmt/goimports 2020-01-31 12:37:23 -08:00
Thomas Stromberg 26cbae2d05 Improve error message when profile does not exist 2020-01-31 12:36:28 -08:00
Thomas Stromberg 78ed12265d Add testing for Start function, make addon enablement testable 2020-01-31 12:19:25 -08:00
Medya Gh 0e5059ddd0 log warning if docker is stuck 2020-01-30 21:36:56 -08:00
Medya Gh a6ec05e35a unexport noderolekey 2020-01-30 21:05:51 -08:00
Medya Gh 968fe86869 unexport more funcs 2020-01-30 21:01:27 -08:00
Medya Gh 006c781fbc remove unused kic code 2020-01-30 20:44:32 -08:00
Medya Gh 7b3fa71dbf fix nil logic 2020-01-30 19:21:55 -08:00
Medya Gh 4f9df4596e fix kic minikube status 2020-01-30 18:30:19 -08:00
Medya Gh be38a021cb fix kic restart use external ip 2020-01-30 18:24:16 -08:00
Medya Gh 23e125649d rename createConfig 2020-01-30 18:13:11 -08:00
Medya Gh b20322a8c2 rename funcs 2020-01-30 18:12:04 -08:00
Medya Gh a709fd5d37 rename funcs 2020-01-30 18:10:36 -08:00
Medya Gh 80b4121c06 delete stale 2020-01-30 17:46:40 -08:00
tstromberg b97124207c Move addon enablement to addons module + lint fixes 2020-01-30 17:46:25 -08:00
Medya Gh e7fa3e0448 remove duplicate profile names 2020-01-30 17:11:11 -08:00
Medya Gh 5b055d7ff8 add comment 2020-01-30 16:57:53 -08:00
Medya Gh 58b637b05f delete all cleans up stale kic profiles 2020-01-30 16:42:14 -08:00
Medya Gh 8e0ffdf1cf resolve conflict 2020-01-30 16:20:55 -08:00
tstromberg d5a83c7b24 Add addon enablement to start 2020-01-30 15:54:04 -08:00
Medya Ghazizadeh 4bf3fc422a
Add docker run-time for kic driver (#6436)
* Add docker container run time for kic
2020-01-30 14:30:04 -08:00
Thomas Strömberg eeb867f387
Merge pull request #6243 from afbjorklund/coredns-arch
Do not use an arch suffix for the coredns name
2020-01-30 14:23:40 -08:00
Thomas Strömberg 50c32d2d08
Merge pull request #6380 from akshaysu12/UpdateRegistryCredsCreateSecret
Prevent registry-creds configure from failing when a secret does not exist.
2020-01-30 14:07:27 -08:00
tstromberg a1d291fd0d Handle cert symlinks that point to a nonexistent file 2020-01-30 11:59:47 -08:00
Sharif Elgamal 3cbe879d7e
node add works 2020-01-30 09:02:01 -08:00
Ruben 7f17203045 fix unittest 2020-01-29 22:58:03 -05:00
Ruben 34bb09c8e0 add beta2 files 2020-01-29 21:35:33 -05:00
Thomas Strömberg 775186b3ef
Add a 2-second timeout to driver detection commands (#6422) 2020-01-29 16:12:18 -08:00
Medya Ghazizadeh e725104e2f
improve checking modprob netfilter (#6427) 2020-01-29 14:47:23 -08:00
Sharif Elgamal a539efc43c Merge branch 'master' of github.com:kubernetes/minikube into node-pkg 2020-01-29 11:03:15 -08:00
Medya Ghazizadeh d99007f201
Merge pull request #6322 from chancez/metrics_listen_addrs
Configure etcd and kube-proxy metrics to listen on minikube node IP
2020-01-28 20:33:02 -08:00
Sharif Elgamal 593d3fc73e moving packages around 2020-01-28 17:09:00 -08:00
akshay 2ba3116254 Update create secret in service so registry creds add on does not fail when a secret does not exist. 2020-01-28 07:15:38 -08:00
Ruben 975f720518 Merge branch 'master' of https://github.com/kubernetes/minikube into update-kubeadm-v1beta2 2020-01-28 07:53:13 -05:00
Sharif Elgamal ae8309f1e1
Merge branch 'master' of github.com:kubernetes/minikube into node-pkg 2020-01-27 17:59:53 -08:00
Sharif Elgamal 317dd41138
moving node package around 2020-01-27 17:59:35 -08:00
Ruben b365692372 get master changes 2020-01-25 22:27:46 -05:00
Ruben aaff16052f Merge branch 'master' of https://github.com/kubernetes/minikube into update-kubeadm-v1beta2 2020-01-25 21:44:56 -05:00
Ruben e8e3a6fe6b delete an empty line 2020-01-25 21:09:08 -05:00
Medya Gh b3404a70e6 patch node refactor for kic 2020-01-24 19:03:50 -08:00
Sharif Elgamal 8db7f59b1e
Merge branch 'master' of github.com:kubernetes/minikube into node-pkg 2020-01-24 16:08:22 -08:00
Sharif Elgamal de0573784e
ok it builds again 2020-01-24 16:01:14 -08:00
Sharif Elgamal 9a49c587d5
Merge branch 'master' of github.com:kubernetes/minikube into m2 2020-01-24 15:54:04 -08:00
Thomas Strömberg 892cfb8514
Merge pull request #6385 from tstromberg/faster-docker
Batch file manipulation calls to reduce number of redundant commands
2020-01-24 15:47:44 -08:00
Thomas Strömberg d8a5714b00
Merge pull request #6392 from tstromberg/v1.17.2-simple-bump
Update DefaultKubernetesVersion to v1.17.2
2020-01-24 15:46:21 -08:00
Thomas Strömberg 82e096a7a1
Merge pull request #6390 from medyagh/kic_bindip
kic driver: add multiple profiles and ssh
2020-01-24 15:45:51 -08:00
Sharif Elgamal 5c906d33f3
fix unit tests 2020-01-24 15:03:27 -08:00
Medya Gh 7cf8ed1edc lint 2020-01-24 14:52:27 -08:00
Medya Gh ba3965b076 specify SSH username 2020-01-24 14:42:28 -08:00
Medya Gh 83dd9fc4ff Bump kic base image for ssh 2020-01-24 14:20:49 -08:00
Medya Gh c6c0046c57 let docker/podman choose hostbind port 2020-01-24 14:15:48 -08:00
tstromberg 9aeae2df65 Fix tests 2020-01-24 13:57:07 -08:00
Sharif Elgamal 58ba813a9c
controlplane and worker are bools now magiiiiic 2020-01-24 13:54:41 -08:00
Sharif Elgamal 0b460e6cb7
master is no longer a thing 2020-01-24 13:24:38 -08:00
tstromberg dd4a089fa1 Merge branch 'faster-docker' of github.com:tstromberg/minikube into faster-docker 2020-01-24 13:21:04 -08:00
Thomas Stromberg 41709d2bb8 Merge branch 'master' into faster-docker 2020-01-24 13:20:33 -08:00
tstromberg 2e24d7a123 Combine error conditions 2020-01-24 13:08:26 -08:00
tstromberg 817da0e884 Merge branch 'master' into faster-docker 2020-01-24 11:59:26 -08:00
tstromberg c43aea690d Update DefaultKubernetesVersion to v1.17.2 2020-01-24 11:58:23 -08:00
Sharif Elgamal 0681830be4
io.ReadSeeker for all the Assets readers 2020-01-24 11:55:59 -08:00
Sharif Elgamal ad03309ab6 Adding the initial node cmd and pkg files 2020-01-24 11:40:27 -08:00
Sharif Elgamal 9953cc2250
GetMasterNode -> MasterNode 2020-01-24 11:14:55 -08:00
Sharif Elgamal 77d838d3d2
Merge branch 'master' of github.com:kubernetes/minikube into m2 2020-01-24 10:50:57 -08:00
tstromberg 35f1e58583 Merge conflict 2020-01-24 10:40:26 -08:00
Medya Gh 2bd169f508 add config fields for kic SSH and API ports 2020-01-23 23:51:41 -08:00
Medya Gh ca0f4c7e20 generate ssh keys for kic container 2020-01-23 19:20:44 -08:00
Medya Gh 09d9d05c6b generate ssh certs for kic during creation 2020-01-23 18:43:26 -08:00
Medya Gh 3d5c9ae870 implement SSHPortName for kic 2020-01-23 18:28:32 -08:00
Medya Gh 1e05b11703 Add ssh to kic image 2020-01-23 18:24:51 -08:00
Medya Gh 773510b9c1 Add ssh to kic container image 2020-01-23 17:45:50 -08:00
Medya Gh 5191659ff2 bind ip use const instead of string 2020-01-23 17:28:30 -08:00
Thomas Stromberg a9bc13b403 Address pause code review feedback 2020-01-23 15:44:30 -08:00
Thomas Stromberg a8d3ef580b Merge branch 'pause' of github.com:tstromberg/minikube into pause 2020-01-23 15:06:37 -08:00
Sharif Elgamal fa4322e89a remove all references to MachineConfig.ContainerRuntime 2020-01-23 13:50:31 -08:00
Sharif Elgamal 6a01d6b25b prefer getting master node over calling Nodes[0] 2020-01-23 13:26:50 -08:00
Sharif Elgamal de3caceccb Merge branch 'master' of github.com:kubernetes/minikube into m2 2020-01-23 13:21:38 -08:00
Sharif Elgamal 791f28ff4c things work now 2020-01-23 13:21:21 -08:00
Thomas Stromberg e9f6aa106f test fixing 2020-01-23 12:53:33 -08:00
Thomas Stromberg 412e78e54c minimize the number of commands executed 2020-01-23 11:11:28 -08:00
Thomas Stromberg a20942ff2d Merge branch 'master' into pause 2020-01-23 07:46:44 -08:00
Sharif Elgamal d7ea60d610 fix up tests for new config format 2020-01-22 18:49:58 -08:00
Sharif Elgamal 8b2a05a565 Merge branch 'master' of github.com:kubernetes/minikube into m2 2020-01-22 17:18:30 -08:00
Thomas Strömberg 5fa7935571
Merge pull request #6376 from priyawadhwa/fix-dashboard
Fix dashboard by using kubectl apply/delete instead of prune for addons
2020-01-22 16:03:18 -08:00
tstromberg 1a13055d00 Add integration tests 2020-01-22 15:50:09 -08:00
Priya Wadhwa 49b0cb1c9c create dashboard ns first so that everything else can be created after 2020-01-22 15:16:56 -08:00
Priya Wadhwa 8d8ea98378 check cmd.Remove error for linting 2020-01-22 15:11:33 -08:00
tstromberg 22de8c110a Return the number of containers paused 2020-01-22 15:07:44 -08:00
tstromberg b81960e37c Fix none driver 2020-01-22 14:28:18 -08:00
Priya Wadhwa 15a5209841 Update unit tests 2020-01-22 14:23:32 -08:00
tstromberg dccc41748b Merge branch 'master' into pause 2020-01-22 14:18:32 -08:00