Commit Graph

4117 Commits (196789f965f46f706966b4edb652658b7193e247)

Author SHA1 Message Date
Priya Wadhwa 15088526cd clean up comments 2020-06-04 11:05:52 -07:00
Priya Wadhwa 7dfea631d4 Refactor downloading kic base image 2020-06-04 10:48:38 -07:00
Marcin Maciaszczyk 5f6391783a Update versions in the other files 2020-06-04 09:20:32 +02:00
Marcin Maciaszczyk 57c6340982 Update dashboardFrontend and dashboardMetrics functions 2020-06-04 09:08:05 +02:00
Medya Ghazizadeh 4eb09e760b
Merge pull request #8275 from ashleyschuett/add-kubevirt-addon
Add KubeVirt addon
2020-06-03 22:23:09 +00:00
Medya Gh 7b01b2aef5 update comment 2020-06-03 14:50:03 -07:00
Medya Gh 98d577d229 add more checks for wsl 2020-06-03 14:47:43 -07:00
Medya Gh 276f99b551 improve comment 2020-06-03 14:40:43 -07:00
Medya Gh 02749de984 detect wsl and add port forward 2020-06-03 14:39:34 -07:00
Marcin Niemira 66bb306060
minor refactor 2020-06-02 15:00:19 +10:00
Anders F Björklund 05459a2e42 Add digest to image in daemon after pulling it
The image was added with digest "none", which caused it to be
written to daemon again next time since reference didn't match.
2020-06-01 23:16:32 +02:00
Prasad Katti c061113553 Move some kubelet config to the config file instead of command line 2020-05-31 18:54:39 -07:00
Marcin Niemira 08773015d5
Unify code 2020-05-31 19:06:57 +10:00
Marcin Niemira 366d6c370c
mock shell in test 2020-05-31 15:58:56 +10:00
Marcin Niemira ae2ceee8e4
minor cleanup 2020-05-31 15:32:57 +10:00
Marcin Niemira 168f67bf39
setup fallback to default everywhere 2020-05-31 13:55:44 +10:00
Marcin Niemira 666cd20b51
Merge branch 'master' of github.com:kubernetes/minikube into add-tests-to-minikube-shell 2020-05-31 13:40:29 +10:00
Marcin Niemira d1032515ce
usage hint as function 2020-05-31 13:39:41 +10:00
Marcin Niemira 54a9b35a82
fix bug intruduced by refactor 2020-05-31 13:20:48 +10:00
Marcin Niemira a678b0fb19
ensure all shells set/unset are gren with orginal code 2020-05-31 13:14:25 +10:00
sakshamkhanna 5baa8b7d3f fix import 2020-05-31 02:44:31 +05:30
sakshamkhanna 030f38e9f7 added mutex lock over teePrefix() 2020-05-31 02:02:47 +05:30
Marcin Niemira 81073a0561
use struct instead of map
remove gosec warnings
2020-05-30 20:34:53 +10:00
Priya Wadhwa fae412b703 Fix floating point 2020-05-29 15:14:01 -07:00
Priya Wadhwa d87ca2c217 Add support for docker driver to mkcmp 2020-05-29 14:18:28 -07:00
priyawadhwa abba4b3db5
Merge pull request #8091 from priyawadhwa/open
Add support for timing per log and printing out timings per log to mkcmp
2020-05-29 13:52:47 -07:00
Medya Gh 488e2003f4 fix image digest 2020-05-29 12:19:59 -07:00
Medya Gh bc8c3faf86 add docker hub fall back image 2020-05-29 11:55:21 -07:00
Marcin Niemira 49c3a73563
Add tests to minikube shell
Refactor shell.go to use nested structure for shell - prefix/suffix mapping
2020-05-30 01:34:07 +10:00
Ashley Schuett 5dafe6bc84
Add KubeVirt addon 2020-05-29 09:52:18 +02:00
Medya Ghazizadeh 77419ee925
Merge pull request #8154 from priyawadhwa/kvm-flake
Upgrade oldest k8s version supported to 1.13
2020-05-28 21:18:01 +00:00
Medya Gh 4b280ab362 bump default kubernetes version 2020-05-28 13:44:57 -07:00
Medya Ghazizadeh ea20609a3a
Merge pull request #8161 from concaf/concaf/addons/ambassador
Add Ambassador Ingress controller as an addon
2020-05-28 18:08:41 +00:00
Priya Wadhwa fa6c446374 Bump up major version to 13 2020-05-28 11:08:07 -07:00
Sharif Elgamal 4f0613929f
Merge pull request #7973 from sharifelgamal/restart
Make sure multinode clusters can survive restarts
2020-05-27 17:41:57 -07:00
Sharif Elgamal 96f34ea063 fix tests 2020-05-27 15:54:07 -07:00
Sharif Elgamal 7224064b23 respect native-ssh param properly 2020-05-27 15:19:32 -07:00
Sharif Elgamal a7e483a8a4 let's simplify kubeadm again 2020-05-27 10:17:01 -07:00
Sharif Elgamal d0753347b5 Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-27 09:58:22 -07:00
Sharif Elgamal b5167834d0 it works! and simpler 2020-05-27 09:58:03 -07:00
Medya Ghazizadeh 1bfdc4b0d1
Merge pull request #8129 from blues-man/master
Addons: add OLM support
2020-05-26 23:26:20 +00:00
Mikhail Zholobov 2b8bac695e
Apply code review changes
Rename "cmd*" var to "bin*" in the parallels-specific block
2020-05-23 23:08:10 +02:00
Mikhail Zholobov c22a92f9bf
Add HostIP implementation for parallels driver 2020-05-23 20:35:55 +02:00
Mikhail Zholobov 49905d8fea
Remove Parallels from the list of supported drivers for Linux
Parallels Desktop works only on macOS (Darwin)
2020-05-23 16:32:28 +02:00
Sharif Elgamal e225968194 Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-21 15:44:31 -07:00
Medya Ghazizadeh ad437c2c9c
Merge pull request #8229 from afbjorklund/docker-inspect
kic: explicitly provide the type in inspect commands
2020-05-21 22:44:20 +00:00
Sharif Elgamal bde6624365 Merge branch 'postmortem' of github.com:sharifelgamal/minikube into restart 2020-05-21 14:54:21 -07:00
Sharif Elgamal 39f6806626 add info log for retrieving node by machine name 2020-05-21 14:35:46 -07:00
Sharif Elgamal a7c49e47c1 allow minikube status to display for one node 2020-05-21 12:46:13 -07:00
Anders F Björklund 14937e4677 Never use docker inspect, always provide the type
Should avoid errors like: map has no entry for key "State"

