Nested Virtualization Support for Nodes in GKE?

1,385 views
Skip to first unread message

Nelson Chen

unread,
Aug 19, 2018, 12:54:32 AM8/19/18
to gce-discussion
I'm interested in running containers that try to run qemu with access to /dev/kvm on the host through GKE. 

I can do this just fine without GKE through regular non-managed GCE instances with the license enabling mechanism. But then I don't have GKE backing me or managing the cluster. Bummer!

Problem is, GKE doesn't let you use custom images with licenses. I actually don't really need to customize the images really, I just need an image, Ubuntu-based if need be should cOS not have support, to have nested virtualization enabled that I can pass access to the containers with. 

Doing this would make distributed qemu test jobs much easier. 

Is there any way to enable the license for node images used in GKE node pools?  

Nelson Chen

unread,
Aug 19, 2018, 4:29:31 AM8/19/18
to gce-discussion
I just realized that this is probably the wrong forum to discuss this in. Sorry about that.

Digil (Google Cloud Platform Support)

unread,
Aug 20, 2018, 9:04:49 PM8/20/18
to gce-discussion
Currently, this feature is not available under GKE. That's being said,there is an existing feature request for enabling nested virtualization on GKE Ubuntu image. I would strongly recommend you to follow the thread for any updates regarding this. Also,provide your valuable suggestions/comments over there as well.

Nelson Chen

unread,
Aug 21, 2018, 2:30:34 AM8/21/18
to gce-discussion
Thanks for the link. I'll be sure to comment there. 
Reply all
Reply to author
Forward
0 new messages