Create compute flavors

Create compute flavors

The appropriately created compute flavors allows for proper compute service scheduling of workloads to bare metal nodes.

To create nova flavors:

  1. Create a flavor using the nova flavor-create command:

    nova flavor-create <FLAVOR_NAME> <UUID_OR_'auto'> <RAM> <DISK> <CPUS>
    

    Where RAM, DISK, and CPUS equal to the corresponding properties set on the bare metal nodes.

  2. Use the above command to create flavors for each type of bare metal nodes you need to differentiate.