hashicorp / nomad-driver-virt

Mozilla Public License 2.0
8 stars 1 forks source link

compute: calculate or default the `primary_disk_size` task config parameter #52

Open jrasell opened 1 month ago

jrasell commented 1 month ago

The primary_disk_size parameter is currently a required config option, meaning it must be set by job authors. This adds additional overhead on job authoring and might cause confusion of what this value needs to be.

It might be advantageous to add a default value when this parameter is not supplied, such as 8Gb. Alternatively, a value could be calculated based on the passed image size.