Thanks Balazs.

If I already create vgpu I just need to update the flavor using the following command?

openstack flavor set vgpu_1 --property "resources:VGPU=1"

On Mon, Sep 6, 2021 at 4:12 PM Balazs Gibizer <balazs.gibizer@est.tech> wrote:


On Mon, Sep 6, 2021 at 14:02, open infra <openinfradn@gmail.com> wrote:
> Hi,
>
> How to create a flavor with GPU?
This document helps with the vGPU support in nova:
https://docs.openstack.org/nova/latest/admin/virtual-gpu.html

If you need a whole physical GPU to be passed to the guest instead then
you can pass that through as a PCI device. Documented here:
https://docs.openstack.org/nova/latest/admin/pci-passthrough.html

Cheers,
gibi

> The way we set vcpu and memory.
>
> Regards,
> Danishka