When inspecting a volume, rather than a container or image
2020-05-21 17:20:53 +02:00
Medya Ghazizadeh 25045cfc87
Merge pull request #8225 from medyagh/gh_package_login
exit with usage when need login to image registry
2020-05-21 05:36:29 +00:00
Medya Gh 2c0719e9b4
fix spelling 2020-05-20 17:32:18 -07:00
Medya Gh dcbcecdd35
remnove debugging 2020-05-20 17:09:15 -07:00
Medya Gh 489495d04b
resolve review comments 2020-05-20 17:07:50 -07:00
Medya Gh 493b35bd45
remove debugging statements 2020-05-20 16:51:19 -07:00
Medya Gh e2eade2aaf
remove debugging 2020-05-20 16:47:48 -07:00
Medya Gh 131eb2a85b
exit with usage when need login to github 2020-05-20 16:46:43 -07:00
Sharif Elgamal 95584eac43 skip start/stop on github actions 2020-05-20 16:08:44 -07:00
Sharif Elgamal 13f0b87f59 better debugging 2020-05-20 15:49:17 -07:00
Sharif Elgamal d5f9490ced Merge branch 'node-delete-vol' of github.com:sharifelgamal/minikube into restart 2020-05-20 15:00:58 -07:00
Sharif Elgamal 01145c3c99 Merge branch 'master' of github.com:kubernetes/minikube into node-delete-vol 2020-05-20 14:59:31 -07:00
Sharif Elgamal bbf4d66b48 delete docker volumes when deleting a single node 2020-05-20 14:59:03 -07:00
Sharif Elgamal 3caad25d0e lint 2020-05-20 14:41:15 -07:00
Sharif Elgamal 43d37ec9f3 debugging 2020-05-20 14:19:50 -07:00
Sharif Elgamal dd7e57e110 Merge branch 'restart' of github.com:sharifelgamal/minikube into restart 2020-05-20 13:14:17 -07:00
Sharif Elgamal 49cc6ae259 revert old unrelated changes: 2020-05-20 13:13:57 -07:00
Sharif Elgamal 70198d807d
Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-20 12:55:07 -07:00
Sharif Elgamal 6abb399668 make sure to call the correct control plane address 2020-05-20 11:28:35 -07:00
Sharif Elgamal f04798727d Merge branch 'master' of github.com:kubernetes/minikube into ip-save 2020-05-19 20:58:42 -07:00
Medya Ghazizadeh add572c1c9
Merge pull request #8216 from sharifelgamal/volume-del
multinode: delete worker volumes for docker driver
2020-05-20 00:43:19 +00:00
Medya Ghazizadeh 327ba9e1ab
Merge pull request #8198 from medyagh/fix_proxy
fix proxy env not being passed to docker engine
2020-05-19 23:59:19 +00:00
Sharif Elgamal ee5696ffa4 Merge branch 'volume-del' of github.com:sharifelgamal/minikube into restart 2020-05-19 16:34:54 -07:00
Sharif Elgamal 6eb0200dae delete worker node volums for docker driver 2020-05-19 16:32:48 -07:00
Sharif Elgamal c603467c3e Merge branch 'ip-save' of github.com:sharifelgamal/minikube into restart 2020-05-19 16:00:12 -07:00
Sharif Elgamal 0ec156dbb9 remove debugging, add comments 2020-05-19 15:31:14 -07:00
Sharif Elgamal da91c6fee1 refactor saving IP to node 2020-05-19 15:12:05 -07:00
Priya Wadhwa 64e44ec02f Respect --wait flag on soft start 2020-05-19 10:31:28 -07:00
Shubham 4a4a470fff Add Ambassador addon 2020-05-19 18:13:57 +05:30
Medya Gh 5640da0cb4 lint 2020-05-18 22:52:01 -07:00
Medya Gh 32bf4d46a7 add unique 2020-05-18 18:26:11 -07:00
Medya Gh 80d1c8741d improve unit test log 2020-05-18 18:17:45 -07:00
Medya Gh 2f2a8357a8 fix proxy envs not being passed to docker engine 2020-05-18 18:04:45 -07:00
Sharif Elgamal 46fe5c4ac1 Merge branch 'master' of github.com:kubernetes/minikube into ip-save 2020-05-18 11:56:39 -07:00
Sharif Elgamal faf11e2f05 Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-18 11:55:07 -07:00
Sharif Elgamal 2754bb6319
Merge pull request #8095 from sharifelgamal/create-node
recreate existing control plane node correctly
2020-05-18 11:50:39 -07:00
Sharif Elgamal 38d59ea2cc Merge branch 'create-node' of github.com:sharifelgamal/minikube into ip-save 2020-05-18 11:26:38 -07:00
Sharif Elgamal a451577e24 move node ip save farther down stack 2020-05-15 17:08:10 -07:00
Sharif Elgamal 4cbeb18079 stuff 2020-05-15 15:33:03 -07:00
Sharif Elgamal 1cc7404e76 swap to bool 2020-05-15 15:24:33 -07:00
Sharif Elgamal 5b53495b46 Merge branch 'master' of github.com:kubernetes/minikube into apiserver-crt 2020-05-15 14:56:04 -07:00
Sharif Elgamal 6d6bad6217 Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-15 13:59:35 -07:00
Sharif Elgamal 475bcc889c move condition around for clarity 2020-05-14 14:12:26 -07:00
Natale Vinto b6c19f6223 Addons: add OLM support 2020-05-14 11:16:23 +02:00
Anders F Björklund a4d872faee Fix some minor gofmt and golint issues
So that "make gofmt" and "make golint" go green again
2020-05-14 07:50:29 +02:00
Sharif Elgamal 70bec7a1e2 Merge branch 'master' of github.com:kubernetes/minikube into apiserver-crt 2020-05-13 09:23:59 -07:00
Medya Gh 9de7f4630a dont change oldest 2020-05-12 19:33:16 -07:00
Medya Gh 5e17545c19 fix a comment 2020-05-12 17:55:15 -07:00
Medya Ghazizadeh 3c84c3cf31
Merge pull request #8099 from medyagh/update_kube_ver
update Kubernetes version to v1.18.2
2020-05-13 00:46:20 +00:00
Medya Ghazizadeh 522c746df4
Merge pull request #8106 from sharifelgamal/vbox
fix virtualbox IP address retrieval
2020-05-13 00:08:36 +00:00
Sharif Elgamal 50a3266a8a fix virtualbox IP address retrieval 2020-05-12 16:48:21 -07:00
Priya Wadhwa 4eddbc5225 Fix lint 2020-05-12 16:38:41 -07:00
Medya Ghazizadeh 8a4e2610f9
Merge pull request #8104 from medyagh/unit_test_machine
make deleting orphaned kics optional
2020-05-12 23:36:17 +00:00
Medya Gh bb2607aab8 fix unit test 2020-05-12 16:25:46 -07:00
Medya Gh 97d5251b02 update oldest support version patch 2020-05-12 16:11:05 -07:00
Medya Gh 2de9f442bb update oldest kuberentes version to latest minior 12.9.10 2020-05-12 16:10:54 -07:00
Medya Gh e457618d71 make deleting orphaned kics optional 2020-05-12 16:00:02 -07:00
Sharif Elgamal e65486a017 retrieve virtual switch name from driver object directly 2020-05-12 15:45:18 -07:00
Medya Gh 05cd86925e update newest 2020-05-12 15:22:01 -07:00
Medya Gh 7dbbbc66cf update kuberentes version to v1.18.2 2020-05-12 15:17:55 -07:00
Sharif Elgamal d7813e9199 ControlPaneEndpoint -> ControlPlaneEndpoint 2020-05-12 12:01:42 -07:00
Sharif Elgamal 09698e4638 only copy apiserver certs to control plane 2020-05-12 11:53:38 -07:00
Priya Wadhwa 6147ad350d Add support for timing per log and printing out timings per log to mkcmp 2020-05-12 11:07:25 -07:00
Sharif Elgamal 335379dc59 it works 2020-05-11 19:25:53 -07:00
Medya Ghazizadeh afab7c87c6
Merge pull request #7959 from afbjorklund/podman-prompt
Use noninteractive sudo when running podman
2020-05-11 21:02:22 +00:00
Anders F Björklund e892829155 Missing period character in the error template 2020-05-11 22:38:36 +02:00
Medya Ghazizadeh 12122f7dc6
Merge pull request #8053 from medyagh/arm64_docker_solution
docker/podman solution message for non-amd64 archs
2020-05-11 19:41:31 +00:00
Medya Gh 5a4d3279be address review comments 2020-05-11 12:28:48 -07:00
Medya Ghazizadeh d2ae2b35a0
Merge pull request #8057 from afbjorklund/podman-tar
Don't run the extraction tar container for podman
2020-05-11 19:22:48 +00:00
Sharif Elgamal d4639c52b9 Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-11 11:52:22 -07:00
Sharif Elgamal 4886030486 pass everything by reference since we actively change node IP 2020-05-11 11:50:51 -07:00
Medya Ghazizadeh 6b97ee8ee2
Merge pull request #8001 from afbjorklund/podman-start
podman: Wrap the start command with cgroup manager too
2020-05-11 17:59:39 +00:00
Medya Ghazizadeh d89d40c374
Merge pull request #8060 from afbjorklund/podman-cp
The podman cp command is not in podman-remote
2020-05-11 17:55:38 +00:00
Anders F Björklund 16af75ed24 Add fix warning for active podman-env as well 2020-05-11 12:15:22 +02:00
Anders F Björklund c578a7aa1e Add a PointToHost function for podman as well
And add an active variable, similiar to docker
2020-05-10 23:07:12 +02:00
Anders F Björklund 541fb9cf98 The podman cp command is not in podman-remote
So use podman exec stdin/stdout as a workaround.
2020-05-10 18:35:41 +02:00
Medya Ghazizadeh 7e3da0f8b0
Merge pull request #8017 from elegos/podman-volumes-extract-tarball-to-volume
Podman: disable selinux labels when extracting the tarball (permissions error)
2020-05-09 21:35:43 +00:00
Anders F Björklund cac41495cf Don't run the extraction tar container for podman
The preloaded images will be extracted anyway, using ssh.

