Merge pull request #133630 from natasha41575/cleanupOldTODO

[FG:InPlacePodVerticalScaling] Clean up outdated TODO about CPU MinShares edge case
This commit is contained in:
Kubernetes Prow Robot
2025-08-29 17:13:16 -07:00
committed by GitHub

View File

@@ -27,8 +27,6 @@ import (
)
// sharesToMilliCPU converts CpuShares (cpu.shares) to milli-CPU value
// TODO(vinaykul,InPlacePodVerticalScaling): Address issue that sets min req/limit to 2m/10m before beta
// See: https://github.com/kubernetes/kubernetes/pull/102884#discussion_r662552642
func sharesToMilliCPU(shares int64) int64 {
milliCPU := int64(0)
if shares >= int64(cm.MinShares) {