Priya Wadhwa
8b4c48143b
implement --docker-network flag
2020-10-23 09:50:23 -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
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 Gh
73d77e2463
address review comments
2020-09-30 16:42:42 -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
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
31e175c6f8
move index machine to driver package
2020-09-29 14:27:37 -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
f0f10d6135
first version
2020-09-29 14:14:24 -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
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
Priya Wadhwa
22b40e215a
revert static IP
2020-09-02 16:33:38 -04: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
Priya Wadhwa
a949f9ca7b
improvement
2020-08-12 12:58:21 -07:00
Priya Wadhwa
dfa05d714e
include gateway when creating custom network
2020-08-12 12:54:06 -07:00
Priya Wadhwa
fb1bc3afbb
fix network name
2020-08-10 17:33:32 -04:00
Priya Wadhwa
21789d8c4e
compile
2020-08-10 17:18:42 -04:00
Priya Wadhwa
9dcb0c5478
fix merge conflict
2020-08-10 17:12:56 -04:00
Priya Wadhwa
5799b47ddb
Implement some checks and reorganize code
2020-08-10 17:04:41 -04:00
Thomas Stromberg
dee9c0b427
Show 'docker logs' excerpt if container dies
2020-07-24 08:58:09 -07:00
Anders F Björklund
22585c3a17
Use the preload container run for podman as well
...
Now that there is no more race between the containers for
preparing the volume, we can use it for podman as well...
Previously we risked ending up with not copying the contents
of /var from the container image, which made it not work.
2020-07-20 21:54:28 +02:00
Jose Donizetti
c2175abcba
Add static ip to kic/docker
2020-07-18 18:19:53 -03:00
Jose Donizetti
cd17c872d3
Fix documentation typo
2020-07-18 15:02:09 -03:00
Asare Worae
7bcae732bf
resolved merge conflicts
2020-06-30 10:00:52 +02:00
Medya Gh
e91e11eeba
address review comments
2020-06-17 18:32:11 -07:00
Medya Gh
dacd980fe7
add err type for start too
2020-06-17 15:15:23 -07:00
Medya Gh
ca2d0f97ec
move advice to its own file
2020-06-17 15:07:17 -07:00
Medya Gh
488e2003f4
fix image digest
2020-05-29 12:19:59 -07:00
Asare Worae
1909c4bb7c
add support for `--docker-volume` command line flag to mount host volumes on start
2020-05-15 11:44:24 +02: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
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
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
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
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
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
Anders F Björklund
6644c5cc64
Merge branch 'master' into podman-sudo
2020-04-25 18:05:33 +02:00
Medya Gh
63f9bfbb61
addres review comments
2020-04-24 14:07:54 -07:00
Medya Gh
038aef6b48
unexport warnIfSlow func
2020-04-23 00:33:40 -07:00
Medya Gh
366dc8d127
add helper for img plull command
2020-04-20 13:13:37 -07:00
Medya Gh
ac66bf2f90
first working version
2020-04-19 19:59:50 -07:00
Anders F Björklund
22aa1aff22
Handle more state and status for the podman driver
2020-04-19 09:45:16 +02:00