But if creating them on the volume before the container is
booted, means that /var will not be fully copied over to it.
And without /var/lib/dpkg and others, kicbase will not boot.
So skip the parallel extraction for podman, do it afterwards.

Probably shouldn't mount all of /var, but just a sub-set...
2020-05-09 18:36:56 +02:00
Anders F Björklund 46025eccf5 Use the runCmd wrapper for start to not miss error 2020-05-09 14:07:18 +02:00
Anders F Björklund ac01e92012 Add comment about why podman looks at runtime.GOOS 2020-05-09 14:05:57 +02:00
Anders F Björklund a7a5148ff6 Don't add cgroup manager param for podman-remote
Since it doesn't work for either "run" or "start"

	Error: unknown flag: --cgroup-manager
2020-05-09 14:04:04 +02:00
Anders F Björklund 85fae62d4a Wrap the start command with cgroup manager too
When running with podman, to match the run cmd
2020-05-09 14:04:04 +02:00
Anders F Björklund 1bd56a40cf Don't use cached credentials for sudo podman
We want to verify that "NOPASSWD" has been set up properly

Otherwise the sudo timestamp might time out (after 15 mins)
2020-05-09 13:52:58 +02:00
Anders F Björklund 934ad06a82 Use noninteractive sudo when running podman
To avoid asking for a password in the middle of minikube commands.

