Commit Graph

1012 Commits (f1b909e44d19956472f168ec5137dd9f535a2d67)

Author SHA1 Message Date
Sharif Elgamal 1319b6e398 refactor checkRepository to make mocking easier 2021-04-14 12:51:16 -07:00
minikube-bot 0e1fd72042 Updating kicbase image to v0.0.20-1618262794-11055 2021-04-12 21:36:41 +00:00
Anders F Björklund f527fb675a Address security concerns with the go code
As flagged by the github code scanning
2021-04-12 20:38:21 +02:00
minikube-bot f7c204d907 Update kicbase to v0.0.20 2021-04-09 19:23:04 +00:00
minikube-bot 831c3dfdbd Updating kicbase image to v0.0.19-1617905290-11019 2021-04-08 18:17:37 +00:00
Medya Ghazizadeh 1e3370298a
Merge pull request #11001 from lilongfeng0902/minikube-lilf
minor spelling errors
2021-04-07 17:35:39 -07:00
Anders F Björklund db3fd51194 Rename ListOptions to ListContainersOptions 2021-04-06 22:39:43 +02:00
李龙峰 7ae82c573b Propagation not Propogation 2021-04-06 14:52:52 +08:00
minikube-bot 53babcc152 Update kicbase to v0.0.19 2021-04-05 22:22:23 +00:00
Predrag Rogic 387ad774bb
multinode: fix kindnet and dns issues 2021-04-05 16:18:37 +01:00
Predrag Rogic 06d4313f3f
kvm2 driver: add static ip 2021-03-27 23:33:24 +00:00
Medya Ghazizadeh 894ca125cb
Merge pull request #10858 from prezha/fix-create-network-race
create network: use locks and reservations to solve race condition
2021-03-24 17:47:21 -07:00
Daehyeok Mun 9b23841ee3 Add solution message if Docker is rootless 2021-03-20 13:20:30 -07:00
Predrag Rogic f4a375181a
create network: use locks and reservations to solve race condition 2021-03-18 18:38:06 +00:00
Predrag Rogic 474f6734b1
create network: use locks to solve race conditions 2021-03-17 22:56:22 +00:00
Predrag Rogic 223792b993
create network: use locks to solve race conditions 2021-03-17 14:32:39 +00:00
Daehyeok Mun fae67405e9 Update outdated moby/hyperkit package in minikube code 2021-03-05 22:27:23 -08:00
Medya Ghazizadeh d2cb052fca
Merge pull request #10653 from Loyen/add-listen-address-flag
Add flag "--listen-address" for docker and podman driver
2021-03-05 12:56:22 -08:00
Patrik Freij 3110bd15fc Lowercase minikube in information message 2021-03-05 15:50:52 +01:00
Patrik Freij 0d1d169bf6 Set non-local traffic message as a Tip message
To stay consistent with other messages. Also moved it above the warning
message regarding what IP is set as listen-address to make more sense in
the message flow.
2021-03-03 17:07:23 +01:00
Patrik Freij bb5bf9546c Add info message about not using it for production
To add more context to the warning message for --listen-address
2021-03-02 20:21:39 +01:00
phantooom 529881e01c fix: fix kvm2 numa simulate ut&lint 2021-03-02 22:40:42 +08:00
phantooom badc5d4532 add more check for kvm2 support simulate numa node 2021-03-02 22:27:26 +08:00
phantooom e11f23a4c9 kvm2 driver support simulate numa node 2021-03-02 22:27:26 +08:00
Patrik Freij 9b5a96e76d Make warning more informative for --listen-address 2021-03-01 23:10:58 +01:00
Patrik Freij bad8561d0d Skip custom listenAddress if equal to default 2021-03-01 23:06:13 +01:00
Patrik Freij cb116e4c1c Add --listen-address for docker driver 2021-02-28 23:14:08 +01:00
minikube-bot 2c292cca75 Update kicbase to v0.0.18 2021-02-25 23:14:51 +00:00
Medya Gh f272822d15 bump kic base 2021-02-24 13:45:53 -08:00
Medya Gh e9e81cef25 bump kicbase 2021-02-24 13:29:10 -08:00
Medya Gh 549bb10a52 update kicbase with pause 2021-02-24 12:30:06 -08:00
Medya Gh 72135d70d9 add auto pause proxy 2021-02-24 12:30:06 -08:00
Medya Ghazizadeh 460342a5f2
Merge pull request #10575 from hetong07/issue_10519
Improve the error message of setting cgroup memory limit.
2021-02-24 11:53:54 -08:00
Sharif Elgamal 7f75dfffda drop support for github packages for kicbase 2021-02-23 14:16:02 -08:00
hetong07 9a30756d38 Improve the error message of setting cgroup memory limit. 2021-02-22 20:18:22 -08:00
Jiefeng He d6e9174435 update new tag, SHA, and doc due to new kicbase image 2021-02-21 17:27:24 -08:00
Medya Gh d120656161 update image 2021-02-20 10:55:56 -08:00
Medya Gh 712ab628a6 update kicbase 2021-02-20 10:11:35 -08:00
Medya Ghazizadeh 5c6c20f68e
Merge pull request #10528 from sharifelgamal/crio-storage
fix crio by hardcoding mountopt
2021-02-19 22:54:33 -08:00
Sharif Elgamal 9abb3bed51 update kicbase image 2021-02-19 18:08:41 -08:00
Medya Ghazizadeh 6bf3c23699
Merge pull request #10479 from prezha/fix-kvm-network-cleanup
improve kvm network delete/cleanup
2021-02-19 16:31:26 -08:00
Medya Ghazizadeh fb27ab7e7f
Merge pull request #10439 from prezha/prevent-oci-overlapping-net
prevent oci try to create overlapping network
2021-02-19 16:23:18 -08:00
Medya Ghazizadeh 629926a2bd
Merge pull request #10418 from afbjorklund/kicbase-210119
Update kicbase base image and sync with kind
2021-02-19 11:33:11 -08:00
Sharif Elgamal 17af0f999b update kicbase image for testing 2021-02-18 19:20:17 -08:00
Medya Ghazizadeh 0edb126f13
Merge pull request #10512 from hetong07/cgroup_memory_fix
cgroup v2: skip setting --memory limits when not configurable.
2021-02-18 18:56:57 -08:00
Sharif Elgamal 96c5b6a0d4
Merge pull request #10408 from sharifelgamal/kic-test
populate kic.txt properly in kicbase
2021-02-18 18:42:17 -08:00
Sharif Elgamal 74e2127a87 update kicbase image for the last time 2021-02-18 18:28:02 -08:00
hetong07 556a8d7930 Move the user facing warning inside hasMemoryCgroup(). 2021-02-18 16:43:19 -08:00
Sharif Elgamal 114364409d add github packages to script 2021-02-18 16:17:09 -08:00
hetong07 e8c2a23398 Provide an advice for users on how to modify Grub setting. 2021-02-18 16:09:51 -08:00
hetong07 7b0bf57f4c Stop using --memory for cgroup v2. 2021-02-18 15:43:26 -08:00
Sharif Elgamal 31ea98ca50 update kicbase to newest build 2021-02-18 15:04:34 -08:00
Medya Ghazizadeh 369f93f393
Merge pull request #10468 from afbjorklund/cgroups-warning
Make sure to show debian warning also for cgroup 2
2021-02-18 14:25:59 -08:00
Sharif Elgamal f11498046b messed up boilerplate 2021-02-18 11:52:38 -08:00
Sharif Elgamal 3f04535045 add dockerhub to autopush 2021-02-18 11:47:59 -08:00
Medya Ghazizadeh 75be14d2ce
Merge pull request #10507 from afbjorklund/docker-memswap
Stop using --memory-swap if it is not available
2021-02-18 11:15:32 -08:00
Anders F Björklund eabc02d3c4 Stop using --memory-swap if it is not available
With Debian and Ubuntu kernels, it needs to be configured.

