Commit Graph

7681 Commits (33980cbc673022db6c0a0fa7c0b9585ec79ecd6a)

Author SHA1 Message Date
Medya Gh 33980cbc67 install riced gopogh 2020-02-14 09:50:07 -08:00
Medya Gh 716036074e improve github actions 2020-02-14 01:45:07 -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
Medya Ghazizadeh be33c7e9a8
Merge pull request #6629 from sharifelgamal/stopped
Stopped and running machines should count as existing
2020-02-13 23:12:33 -07:00
Nguyen Hai Truong 44692fb411
trivial fix typo: kubelets -> kubelet (#6632)
Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
2020-02-13 21:10:32 -07: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 744e389a66
Merge pull request #6556 from sharifelgamal/node-pkg
Create the Node subcommands
2020-02-13 16:11:04 -08:00
Medya Ghazizadeh d7976bb06c
improve github actions tests (#6610)
* trying to fix github actions a bit

* pass kubeconfig

* installing docker

* try try try

* trying tryin more

* copy test data for github action test too

* copy test data to correct place

* add more debugging

* add commit sha

* add commit status env var

* clean up

* upload all reports

* set env github actions

* fix github action upoad all

* gh action upload fix
2020-02-13 16:33:54 -07:00
Anders Björklund c977faf22e
Upgrade Docker, from 19.03.5 to 19.03.6 (#6618)
runc v1.0.0-rc10

    containerd v1.2.12
2020-02-13 15:44:14 -07:00
Anders Björklund f37a894035
Upgrade crio to 1.17.0 (#6624)
* Upgrade crio to 1.17.0

* Upgrade crio.conf to version v1.17.0
2020-02-13 15:43:28 -07:00
Anders Björklund 40bae89f63
Upgrade conmon version for podman (#6622) 2020-02-13 15:42:57 -07:00
Anders Björklund e87e2f1cc5
Upgrade podman to 1.6.5 (#6623) 2020-02-13 15:42:24 -07: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
Sharif Elgamal c1a3e4348d fix unit tests and fix merge conflicts 2020-02-13 10:30:12 -08:00
Medya Ghazizadeh 3bb1a57700
upload "per commit" logs for integration test (#6609)
* make set logs URLs per commit

* add logs per commit to commit status

* logs per commit

* add per commit logs for windows too

* fix windows test script virtualbox

* fix windows script

* forget about windows for now it errors

* fix pending script

* fix typo pending script
2020-02-13 11:27:32 -07: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
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
Sharif Elgamal 8c55c9ca60 holy crap cyclical import hell sucks 2020-02-12 18:34:44 -08: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
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
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