The setup process is supposed to involve adding podman to sudoers...
2020-05-09 13:23:46 +02:00
Medya Gh 45acf71459 lint 2020-05-08 19:57:45 -07:00
Medya Gh 24971a5ff5 docker/podman fail on non-amd64 systems 2020-05-08 19:56:38 -07:00
Priya Wadhwa bfef99b63d Copy files directly now that we control kubeadm 2020-05-08 14:12:13 -07:00
Priya Wadhwa 753dc44706 Remove unnecessary function 2020-05-08 13:57:11 -07:00
Priya Wadhwa 6d1d07c857 Remove unnecessary restart 2020-05-08 13:55:30 -07:00
Sharif Elgamal 6bb8371459 Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-08 13:53:20 -07:00
Sharif Elgamal ad9b4c1a38 save config 2020-05-08 13:53:16 -07:00
Priya Wadhwa cb4dc30bab Add unit test 2020-05-08 12:49:54 -07:00
Priya Wadhwa ba267702af Merge branch 'master' of https://github.com/kubernetes/minikube into embed-certs 2020-05-08 12:38:02 -07:00
Priya Wadhwa f574852125 make it impossible to enable the kubelet service 2020-05-08 12:37:28 -07:00
Priya Wadhwa 0fa24990c9 Remove Enable(kubelet) from unpause
This way, we won't ever enable kubelet to start when systemd starts, preventing a race condition with `/etc/hosts`
2020-05-08 12:33:45 -07:00
Priya Wadhwa 826fb2bbf3 Restart kubelet after updating config files
This makes sure the kubelet picks up the correct IP
2020-05-08 12:32:27 -07:00
Priya Wadhwa 73d15fc275 Start kubelet after host aliases have been set in /etc/hosts
kubelet manages the value of `/etc/hosts` within running containers (e.g. kube-controller-manager). It takes this file from the host, but this causes a race condition between:

1. Us updating /etc/hosts with aliases on IP changes
1. kubelet starting k8s with current value of /etc/hosts

This change removes automatically starting kubelet when systemd comes up. Instead, we start it immediately after making our updates to `/etc/hosts`
2020-05-08 12:30:06 -07:00
Medya Ghazizadeh 34e833511b
Merge pull request #8027 from tstromberg/quiet-ssh2
virtualbox: Quiet initial ssh timeout warning
2020-05-08 00:00:39 +00:00
Priya Wadhwa 9348667351 Add host alias back after restarting kubelet 2020-05-07 17:00:37 -07:00
Sharif Elgamal 5e981137a4 Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-07 16:13:25 -07:00
Thomas Stromberg 436cee2d84 Fix minikube/kubernetes capitalization, make short help consistent 2020-05-07 14:12:10 -07:00
Priya Wadhwa 80960945af move into separate function 2020-05-07 13:45:34 -07:00
Priya Wadhwa ced1914fed remove unnecessary code 2020-05-07 13:43:03 -07:00
Priya Wadhwa 69a39c100c Add kic 2020-05-07 13:41:37 -07:00
Priya Wadhwa 8ac42815aa Restart kubelet if soft start 2020-05-07 13:40:26 -07:00
Priya Wadhwa 163ab88408 Restart kubelet in a function that is called on soft start 2020-05-07 13:22:09 -07:00
Priya Wadhwa a353d564dd Add comments 2020-05-07 13:03:07 -07:00
Priya Wadhwa c037a97392 Restart kubeadm on soft `minikube start`
This should resolve a race condition in which the expected node IP and the ip passed into kubelet are different.