And now with cgroups v2, it starts throwing errors at run.
2021-02-18 18:54:36 +01:00
Sharif Elgamal fd897f4f23 fix up repo stuff 2021-02-17 10:32:48 -08:00
Sharif Elgamal ea16737271 syntax 2021-02-17 09:37:34 -08:00
Sharif Elgamal 9aeb4a75fa update kicbase image 2021-02-17 09:35:32 -08:00
Predrag Rogic 6d61795352
simplify free subnet query for oci net create 2021-02-17 03:04:47 +00:00
Predrag Rogic 4018ee3682
move to separate network package and fix naming 2021-02-17 03:04:47 +00:00
Predrag Rogic d48b0a58e8
add ip conflict auto-resolution also to kvm and consolidate 2021-02-17 03:04:47 +00:00
Predrag Rogic c6446e5fbd
prevent oci try to create overlapping network 2021-02-17 03:04:47 +00:00
Predrag Rogic a5f75b4a29
fix wording 2021-02-17 02:45:22 +00:00
Predrag Rogic fc07cfd395
fix wording 2021-02-17 02:45:22 +00:00
Predrag Rogic 1f50c63adb
fix wording 2021-02-17 02:45:22 +00:00
Predrag Rogic 5c8ea8dc5b
improve kvm network delete/cleanup 2021-02-17 02:45:03 +00:00
Kent Iso 5bffb823b2 Add ProfileLableKey to make sure that preload side car will be target of deletion. minikube delete doesn't check CreatedByLabelKey 2021-02-17 10:27:54 +09:00
Kent Iso fd58d0fc90 Add CreatedByLabelKey to make sure that preload side car will be target of deletion 2021-02-17 10:06:12 +09:00
Kent Iso e3cd93aa1a Change prepareVolume func to add container name for preload side car 2021-02-17 10:06:12 +09:00
Anders F Björklund 2c87f6e1ad Make sure to show debian warning also for cgroup 2
Move check to function, to cut down on complexity
2021-02-13 18:37:54 +01:00
Medya Ghazizadeh ee6283ecf1
Merge pull request #10293 from afbjorklund/ssh-validate
ssh: validate the ssh-key parameter if given
2021-02-11 15:05:19 -08:00
Anders F Björklund b7de621033 Explicitly remove podman volume and network
The --filter and --label functionality was broken,
in earlier versions of podman (before version 3.0)
2021-02-10 20:57:20 +01:00
Priya Wadhwa 51169d68ea Add context to remaining necessary functions 2021-02-08 15:19:01 -08:00
Priya Wadhwa a6372b35a3 Add 5 minute timeout to deleting leftover cvolumes and containers 2021-02-08 15:15:08 -08:00
Anders F Björklund f316c0fdce Clean up accumulated golint with missing godoc 2021-02-08 20:10:31 +01:00
Predrag Rogic f519ec50cc
support ancient versions of docker again (template parsing issue) 2021-02-05 01:54:09 +00:00
Yanshu Zhao 67458418ca Change test naming 2021-02-02 21:39:34 +00:00
Yanshu Zhao 84e7c47e8a reduce lock scope 2021-02-02 21:20:31 +00:00
Yanshu Zhao 8009a5b3a8 change naming 2021-02-02 20:59:29 +00:00
Yanshu Zhao 4665993109 Add header file for the test 2021-02-02 16:57:47 +00:00
Yanshu Zhao 397b7b2286 Use global flag and only print one warning for the same cmd per binaray
run
2021-02-02 16:28:04 +00:00
Daehyeok Mun 4500be129f Validate minimum docker version 2021-02-01 13:54:20 -08:00
Anders F Björklund 40e4521bb2 ssh: validate the ssh-key parameter if given 2021-01-28 08:48:40 +01:00
Medya Gh 70253a9c87 update kicbase and iso to last build 2021-01-20 16:41:10 -08:00
Medya Gh 91a7436617 bump kicbase version 2021-01-20 15:46:14 -08:00
Anders F Björklund 541193c945 Address review comments, rename to ssh-ip-address 2021-01-16 14:44:56 +01:00
Anders F Björklund abb556f7f5 Merge branch 'master' into generic 2021-01-13 20:15:17 +01:00
Ilya Zuyev 813094bafb Merge branch 'master' into ilyaz/multiarch_kicbase 2021-01-12 10:48:01 -08:00
Ilya Zuyev 7ca15031e8 fix kicbase sha1 2021-01-11 18:30:39 -08:00
Anders F Björklund 1663a030ed Only add docker group for the docker runtime 2021-01-11 18:12:06 +01:00
Anders F Björklund b2121eae39 Rename the generic driver to the ssh driver
Now that we have forked the machine driver
2021-01-09 14:36:32 +01:00
Anders F Björklund e53f537b39 Merge branch 'master' into generic 2021-01-09 14:11:09 +01:00
Ilya Zuyev 2622e9583c bump kicbase version to v0.0.16-snapshot1 2021-01-08 13:49:27 -08:00
Ilya Zuyev 921306d88a fix fallback kicbaseimages list 2021-01-08 13:31:13 -08:00
Anders F Björklund 40ec0e8015 Avoid the hard-coded dependency on systemctl 2021-01-08 18:31:15 +01:00
Anders F Björklund fb6cf6b6b6 Add placeholder for docs for the generic driver
But most of it is identical to the "none" driver
2021-01-08 18:16:58 +01:00
Anders F Björklund e4ebaeabf6 Complete the container runtime and config change 2021-01-08 17:36:23 +01:00
Anders F Björklund b856a475e6 Remove systemd dependency from none driver
Use the minikube "sysinit" module instead
2021-01-08 09:12:54 +01:00
Anders F Björklund 1d6c86c8b5 Also remove unused machine SetConfigFromFlags
Setting the config directly instead in minikube
2021-01-06 21:05:53 +01:00
Anders F Björklund a120c543bf Change meaning of Stop/Start/Restart to minikube
The "none" driver has redefined stop and start to mean the
kubelet rather than the host itself. Use the same API here.

