gpt4 book ai didi

android - 在Google Kubernetes引擎群集上启用VMX/SVM

转载 作者:行者123 更新时间:2023-12-02 12:28:51 24 4
gpt4 key购买 nike

我有GKE集群(主版本:1.14.10-gke.24)。

我正在尝试运行以下容器(Android-Emulator):
https://github.com/budtmo/docker-android

*我只是为此创建了Yaml部署文件。

在我运行部署并尝试使用以下命令在pod内运行新的android仿真器后:

emulator @samsung_galaxy_s8_8.0

我收到以下错误:

emulator: ERROR: x86 emulation currently requires hardware acceleration!

Please ensure KVM is properly installed and usable.

CPU acceleration status: KVM requires a CPU that supports vmx or svm

More info on configuring VM acceleration on Linux: https://developer.android.com/studio/run/emulator-acceleration#vm-linux

General information on acceleration: https://developer.android.com/studio/run/emulator-acceleration.



我该如何解决?我应该在群集上启用VMX吗?

最佳答案

当前,根据this docs,嵌套虚拟化仅在GCE上可用。

关于Nested VirtualizationGKE的支持,已经有了question。我会说还没有介绍,这就是为什么您找不到有关GKE和nested virtualization的适当文档的原因。

到目前为止,我只能看到一种解决方法:

As a workaround, I've been doing what this user was doing which is to clone the existing GKE node image and add the license, and copy-and-edit the instance group's template to the image:

https://groups.google.com/d/msg/kubernetes-users/Lq0ttadDOYI/1y1RVQMCBgAJ

Obviously it's not 100% supported but I still get a lot of the GKE benefits AND nested virtualization.



希望能有所帮助。

关于android - 在Google Kubernetes引擎群集上启用VMX/SVM,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60831496/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com