confidential-containers / cloud-api-adaptor

Ability to create Kata pods using cloud provider APIs aka the peer-pods approach
Apache License 2.0
48 stars 88 forks source link

libvirt: Add podvm instance cpu and mem size support for libvirt #2116

Open savitrilh opened 1 month ago

savitrilh commented 1 month ago

Use io.katacontainers.config.hypervisor.default_vcpus and io.katacontainers.config.hypervisor.default_memory annotations to set the libvirt podvm instance. Use the default values if no annotations are provided.

Fixes: #1650

Signed-off-by : savitrilh savitrilh@in.ibm.com