SystemResources.GuaranteedCpuUnits Property

Definition

Gets the CPU units available in the system.

public:
 property double GuaranteedCpuUnits { double get(); };
public double GuaranteedCpuUnits { get; }
member this.GuaranteedCpuUnits : double
Public ReadOnly Property GuaranteedCpuUnits As Double

Property Value

Remarks

This value corresponds to the number of the guaranteed CPUs as described by Kubernetes CPU request parameter, each 1000 CPU units represent 1 CPU or 1 Core. For example, if the POD is configured with 1500m units as the CPU request, this property will be assigned to 1.5 which means one and a half CPU will be dedicated for the POD.

Applies to