Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support enabling nesting virtualization for nodes #856

Open
anbrsap opened this issue Oct 1, 2024 · 0 comments
Open

Support enabling nesting virtualization for nodes #856

anbrsap opened this issue Oct 1, 2024 · 0 comments
Labels
area/control-plane Control plane related kind/enhancement Enhancement, improvement, extension platform/gcp Google cloud platform/infrastructure

Comments

@anbrsap
Copy link

anbrsap commented Oct 1, 2024

How to categorize this issue?

/area control-plane
/kind enhancement
/platform gcp

What would you like to be added:

Enabling nested virtualization for GCP Compute Engine VMs provisioned as shoot cluster nodes should be supported.

It should be configurable for individual worker pools.

Example Shoot manifest fragment:

apiVersion: core.gardener.cloud/v1beta1
kind: Shoot

spec:
  cloudProfileName: gcp
  
  provider:
    type: gcp
    workers:
    - name: pool-1
      machine:
        type: n1-standard-4
        enableNestedVirtualization: true # <---
      
    

Why is this needed:

For enhanced security we need to run pods via the Kata Containers container runtime. Kata Containers uses lightweight virtual machines, which require KVM, which requires Intel VT or AMD-V support from the CPUs.

On GCP Compute Engine, (certain) VM instance types do support nested virtualization, but it is disabled by default and needs to be enabled explicitly when required. As gardener-extension-provider-gcp implements node creation on GCP Compute Engine, it should support enabling nested virtualization.

@gardener-robot gardener-robot added area/control-plane Control plane related kind/enhancement Enhancement, improvement, extension platform/gcp Google cloud platform/infrastructure labels Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/control-plane Control plane related kind/enhancement Enhancement, improvement, extension platform/gcp Google cloud platform/infrastructure
Projects
None yet
Development

No branches or pull requests

2 participants