有没有一种方法可以在GKE群集节点中启用嵌套虚拟化

有没有一种方法可以在GKE群集节点中启用嵌套虚拟化

本文介绍了有没有一种方法可以在GKE群集节点中启用嵌套虚拟化?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图将KubeVirt与GKE集群一起使用.

I am trying to use KubeVirt with GKE cluster.

我发现我能够创建嵌套的启用虚拟化功能的GCP VM,但是我没有找到一种方法来为GKE集群节点实现相同的目的.

I found I am able to create a nested virtualization enabled GCP VM, but I didn't find a way to achieve the same thing for GKE cluster node.

如果无法为GKE群集节点启用嵌套虚拟化,则只能将kubevirt与debug.useEmulation一起使用,这不是我想要的.

If I cannot enable nested virtualization for GKE cluster node, I can only use the kubevirt with debug.useEmulation which is not what I want.

谢谢

推荐答案

根据此文档.

关于在GKE上支持Nested Virtualization的问题已经存在,可以在此处.我会说还没有介绍它,这就是为什么您找不到有关GKE和nested virtualization的适当文档.

There is already question regarding supporting Nested Virtualization on GKE and it can be found here. I'd say it's not introduced yet, thats why you cannot find proper documentation about GKE and nested virtualization.

还请考虑GCPGKE完全不同.

Also please consider that GCP and GKE are quite different.

Google Compute Engine VM实例不受Google管理.因此,除了准备好的基础映像之外,您还可以执行任何需要的操作,就像普通的VM一样.

Google Compute Engine VM instance is unmanaged by google. So besides ready base image, you can do whatever you need, like it would be normal VM.

但是,Google Kubernetes Engine是专门为容器创建的.那些虚拟机由Google管理. GKE已经为您创建了集群,并且所有VM都自动成为集群的一部分.在GKE中,您无法运行MinikubeKubeadm.

However, Google Kubernetes Engine was created especially for containers. Thoses VMs are managed by google. GKE already creates Cluster for you and all VMs are automatically part of the cluster. In GKE you are unable to run Minikube or Kubeadm.

这里,您有一些特点的GKE

这篇关于有没有一种方法可以在GKE群集节点中启用嵌套虚拟化?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-07 08:35