SystemResources.GuaranteedCpuUnits 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取系统中可用的 CPU 单位。
public:
property double GuaranteedCpuUnits { double get(); };
public double GuaranteedCpuUnits { get; }
member this.GuaranteedCpuUnits : double
Public ReadOnly Property GuaranteedCpuUnits As Double
属性值
注解
此值对应于 Kubernetes CPU 请求参数所述的保证 CPU 数,每个 1000 个 CPU 单元表示 1 个 CPU 或 1 个核心。 例如,如果将 POD 配置为 1500m 单位作为 CPU 请求,则此属性将分配给 1.5,这意味着一个半 CPU 将专用于 POD。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