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
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
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