pub struct MachineProfile {
pub cpu: String,
pub memory_bytes: u64,
pub ephemeral_storage_bytes: u64,
pub architecture: Option<Architecture>,
pub gpu: Option<GpuSpec>,
pub data_disk: Option<DataDiskRequirement>,
}Expand description
Machine resource profile for a capacity group.
Represents the hardware specifications for machines in a capacity group. These are hardware totals (what the instance type advertises), not allocatable capacity. The managed container scheduler internally subtracts system reserves for planning.
Fields§
§cpu: StringCPU cores per machine (hardware total) - stored as string to preserve precision (e.g., “8.0”, “4.5”)
memory_bytes: u64Memory in bytes (hardware total)
ephemeral_storage_bytes: u64Ephemeral storage in bytes (hardware total)
architecture: Option<Architecture>CPU architecture required or provided by this machine profile.
gpu: Option<GpuSpec>GPU specification (optional)
data_disk: Option<DataDiskRequirement>Additional empty block device each machine must provide, besides the
disk holding the operating system. On AWS, GCP and Azure the runtime
controller attaches one to every machine; on Machines, join refuses a
host without one. Kubernetes rejects it.