mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-27 13:15:36 +00:00
Use CamelCase for memory manager policy name check in InPlacePodVerticalScalingExclusiveCPUs
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user