Commit Graph

7640 Commits (4c6b435f687b01723ba09dd2b4c8a9327846a395)

Author SHA1 Message Date
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
Medya Ghazizadeh 25167e1b75
Fix docker-env and add unit and integration tests (#6604)
* Fix docker cert env in docker-env for docker driver

* add unit tests

* add integration tests for docker-env cmd

* lint

* fix lint

* merge conflict

* improve docker-env integraiton test

* linting
2020-02-13 02:17:11 -07:00
Rohan Maity ef99687a85
Spit details in format (#6564) 2020-02-12 23:13:12 -07:00
Thomas Strömberg d07412fa12
Fix unnecessary conversion (unconvert) (#6607) 2020-02-12 19:19:12 -07: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
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
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
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
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
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
tstromberg 2504989b9d Merge branch 'master' into none-certs 2020-02-07 12:49:06 -08:00
priyawadhwa 914e7de860
Merge pull request #6536 from tstromberg/wait-nada2
Add --install-addons toggle for users who don't want them
2020-02-07 11:47:24 -08:00
Priya Wadhwa 75d0ee5e87 Add target flag to build only kicbase for kicbase makefile target 2020-02-07 11:17:28 -08:00
Priya Wadhwa 4a0fb0eeb1 Add separate makefile target for preloaded images
and convert shell script to go script
2020-02-07 11:15:34 -08:00
Thomas Strömberg 666bde9688
Merge pull request #6540 from tstromberg/powershell-env-bugfixes
Fix a variety of bugs in `docker-env` output
2020-02-07 11:12:00 -08:00
David Taylor 9631d35a14
Add instructions for Windows host
Instructions for MacOS do not work as-is for Windows. Need to add an additional step.
2020-02-07 12:57:57 -06: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