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

Flexibile per-pod VM customisations #2218

Open
bpradipt opened this issue Dec 19, 2024 · 0 comments
Open

Flexibile per-pod VM customisations #2218

bpradipt opened this issue Dec 19, 2024 · 0 comments

Comments

@bpradipt
Copy link
Member

Currently we have the following per-pod VM customisations available

  • pod VM image
  • pod VM resources (cpu/mem/gpu)
  • pod VM instance type

These per-pod VM customisations are exposed as Kata hypervisor annotations in the pod spec. These annotations are available in the StartVM call for further processing before creating the pod VM.

There is a need to allow additional customisations like:

  • pod VM network
  • pod VM network security
  • pod VM region, VPC/RG
  • pod VM root volume size

We had some early discussions about this in the community slack channel (https://cloud-native.slack.com/archives/C04A2EJ70BX/p1734524383791669)

One of the suggestion from @mkulke was about using the concept of profiles to indicate the pod VM specification.

Conceptually this may involve the following:

  1. Specification of pod VM profile: This will be specific for each provider. We can use configMaps for the profiles. Or we can use a CRD for the profile spec and use CRs for the profiles. Since we just want a structured mechanism to store profiles, this CRD can be without a controller.
  2. Kata hypervisor annotation to specify the profile
  3. CAA changes to query and use the profile for pod VM customisation

cc @mkulke @stevenhorsman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant