mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Merge pull request #130559 from esotsal/fix-use-CamelCase-for-memory-manager-policy-name-check-for-InPlacePodVerticalScalingExclusiveCPUs-feature-gate
[FG:InPlacePodVerticalScaling] Fix use CamelCase for memory manager policy in InPlacePodVerticalScalingExclusiveCPUs
This commit is contained in:
commit
f510123183
@ -2835,7 +2835,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