mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-23 10:26:22 +00:00
clean up outdated in-place pod resize todo
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