Commit Graph

7811 Commits (dcbf242192bc3133c7ccceb5f50df0c207360b2e)

Author SHA1 Message Date
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 434176ffad
Merge pull request #6531 from priyawadhwa/kic-preload-images
Provide images with pre-loaded Kubernetes images & binaries
2020-02-12 09:55:09 -08:00
Priya Wadhwa df8faad4bf Rebased on master, moved integration test to functional test 2020-02-12 09:54:17 -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 8de1f8ba51 revert changelog change 2020-02-11 17:08:15 -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
priyawadhwa b0edc720b4
Don't install recommended packages in kic base image (#6589)
This reduces base image size from 816MB to 673MB (17.5% reduction)
2020-02-11 16:38:10 -07:00
Priya Wadhwa 1b196a6cbd Add integration test for minikube kubectl command 2020-02-11 14:05:06 -08:00
Priya Wadhwa 996f4e7ede Update integration test 2020-02-11 13:22:08 -08:00
Priya Wadhwa 0e84fd61ea Review comment 2020-02-11 11:56:16 -08:00
Priya Wadhwa c04a0c55d6 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.
2020-02-11 10:58:09 -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
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
anencore94 a283fd695a
Fix to kubeConfigPath could be set from env (#6568)
* Fix to kubeConfigPath could be set from env

Fix to use kubeConfigPath by using kubeconfig.PathFromEnv
function not from just $HOME/.kube/config

Co-authored-by: sopahlHong <hongsophal.hsp@gmail.com>
Co-authored-by: woohhan <woohhan@gmail.com>
Signed-off-by: anencore94 <anencore94@kaist.ac.kr>

* Delete redundant logic to get kubeConfigPath

- change to use already present util function
 to set up kubeConfigPath

Co-authored-by: sopahlHong <hongsophal.hsp@gmail.com>
Co-authored-by: woohhan <woohhan@gmail.com>
Signed-off-by: anencore94 <anencore94@kaist.ac.kr>

Co-authored-by: SOPHAL HONG <hongsophal.hsp@gmail.com>
Co-authored-by: Woohyung Han <woohhan@gmail.com>
2020-02-10 16:08:07 -07:00
Sharif Elgamal 1ce8efde52
Merge pull request #6571 from truongnh1992/docs
docs: fix some typos
2020-02-10 13:55:59 -08:00
anencore94 6540cfaf31
Update delete-config-context test (#6567)
update the test to use exitcode as as assertion
and to print stdout for debugging easily in error
case

Signed-off-by: anencore94 <anencore94@kaist.ac.kr>
2020-02-10 13:44:53 -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 6a3fb3d54d
Update tiller image v2.14.3 → v2.16.1 (#6575) 2020-02-10 11:40:15 -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
priyawadhwa e54a75b24a
Merge pull request #6572 from brb/cgroup-bpf
Enable CONFIG_CGROUP_BPF
2020-02-10 09:55:15 -08:00
Martynas Pumputis e41cc60c0d Enable CONFIG_CGROUP_BPF
This commit adds CONFIG_CGROUP_BPF=y to the minikube kernel config,
which enables running eBPF cgroup programs.

An example of a producer of such programs is Cilium CNI.

Signed-off-by: Martynas Pumputis <m@lambda.lt>
2020-02-10 10:55:17 +01:00
Nguyen Hai Truong 7c2ef6d81e docs: fix some typos
Although it is spelling mistakes, it might make affects while reading.

Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
2020-02-10 15:51:06 +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 bbc054b9d3
Merge pull request #6555 from tstromberg/v1.7.2
Update latest_release to v1.7.2
2020-02-07 16:42:41 -08:00
Thomas Strömberg 23939909fb
Merge pull request #6554 from minikube-bot/jenkins-releases.json-v1.7.2
update releases.json to include v1.7.2
2020-02-07 16:41:34 -08:00
Thomas Strömberg a3fb05de71
Merge pull request #6526 from tstromberg/storage-provisioner-tag
Makefile: push docker images to latest instead of specific revisions
2020-02-07 16:30:32 -08:00
minikube-bot ff27be62b6 Update releases.json to include v1.7.2 2020-02-07 16:26:57 -08:00
tstromberg 610c2fef8c Update latest_release to v1.7.2 2020-02-07 16:25:11 -08:00
Thomas Strömberg 50d543b5fc
Merge pull request #6553 from tstromberg/v1.7.2
Release bump for v1.7.2
2020-02-07 16:21:36 -08:00
tstromberg e8b38b8d8b Release bump for v1.7.2 2020-02-07 16:21:06 -08:00
Thomas Strömberg 8762c48921
Merge pull request #6541 from anencore94/deleteContext
Fix to delete context when delete minikube
2020-02-07 16:15:56 -08:00
Thomas Strömberg 2c08f62ed2
Let DeleteContext determine the KUBECONFIG path 2020-02-07 15:34:31 -08:00
Thomas Strömberg f4da94f647
Merge pull request #6552 from tstromberg/homebrew-auto
Update script to use bump-formula-pr
2020-02-07 15:21:44 -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 Stromberg 656ddf43ca Update script to use bump-formula-pr 2020-02-07 15:11:22 -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
Thomas Strömberg 82326fe55a
Merge pull request #6547 from tstromberg/apiserver-extra-opts
kubeadm template: Combine apiserver certSANs with extraArgs
2020-02-07 14:37:13 -08:00
Priya Wadhwa c35bd75b5c fix lint 2020-02-07 14:19:44 -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
Thomas Strömberg 07c5f6bc37
Merge pull request #6548 from CrossBound/master
Add instructions for using the minikube registry with Docker for Windows
2020-02-07 13:17:52 -08:00
tstromberg 97f926eeb1 Use vmpath constants where possible 2020-02-07 13:06:00 -08:00