This should fix the embed-certs integration test which has been flaky for a while.
2020-05-07 12:59:55 -07:00
Thomas Stromberg 68cd6f96db Merge branch 'master' into quiet-ssh2 2020-05-07 11:30:31 -07:00
Sharif Elgamal 358f167ae8 keepContext 2020-05-07 11:21:58 -07:00
Medya Ghazizadeh 269b938945
Merge pull request #8022 from tstromberg/better-restart
restart: validate configs with new hostname, add logging
2020-05-07 18:12:52 +00:00
Thomas Stromberg 32e4e64bc4 Quiet initial ssh timeout message 2020-05-06 17:58:21 -07:00
Sharif Elgamal 65c5d5725a Merge branch 'better-restart' of github.com:tstromberg/minikube into restart 2020-05-06 17:14:58 -07:00
Giacomo Mr. Wolf Furlan 9c43c47b06 Podman: disable selinux labels when extracting the tarball to prevent permission errors 2020-05-07 02:09:09 +02:00
Thomas Stromberg e9eabf1bda Log an error if we can't read the response body 2020-05-06 15:55:49 -07:00
Thomas Stromberg 7de8ae3f54 Log existing configuration files, fix validateStartNoReset test 2020-05-06 15:25:27 -07:00
Thomas Stromberg 55cbbd3e4c Remove test panic 2020-05-06 14:47:56 -07:00
Thomas Stromberg d31a4bd561 Fix cluster reconfiguration issues, improve behavior 2020-05-06 14:39:15 -07:00
Sharif Elgamal 464d4259ce assign proper internal IPs for nodes 2020-05-06 09:35:48 -07:00
Sharif Elgamal 494710616b let's change a bunch of stuff 2020-05-05 14:42:07 -07:00
Priya Wadhwa ec74a37e9c Add env variable to configure force-systemd
Also add an integration test for the env variable
2020-05-05 12:10:03 -07:00
Medya Ghazizadeh ca5353742e
Merge pull request #7943 from medyagh/kicbase_gh_package
docker/podman: add alternative image repo for base image to fallback
2020-05-04 23:12:28 +00:00
Sharif Elgamal 2ec26658a6 check kubelet status explicitly 2020-05-04 15:58:01 -07:00
Medya Gh 041a452a16 add todo comment 2020-05-04 15:22:50 -07:00
Sharif Elgamal bd2c4d8f6c Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-04 14:49:51 -07:00
Thomas Strömberg 250594d83d
Merge pull request #7998 from tstromberg/no-ssh-test
Remove sshutil_test - it offers no value
2020-05-04 14:43:08 -07:00
Thomas Strömberg d363ca9dd7
Merge pull request #7999 from tstromberg/addon-retry-more
addons: fix initial retry delay, double maximum limit
2020-05-04 14:36:40 -07:00
Medya Gh 0189b10624 improve log 2020-05-04 13:47:07 -07:00
Medya Gh 7654c1b058 address review comments 2020-05-04 13:22:48 -07:00
Medya Gh 1ee8cabd6f add TODO with issue link 2020-05-04 13:12:50 -07:00
Medya Gh 7914d057d1 fall back to github if gcr.io is not available 2020-05-04 13:12:50 -07:00
Medya Ghazizadeh 6eeb929b3d
Merge pull request #7962 from afbjorklund/podman-gateway
Get the gateway by inspecting container network
2020-05-04 20:05:56 +00:00
Medya Ghazizadeh 1da92a1c84
Merge pull request #7961 from afbjorklund/podman-preload
Use the correct binary for unpacking the preload
2020-05-04 20:04:19 +00:00
Medya Ghazizadeh e0685c8f5d
Merge pull request #7984 from medyagh/detect_windows_container
Detect windows container and exit with instructions
2020-05-04 20:01:17 +00:00
Thomas Stromberg 6969200dd7 addons: fix initial retry delay, double maximum limit 2020-05-04 12:44:30 -07:00
Thomas Stromberg 4eef342690 Remove sshutil_test - it offers no value 2020-05-04 12:31:15 -07:00
Sharif Elgamal 5589f01926 Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-04 10:43:16 -07:00
Anders F Björklund cc6506d2c9 Remove logging statement from containerGateway 2020-05-03 09:42:32 +02:00
Medya Gh 85aa9709da lint 2020-05-02 20:30:50 -07:00
Medya Gh f68f45a30a flip debug if 2020-05-02 20:20:58 -07:00
Medya Gh d887259153 add to registry 2020-05-02 20:19:17 -07:00
Medya Gh 6b09d4ebe5 misspell 2020-05-02 19:34:52 -07:00
Medya Gh ddd3c72f9d add kic base image to the cluster config 2020-05-02 19:29:54 -07:00
Medya Gh bcecda8e20 add comment for error type 2020-05-02 18:48:52 -07:00
Medya Gh 2102a20605 wrap errors 2020-05-02 18:38:23 -07:00
Medya Gh 4572d0634f exit with usage if container type is windows 2020-05-02 18:29:33 -07:00
Medya Gh ee9004f93b add os type to DaemonInfo 2020-05-02 17:02:19 -07:00
Sharif Elgamal 4cb2d0f34a Merge branch 'master' of github.com:kubernetes/minikube into restart 2020-05-01 17:02:19 -07:00
Sharif Elgamal 76349e19b2 more changes 2020-05-01 17:02:11 -07:00
Anders F Björklund 743f9f7efc Don't show any podman hint about restarting sudo 2020-05-01 22:21:32 +02:00
Anders F Björklund e2d7d94dfc Use the correct binary for unpacking the preload
Previously hardcoded to *always* use a Docker volume,
even if using a different container driver (podman).
2020-05-01 22:11:28 +02:00
Anders F Björklund 3531efda7b Get the gateway by inspecting container network 2020-05-01 15:05:21 +02:00
Sharif Elgamal 94a9c03b91 initial commit for restartWorker 2020-04-30 16:02:43 -07:00
Thomas Strömberg c65225d2e6
Merge pull request #7896 from tstromberg/download-tests-suck
download: unify handling, refuse while under test
2020-04-30 11:21:32 -07:00
Thomas Strömberg 147fd9e2b1
Merge pull request #7714 from tstromberg/k8s-v1.18.1
Upgrade default Kubernetes to v1.18.1
2020-04-29 10:29:00 -07:00
Thomas Stromberg e9bf83d5f0 Make a better mock interface, detect integration tests 2020-04-29 09:46:20 -07:00
Thomas Stromberg 0cd6a01180 Merge branch 'master' into download-tests-suck 2020-04-29 09:17:43 -07:00
Thomas Strömberg 7b39b102d6
Merge pull request #7930 from sharifelgamal/cni
Automatically apply CNI on multinode clusters
2020-04-29 09:14:38 -07:00
Thomas Strömberg 7dc28f6af7
Merge pull request #7247 from tstromberg/control-plane-host
Add `(host|control-plane).minikube.internal` to /etc/hosts
2020-04-29 09:10:49 -07:00
Thomas Strömberg dc4e85f77b
Merge pull request #7839 from Hellcatlk/master
Add unit test for function ChownR&MaybeChownDirRecursiveToMinikubeUser
2020-04-29 08:54:58 -07:00
Thomas Strömberg dee6d518ce
Merge pull request #7631 from afbjorklund/podman-sudo
Add "sudo" to podman calls
2020-04-29 08:53:41 -07:00
Thomas Strömberg 2f78bff4ed
Merge pull request #7858 from priyawadhwa/upgrade-kic
Upgrade docker driver base image to v0.0.10
2020-04-29 08:48:45 -07:00
Medya Ghazizadeh c739d3f564
Merge pull request #7928 from sharifelgamal/mem
improve auto-select memory for multinode clusters
2020-04-28 21:22:22 -07:00
Sharif Elgamal 17d7c2a0f8 finish comment 2020-04-28 12:45:01 -07:00
Sharif Elgamal 19705a481e remove debugging 2020-04-28 12:40:42 -07:00
Sharif Elgamal 747b18a955 lint 2020-04-28 12:10:27 -07:00
Sharif Elgamal 2d95ec9222 check for multinode 2020-04-28 11:42:51 -07:00
Sharif Elgamal d637698b60 Merge branch 'master' of github.com:kubernetes/minikube into cni 2020-04-28 11:19:07 -07:00
priyawadhwa 6f6ac3aeb2
Merge pull request #7880 from n0npax/improve-perf-test-coverage
Improve perf test coverage
2020-04-28 10:23:05 -07:00
Sharif Elgamal e61a18cbaa be smarter about allocating memory for multinode clusters 2020-04-28 10:10:02 -07:00
Thomas Stromberg 798fb930b0 Merge branch 'master' into k8s-v1.18.1 2020-04-28 08:11:34 -07:00
Thomas Stromberg 878fc6a5f0 Merge branch 'master' into control-plane-host 2020-04-28 08:09:24 -07:00
Anders F Björklund 78a22f5056 Remove prefix parameter and add prefix command
Move the "sudo" prefix to a central location, instead of
having it all over the place. Assume only needed on Linux.
2020-04-28 13:52:52 +02:00
Kubernetes Prow Robot f33de7fd11
Merge pull request #7902 from radeksm/bugfix/7792
sort styles constant and style' map - continuation of bugfix/7792
2020-04-28 02:10:05 -07:00
Anders F Björklund f78e00e99b Merge branch 'master' into podman-sudo 2020-04-28 07:55:38 +02:00
Sharif Elgamal e2467b2081 just always apply overlay 2020-04-27 17:53:55 -07:00
Sharif Elgamal 5848bbe011 Merge branch 'master' of github.com:kubernetes/minikube into cni 2020-04-27 14:15:19 -07:00
Sharif Elgamal 228c1b092c automatically apply kic overlay when detecting multinode clusters 2020-04-27 14:15:12 -07:00
Anders F Björklund 1744ffe773 Restore the configured state added for podman
Reverted 22aa1aff22 by accident
2020-04-27 22:27:53 +02:00
Anders F Björklund bf4aa78ca6 Log the version used of the two KIC runtimes 2020-04-27 21:58:42 +02:00
Priya Wadhwa 2459caea75 update SHA 2020-04-27 10:47:10 -07:00
Priya Wadhwa e3397d559f Merge branch 'master' of https://github.com/kubernetes/minikube into systemd 2020-04-27 10:33:12 -07:00
Anders F Björklund a041f4012a Podman allows setting --cpus and --memory now 2020-04-27 17:02:13 +02:00
Anders F Björklund 95c95599c2 Align podman driver with docker and improve check
Make sure to use "sudo podman version" on Linux
(need user namespace support for "podman version")

