CpuAndMemory

API: Internal/Beta

data class CpuAndMemory(
    val cpu: Double,
    val memory: Long,
)
Properties
cpu: Double Number of virtual cores

Implement as a floating to represent fractions of a virtual core. This is for example useful for Kubernetes (and other container systems) which will allocate milli-cpus.

memory: Long Memory available in bytes