containers / virtcontainers

A Go package for building hardware virtualized container runtimes
Apache License 2.0
139 stars 43 forks source link

resource allocation: clarify the comments on how we calculate this #554

Closed grahamwhaley closed 6 years ago

grahamwhaley commented 6 years ago

Clarify how we calculate how much RAM and how many vCPUs to allocate to a VM, as per: https://github.com/containers/virtcontainers/blob/master/pkg/oci/utils.go#L402

and comment: https://github.com/containers/virtcontainers/pull/541/files#r160336618