-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4686db6
commit 16ab06c
Showing
8 changed files
with
78 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Driver plugin installation | ||
|
||
Minikube uses Docker Machine to manage the Kubernetes VM so it benefits from the | ||
driver plugin architecture that Docker Machine uses to provide a consistent way to | ||
manage various VM providers. Minikube embeds VirtualBox and VMware Fusion drivers | ||
so there are no additional steps to use them. However, other drivers require an | ||
extra binary to be present in the host PATH. | ||
|
||
The following drivers currently require driver plugin binaries to be present in | ||
the host PATH: | ||
|
||
* [KVM](#kvm-driver) | ||
* [xhyve](#xhyve-driver) | ||
|
||
#### KVM driver | ||
|
||
Download the `docker-machine-driver-kvm` binary from | ||
https://github.com/dhiltgen/docker-machine-kvm/releases and put it somewhere in | ||
your PATH. Minikube is currently tested against `docker-machine-driver-kvm` 0.7.0. | ||
|
||
#### xhyve driver | ||
|
||
From https://github.com/zchee/docker-machine-driver-xhyve#install: | ||
|
||
``` | ||
$ brew install docker-machine-driver-xhyve | ||
# docker-machine-driver-xhyve need root owner and uid | ||
$ sudo chown root:wheel $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve | ||
$ sudo chmod u+s $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,6 +49,7 @@ var SupportedVMDrivers = [...]string{ | |
"virtualbox", | ||
"vmwarefusion", | ||
"kvm", | ||
"xhyve", | ||
} | ||
|
||
const ( | ||
|