我无法在ubuntu 18.04上安装32位minikube。现在只需要一个解决方案,我可以以某种方式安装32 minikube insde我的GUEST,以便我可以运行它。因为现在我无法双重启动主机。尽管双启动最终可以解决我的问题,但我知道。我可以通过调整HOST virtualbox的设置来启用GUEST虚拟化。
Senario
HOST [windows 7 64-bit]
GUEST [ ubuntu 18.04 64-bit]
遵循的步骤
1. Installed 64 bit virtual box inside my HOST.
2. Installed GUEST in Virtual box ( in HOST as a vm ).
3. Installed Virutal box inside my GUEST (virtual box only shows 32-bit os due to inside vm nested virtualization not supported AFAIK ).
4. installed kubectl in GUEST.
5. Downloaded minikube for GUEST (but downloaded 64-bit minikube [LINK](https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64)
because did not found 32 bit image. I do know it will not work because it is 64-bit which will not work on 32-bit architecture in my case).
start minikube
下面是在GUEST中运行以上命令后的日志
* minikube v1.2.0 on linux (amd64)
* Downloading Minikube ISO ...
129.33 MB / 129.33 MB [============================================] 100.00% 0s
* Creating virtualbox VM (CPUs=2, Memory=2048MB, Disk=20000MB) ...
E0702 00:59:42.328274 7241 start.go:559] StartHost: create: precreate: This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory
X Unable to start VM
* Error: [VBOX_VTX_DISABLED] create: precreate: This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory
* Advice: In some environments, this message is incorrect. Try 'minikube start --no-vtx-check'
* Related issues:
- https://github.com/kubernetes/minikube/issues/3900
* If the above advice does not help, please let us know:
- https://github.com/kubernetes/minikube/issues/new
答案 0 :(得分:0)
您需要在BIOS中启用虚拟扩展。重新启动计算机,进入BIOS设置(通常,您需要单击“删除”或F2之类的特定符号,才能实现此功能)。
答案 1 :(得分:-1)
这是我被搜索到的解决方案的链接,今天SOLUTION LINK下使用最新工具进行了尝试
minikube version
minikube版本:v1.2.0
kubectl version
客户端版本:version.Info {主要:“ 1”,次要:“ 15”,GitVersion:“ v1.15.1”,GitCommit:“ 4485c6f18cee9a5d3c3b4e523bd27972b1b53892”,GitTreeState:“清洁”,生成日期:“ 2019-07-18T09 :18:22Z“,GoVersion:” go1.12.5“,编译器:” gc“,平台:” linux / amd64“}
服务器版本:version.Info {主要:“ 1”,次要:“ 15”,GitVersion:“ v1.15.0”,GitCommit:“ e8462b5b5dc2584fdcd18e6bcfe9f1e4d970a529”,GitTreeState:“清洁”,生成日期:“ 2019-06-19T16 :32:14Z“,GoVersion:” go1.12.5“,编译器:” gc“,平台:” linux / amd64“}