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 수에 해당합니다. 각 1,000개의 CPU 단위는 1개의 CPU 또는 1코어를 나타냅니다. 예를 들어 Pod가 CPU 요청으로 1500m 단위로 구성된 경우 이 속성은 1.5에 할당됩니다. 즉, Pod 전용 CPU가 1.5입니다. Pod의 경우 이 값은 CPU 가중치이며 x CPU 공유(cgroup v1)인 y 수식을 y = (1 + ((x - 2) * 9999) / 262142)사용하여 가중치에 따라 cgroupv2 계산됩니다. 자세한 내용은 https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/2254-cgroup-v2#phase-1-convert-from-cgroups-v1-settings-to-v2를 참조하세요.