mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-08-08 23:37:11 +00:00
Merge pull request #133630 from natasha41575/cleanupOldTODO
[FG:InPlacePodVerticalScaling] Clean up outdated TODO about CPU MinShares edge case
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user