mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 12:07:47 +00:00
Use CamelCase for memory manager policy name check in InPlacePodVerticalScalingExclusiveCPUs
This commit is contained in:
parent
58704903c5
commit
33bf509eb0
@ -2829,7 +2829,7 @@ func (kl *Kubelet) canResizePod(pod *v1.Pod) (bool, v1.PodResizeStatus, string)
|
||||
}
|
||||
}
|
||||
if utilfeature.DefaultFeatureGate.Enabled(features.MemoryManager) {
|
||||
if kl.containerManager.GetNodeConfig().MemoryManagerPolicy == "static" {
|
||||
if kl.containerManager.GetNodeConfig().MemoryManagerPolicy == "Static" {
|
||||
msg := "Resize is infeasible for Guaranteed Pods alongside Memory Manager static policy"
|
||||
klog.V(3).InfoS(msg, "pod", format.Pod(pod))
|
||||
return false, v1.PodResizeStatusInfeasible, msg
|
||||
|
Loading…
Reference in New Issue
Block a user