Killing actual containers remotely remains to be implemented.
Only stop the kubelet service for now, and assuming systemd.
2021-01-06 20:09:25 +01:00
Anders F Björklund a77e3de85f Use CommonDrivers and drop machine GetCreateFlags
This makes the machine driver specific to minikube
2021-01-06 18:42:19 +01:00
Anders F Björklund fa05fcd6d0 Fork the generic driver to the minikube code base 2021-01-06 18:35:09 +01:00
Ilya Zuyev 65cf998d6f Merge branch 'master' into ilyaz/multiarch_kicbase 2021-01-05 16:30:26 -08:00
Ilya Zuyev 6335658103 Revert single-arch kicbase fallback support 2021-01-05 16:29:48 -08:00
Anders F Björklund f22a3802c7 Handle podman installations without default bridge 2021-01-05 17:06:52 +01:00
Yanshu Zhao 0f734e6339 Change function name 2020-12-31 00:03:34 +00:00
Yanshu Zhao f94b1674b1 Change tests into a loop 2020-12-30 23:27:37 +00:00
Yanshu Zhao f044b1fa91 Add unit test for docker network inspect 2020-12-30 02:28:44 +00:00
Yanshu Zhao 4a940d0079 Fix docker inspect network go template 2020-12-27 08:38:39 +00:00
Priya Wadhwa a3b80e1fff add log 2020-12-22 14:57:04 -08:00
Priya Wadhwa bd413794c2 Avoid creating network if it is the default 2020-12-22 14:56:27 -08:00
Priya Wadhwa 55f496492c fix merge conflict 2020-12-16 10:37:51 -08:00
Thomas Strömberg f85bed1150
Merge pull request #9753 from blueelvis/'bug/9078-tunnel-windows-docker'
Fix minikube tunnel for Docker on Windows
2020-12-15 07:59:44 -08:00
Jituri, Pranav a8463f3453
fix linting errors 2020-12-15 18:25:10 +05:30
Jituri, Pranav ce17200bd8
address review comment 2020-12-15 18:09:43 +05:30
Ilya Zuyev 6044006afe add multi-arch images to kic driver list 2020-12-13 22:29:17 -08:00
Thomas Strömberg b4bf2bde33
Merge pull request #9866 from afbjorklund/podman-network-fix
Fix podman network inspect format and error
2020-12-11 10:20:46 -08:00
Medya Ghazizadeh 442a9cf2d3
Merge pull request #9911 from medyagh/update_kicbase_16_1
Update kicbase 15 snapshot4 on head
2020-12-10 16:55:28 -08:00
Medya Ghazizadeh 6b079476c6
Merge pull request #9918 from lingsamuel/remove-verbose-options
Remove verbose options
2020-12-10 15:58:01 -08:00
Anders F Björklund c3d0621d97 Only use sudo with the none driver when on linux 2020-12-10 21:07:10 +01:00
Anders F Björklund a6941f21ca Fix podman network inspect format and error
Somehow this ended up with the docker network inspect format,
instead of the CNI based one used by podman network inspect ?
2020-12-10 07:32:34 +01:00
Ling Samuel 634f0ae0a9
Remove verbose options 2020-12-10 14:29:38 +08:00
Medya Gh d3c375420e bump kicbase on head v0.0.15-snapshot4 2020-12-09 17:32:46 -08:00
Medya Gh a55a0b0286 bump kicbase on head 2020-12-09 17:20:09 -08:00
Medya Ghazizadeh 6eadee30b8
Merge pull request #9802 from afbjorklund/podman-host-cleanup
Some more cleanup of missing code for podman-env
2020-12-09 15:00:37 -08:00
Jituri, Pranav 74cdda9e9a
Resolve review comments 2020-12-09 16:54:19 +05:30
Medya Gh 0e85b1819a bump kic base on head 2020-12-08 13:49:17 -08:00
Medya Ghazizadeh 0898ca21e4
Merge pull request #9801 from afbjorklund/podman-env-existing
Add support for restoring existing podman env
2020-12-08 10:25:50 -08:00
Priya Wadhwa f373155d55 merge conflict 2020-12-03 10:56:41 -08:00
Medya Ghazizadeh 8fc54b430b
Merge pull request #9716 from afbjorklund/podman-network
Add private network implementation for podman
2020-12-02 14:16:41 -08:00
Anders F Björklund da778ea870 Some more cleanup of missing code for podman-env
There is a lot of code duplication from docker-env