And improve error output handling for podman-remote
(when the remote service is not running properly)
2020-04-27 12:43:02 +02:00
Anders F Björklund 998ab840fb Use simple version of podman info format parameter
So that it works with the older versions of podman
2020-04-26 22:54:45 +02:00
Anders F Björklund 795128131f Remove old Copy function added in merge conflict 2020-04-26 22:52:10 +02:00
Anders F Björklund 28106fa2d7 Use constants instead of the KIC prefix strings 2020-04-26 15:22:57 +02:00
Anders F Björklund d96d9d34ed Include any output from podman version in the log 2020-04-26 15:12:04 +02:00
Anders F Björklund 88c8a24d55 Pass the container implementation on to systemd 2020-04-25 22:43:40 +02:00
Anders F Björklund 7185140c57 Remove extra quotes added in conflict resolution
Reverted f264ac171e by accident
2020-04-25 22:09:52 +02:00
Anders F Björklund 7647b1f998 Don't try to limit podman memory without cgroup
Podman requires both memcg and memcg_swap for it (--memory).

Docker will still limit memory, without swap limit support.
2020-04-25 22:01:51 +02:00
Anders F Björklund bb37c7098c Fix log message to say driver and not cruntime 2020-04-25 21:57:41 +02:00
Anders F Björklund 6644c5cc64 Merge branch 'master' into podman-sudo 2020-04-25 18:05:33 +02:00
Radoslaw Smigielski d42a0a145c Fix lint error 2020-04-25 07:32:40 +01:00
Radoslaw Smigielski fe59e38748 Sort map of styles' names to style struct 2020-04-25 07:15:29 +01:00
Radoslaw Smigielski 7462bb5568 Sort available style constants
We have a number of style constant names defined in completly random
order, let's make a little bit of cleanup here.
2020-04-25 06:54:02 +01:00
Thomas Stromberg d98a484f87 Ensure that there is an output file to operate on 2020-04-24 17:11:52 -07:00
Thomas Strömberg e3a3b1e743
Merge pull request #7308 from laozc/metallb
Add Metal LB addon
2020-04-24 16:59:50 -07:00
Thomas Stromberg 1cbbb6ac0b Merge to master 2020-04-24 16:58:15 -07:00
Thomas Strömberg 47b769b9cc
Merge pull request #7867 from kubernetes/hyperv-cleanup
hyperv: Check for Get-Wmiobject err before parsing output
2020-04-24 16:56:02 -07:00
Thomas Stromberg e6054fc927 download: refuse to download actual files while under test 2020-04-24 16:40:48 -07:00