Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update libvirtd #3711

Merged
merged 5 commits into from
Feb 27, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions docs/drivers.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ To install the KVM2 driver, first install and configure the prereqs:
* Ubuntu 16.x or older: `sudo apt install libvirt-bin libvirt-daemon-system qemu-kvm`
* Fedora/CentOS/RHEL: `sudo yum install libvirt-daemon-kvm qemu-kvm`

Enable,start, and verify the libvirtd service has started.
```shell
sudo systemctl enable libvirtd.service
sudo systemctl start libvirtd.service
sudo systemctl status libvirtd.service
```


Then you will need to add yourself to libvirt group (older distributions may use libvirtd instead)

`sudo usermod -a -G libvirt $(whoami)`
Expand All @@ -37,6 +45,7 @@ curl -LO https://storage.googleapis.com/minikube/releases/latest/docker-machine-
&& sudo install docker-machine-driver-kvm2 /usr/local/bin/
```


NOTE: Ubuntu users on a release older than 18.04, or anyone experiencing [#3206: Error creating new host: dial tcp: missing address.](https://github.com/kubernetes/minikube/issues/3206) you will need to build your own driver until [#3689](https://github.com/kubernetes/minikube/issues/3689) is resolved. Building this binary will require [Go v1.11](https://golang.org/dl/) or newer to be installed.

```
Expand All @@ -55,6 +64,18 @@ To use the kvm2 driver:
minikube start --vm-driver kvm2
```

or, to use kvm2 as a default driver:

```shell
minikube config set vm-driver kvm2
```

and run minikube as usual:

```shell
minikube start
```

#### Hyperkit driver

The Hyperkit driver will eventually replace the existing xhyve driver.
Expand Down