Most of it also applies for podman (CONTAINER_HOST)
2020-11-29 23:35:37 +01:00
Anders F Björklund dae980a355 Add support for restoring existing podman env
If user had a podman environment configured before podman-env,
restore it on unset (similar to existing code for docker-env)
2020-11-29 22:56:47 +01:00
Medya Gh 7bc81b1cbd add imagesha 2020-11-25 14:22:29 -08:00
Medya Gh 8639a067e6 bump kic image on head 2020-11-25 14:07:24 -08:00
Medya Ghazizadeh 5d5a12c60f
Merge pull request #9734 from priyawadhwa/updae-iso-kic
Update ISO and kicbase to include scheduled stop
2020-11-24 10:10:59 -08:00
Anders F Björklund fee0f5310a Add private network implementation for podman
Most of it the same as docker, except for the options.

i.e. libnetwork "bridge" plugin vs. cni "bridge" plugin
2020-11-22 13:58:12 +01:00
Medya Ghazizadeh 131d7248c4
Merge pull request #9710 from valaparthvi/issue9690
convert dockerNetworkInspect to a struct
2020-11-20 14:16:01 -08:00
Jituri, Pranav 197f2a25ae
Removed unused debugging lines 2020-11-21 00:30:05 +05:30
Jituri, Pranav bf7b09f484
Fix permissions for key file on Windows 2020-11-21 00:27:19 +05:30
Parthvi Vala 63c186bb05 convert dockerNetworkInspect to a struct 2020-11-20 12:29:37 +05:30
Priya Wadhwa e83ba9df9c Update ISO and kicbase to include scheduled stop so we can test them 2020-11-18 10:54:41 -08:00
Jituri, Pranav 0def75cbc9
Work in progress for SSH key file fix 2020-11-18 01:46:28 +05:30
Priya Wadhwa 14db0debef review comments 2020-11-17 12:15:42 -08:00
Medya Ghazizadeh 8b39f56a60
Merge pull request #9510 from ilya-zuyev/gh_9463_non_dev_dockerhost
Support non-default docker endpoints
2020-11-17 10:17:33 -08:00
Medya Gh 7955a891cb bump kicbase 2020-11-12 16:04:26 -08:00
Priya Wadhwa 9bb9355b50 fix merge conflict 2020-11-11 11:57:27 -08:00
Medya Ghazizadeh 0f5a2ca4a4
Merge pull request #9641 from prezha/fix-kvm-minikube-net
Fix minikube-net network failures for KVM driver
2020-11-10 12:43:20 -08:00
Predrag Rogic 9e114139dc
retry instead of sleep; gc cleanup 2020-11-10 16:28:14 +00:00
Predrag Rogic 8ebc828eb1
Fix minikube-net network failures for KVM driver 2020-11-10 16:27:51 +00:00
Medya Gh 37914938e5 bump kicbase to include crio changes 2020-11-09 17:39:19 -08:00
Medya Gh c2bfd58be3 bump snapshot 2020-11-09 17:16:47 -08:00
Ilya Zuyev 0f2c63881a Merge branch 'master' into gh_9463_non_dev_dockerhost 2020-11-09 14:11:20 -08:00
Ilya Zuyev e58d538903 Fix linter warning 2020-11-09 12:52:27 -08:00
Medya Gh 80566956d6 bump kicbase 2020-11-05 12:36:40 -08:00
Ilya Zuyev d5a092c3c7 Add unit tests for oci.DaemonHost() 2020-10-30 14:00:52 -07:00
Ilya Zuyev c97cd912f1 Rename oci.RuntimeHost() -> oci.DaemonHost() 2020-10-30 13:44:34 -07:00
Ilya Zuyev 72b710af03 Fix warning about listening to 0.0.0.0 2020-10-30 13:41:06 -07:00
Ilya Zuyev 43a4b62b68 Remove excessive logging 2020-10-30 13:27:29 -07:00
Ilya Zuyev acbdafa4e1 Fix func naming 2020-10-27 16:07:50 -07:00
Priya Wadhwa ea6ca08d67 Change flag name to --network and exit if used without docker driver 2020-10-26 11:52:26 -07:00
Priya Wadhwa ebf612254c Fix merge conflict 2020-10-26 09:31:59 -07:00
Medya Gh 9f729ac041 readability 2020-10-23 15:04:13 -07:00
Medya Gh 43c2a5cd0c dont pass mtu if 0 2020-10-23 14:54:49 -07:00
Medya Gh 4993dc6ed7 log 2020-10-23 14:25:00 -07:00
Medya Gh 1dd5583ce3 template 2020-10-23 14:07:20 -07:00
Medya Gh aa97aca2ff make struct for netinfo 2020-10-23 13:45:25 -07:00
Priya Wadhwa 20db128cb8 add warning 2020-10-23 13:10:01 -07:00
Medya Gh 94485d5a19 lint 2020-10-23 12:47:51 -07:00
Medya Gh cde546ed80 detect MTU from docker brdige 2020-10-23 12:41:29 -07:00
Priya Wadhwa 8b4c48143b implement --docker-network flag 2020-10-23 09:50:23 -07:00
Priya Wadhwa fe2710705e Add --docker-network flag 2020-10-23 09:31:33 -07:00
Ilya Zuyev 6e02753204 Forward ports for docker machine on Linux 2020-10-22 22:41:58 -07:00
Ilya Zuyev 89bf9ac01c Update certs and API endpoints 2020-10-22 22:10:07 -07:00
Medya Gh 50a04a49d4 try 2020-10-22 17:33:33 -07:00
Medya Gh bfa83ff602 fix option 2020-10-22 16:56:13 -07:00
Medya Gh a6e5fb89d5 lower mtu for cloud shell 2020-10-22 16:05:06 -07:00
Ilya Zuyev eaa9ecfd31 Experiments 2020-10-22 13:41:01 -07:00
Ilya Zuyev 34a2dc7686 Delete test file 2020-10-22 13:37:05 -07:00
Ilya Zuyev 85d45be207 Fix docker-env command 2020-10-20 23:10:08 -07:00
Ilya Zuyev d384343c39 When configuring docker environment, use MINIKUBE_EXISTING_* variables if set 2020-10-19 22:02:42 -07:00
Medya Gh 63c4468fd5 address review comments 2020-10-13 16:01:59 -07:00
Nick Kubala fd15e50dbe
Fix typo (cointainer -> container) 2020-10-13 14:20:35 -07:00
Priya Modali 59548194bd Merge branch 'master' of https://github.com/kubernetes/minikube into klog 2020-10-09 17:45:35 -07:00
Medya Ghazizadeh 567d2f2f65
Merge pull request #9426 from priyawadhwa/drv-cp-endpoint
Add further debugging for DRV_CP_ENDPOINT failure
2020-10-09 16:55:38 -05:00
Priya Wadhwa acd5a7a4c8 address review comments 2020-10-09 14:16:35 -04:00
Priya Wadhwa 0985957032 Add further debugging for DRV_CP_ENDPOINT failure 2020-10-08 18:00:11 -04:00
Medya Gh 4d743b2f3d bump kicbase imge 2020-10-08 13:45:54 -07:00
Priya Modali ef2090ac31 Merge branch 'master' of https://github.com/kubernetes/minikube into klog 2020-10-08 10:27:04 -07:00
Medya Ghazizadeh e573b928d5
Merge pull request #9404 from ToonvanStrijp/master
Add new flag "--ports" to expose ports for docker & podman drivers
2020-10-07 15:56:29 -05:00
ToonvanStrijp 61048eedbe fix typo 2020-10-07 19:41:57 +02:00
Priya Modali 3703f69c25 Applying klogFlags set via cobra. 2020-10-06 11:20:51 -07:00
ToonvanStrijp b538bc0f56 add extra args 2020-10-06 13:34:20 +02:00
Priya Wadhwa d6acf7f4cb fix issues 2020-10-05 11:49:28 -04:00
Priya Wadhwa 4cff79008c fixed merge conflict 2020-10-05 11:47:53 -04:00
Priya Modali 43cc1a2581 Resolved merg conflicts. 2020-10-02 14:10:55 -07:00
Medya Ghazizadeh 0fc0c82337
Merge pull request #9294 from medyagh/docker_network
add dedicated network for docker driver
2020-10-01 14:11:42 -05:00
Medya Gh 73d77e2463 address review comments 2020-09-30 16:42:42 -07:00
Medya Gh f807bcf8c9 remove kic test 2020-09-30 14:58:20 -07:00
Priya Wadhwa db23825bfc Move exit.Message function so that we aren't exiting from a library 2020-09-30 15:19:06 -04:00
Medya Ghazizadeh 5815ef835c
Merge pull request #9353 from medyagh/update_kicbase_ub
update kicbase image to ubuntu-based
2020-09-30 12:07:58 -05:00
Priya Modali 8d5eb81d38 Fied lint. 2020-09-29 17:10:30 -07:00
Priya Modali 43ea47f4e0 Fixed merge conflicts. 2020-09-29 16:17:31 -07:00
Priya Modali 97d96bf925 Switching from glob library to klog library. 2020-09-29 15:49:41 -07:00
Medya Gh b84dedc652 address review comments 2020-09-29 15:07:06 -07:00
Medya Gh 82f39d1387 clarify comment 2020-09-29 14:29:34 -07:00
Medya Gh 31e175c6f8 move index machine to driver package 2020-09-29 14:27:37 -07:00
Medya Gh 058adb775c address review comments 2020-09-29 14:14:25 -07:00
Medya Gh b7780ec815 address review comments 2020-09-29 14:14:25 -07:00
Medya Gh f163cf9e15 update with new logic 2020-09-29 14:14:25 -07:00
Medya Gh 2766235a5c try alternate if no network 2020-09-29 14:14:25 -07:00
Medya Gh fa0afb220d lint 2020-09-29 14:14:25 -07:00
Medya Gh f0f10d6135 first version 2020-09-29 14:14:24 -07:00
Medya Gh 9cd42163b1 add network create funcs 2020-09-29 14:14:24 -07:00
Medya Ghazizadeh 0d6b6fcce7
Merge pull request #9343 from tstromberg/docker-detect
Add 'docker status' check, improve deadline-exceeded error message
2020-09-29 15:24:43 -05:00
Medya Gh b3401405f0 update kicbase image to ubuntu-based 2020-09-29 13:03:11 -07:00
Thomas Stromberg 91a32541e8 Use %d for exit code 2020-09-29 09:49:30 -07:00
Thomas Stromberg 8eaa3ee4f3 Use oci.CachedDaemonInfo for status check 2020-09-29 09:19:14 -07:00
Anders F Björklund 647c857fe1 Fix error in unittest, as pointed out by warning
"conversion from int to string yields a string of one rune,
not a string of digits (did you mean fmt.Sprint(x)?)"
2020-09-28 21:40:14 +02:00
Thomas Strömberg 75332f7c89
Merge pull request #8901 from bluestealth/MiB
Use mebibytes instead of megabytes
2020-09-25 11:28:41 -07:00
Priya Wadhwa c005cda301 Print solution message when there is no space left on device
during preload extraction.
2020-09-24 13:03:57 -04:00
Sharif Elgamal f097a0de12 dates, take two 2020-09-17 13:20:35 -07:00
Sharif Elgamal 775e047517 dates 2020-09-17 13:18:53 -07:00
Sharif Elgamal 3cb6ba0f75 actually add unit tests 2020-09-17 13:16:07 -07:00
Sharif Elgamal 84ee6d351b unit tests 2020-09-17 13:11:01 -07:00
Sharif Elgamal 39ae4fbdd2 check for windows style pathing with a regex 2020-09-17 12:15:54 -07:00
Sharif Elgamal 23e7989c07 Merge branch 'master' of github.com:kubernetes/minikube into windows-mount 2020-09-17 11:12:35 -07:00
Sharif Elgamal b98580c820 fix up if statement 2020-09-17 10:31:10 -07:00
Sharif Elgamal eab92dc455 Reduce cyclotomic complexity of CreateContainerNode to fix lint 2020-09-17 10:22:28 -07:00
Sharif Elgamal 4a004dd58e simplify more 2020-09-16 16:39:03 -07:00
Sharif Elgamal 14a5b0b264 simplify append 2020-09-16 16:04:10 -07:00
Sharif Elgamal 6e9b1b7bc0 fix mounting for docker driver in windows 2020-09-16 14:55:40 -07:00
Medya Ghazizadeh 44c6f36362
Merge pull request #9255 from afbjorklund/cpus-cfs
Make sure CFS_BANDWIDTH is available for --cpus
2020-09-15 16:07:12 -07:00
Anders F Björklund f718e39ab9 Make sure CFS_BANDWIDTH is available for --cpus 2020-09-15 12:54:39 +02:00
Anders F Björklund af5d6d060b Fix ForwardedPort for podman version 2.0.1 and up
Increasing Docker compatibility broke Podman v1
2020-09-13 22:17:36 +02:00
Sharif Elgamal ee5b8f130f
Merge pull request #8831 from priyawadhwa/overlay
Set preload=false if not using overlay2 as docker storage driver
2020-09-09 11:45:52 -07:00
Sharif Elgamal 3c86db01f4
Merge pull request #9166 from priyawadhwa/revert-static-ip
Revert static IP for docker
2020-09-02 15:49:40 -07:00
Thomas Strömberg 914f10b458
Merge pull request #9149 from tstromberg/docker-no-swap
Disable swap in Docker & podman containers
2020-09-02 14:55:44 -07:00
Priya Wadhwa 22b40e215a revert static IP 2020-09-02 16:33:38 -04:00
Priya Wadhwa ea5af644ec fix merge conflict 2020-09-02 09:31:42 -04:00
Michael Ryan Dempsey 1859274e8a
refactor conversion functions into util 2020-09-01 21:21:07 -07:00
Michael Ryan Dempsey 6ad47f9560
use MiB for raw disk allocations 2020-09-01 21:20:08 -07:00
Michael Ryan Dempsey 9ff030942d
use MiB with kvm driver 2020-09-01 21:20:02 -07:00
Thomas Strömberg 2dac55abf4
Merge pull request #9062 from kadern0/issue-8131
docker: Choose the appropriate bridge interface when multiple exist
2020-09-01 16:46:01 -07:00
Thomas Strömberg 8a26881552
Merge pull request #8159 from Asarew/docker-host-volumes
Support for mounting host volumes on start with docker driver
2020-09-01 16:30:45 -07:00
Pablo Caderno 0408d3ba1a Added code to inspect docker networks to get the bridgeID correctly
Signed-off-by: Pablo Caderno <kaderno@gmail.com>
2020-09-02 08:44:07 +10:00
Thomas Stromberg 7fc0299c6f Disable swap in Docker/podman by setting --memory-swap to --memory 2020-09-01 13:57:52 -07:00
Thomas Stromberg 2c5e8fdaee Add detailed JSON & status codes for all error paths 2020-08-30 17:25:11 -07:00
Priya Wadhwa b053267a81 update kic version to incorporate /kubepods change 2020-08-25 15:59:04 -07:00