Skip to content

Instantly share code, notes, and snippets.

@ynott
Last active July 15, 2018 06:10
Show Gist options
  • Save ynott/8d44e8eaa50870404d26376de059207a to your computer and use it in GitHub Desktop.
Save ynott/8d44e8eaa50870404d26376de059207a to your computer and use it in GitHub Desktop.
[解決済み]Ubuntu の Virtualboxでminikubeを動かそうとしたらエラーが出た件 ref: https://qiita.com/ynott/items/59f33a8b7d250c56ed07
RTR3InitEx failed with rc=-1912 (rc=-1912)
The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing
'/sbin/vboxconfig'
may correct this. Make sure that you do not mix the OSE version and the PUEL version of VirtualBox.
where: supR3HardenedMainInitRuntime what: 4 VERR_VM_DRIVER_VERSION_MISMATCH (-1912) - The installed support driver doesn't match the version of the user.
minikube delete
sudo apt autoremove --purge virtualbox*
dpkg -l virtualbox* | grep ^i
sudo apt-get update
sudo apt-get install virtualbox-5.2
sudo /sbin/vboxconfig
minikube start --kubernetes-version v1.10
$ minikube start
Starting local Kubernetes v1.10.0 cluster...
Starting VM...
Getting VM IP address...
Moving files into cluster...
Downloading kubeadm v1.10.0
Downloading kubelet v1.10.0
Finished Downloading kubelet v1.10.0
Finished Downloading kubeadm v1.10.0
Setting up certs...
Connecting to cluster...
Setting up kubeconfig...
Starting cluster components...
Kubectl is now configured to use the cluster.
Loading cached images from config file.
$ kubectl get nodes
NAME STATUS ROLES AGE VERSION
minikube Ready master 2m v1.10.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment