You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VPA: Revert using containerStatus resources to calculate update priority
Reverts the change that takes containerStatuses resources in to account when calculating update priority. This change, along with along VPA to use containerStatuses when calculating recommendations themselves, should instead be included in a future enhancement and potentially feature-gated.
Signed-off-by: Max Cao <[email protected]>
// Although this seems like a big API change (wouldn't work for VPA on kubernetes < 1.33 without feature gate applied). I'll leave it up for reviewers.
83
-
// IMO, this should probably be implemented for a followup enhancement.
84
-
85
-
// Statuses can be missing, or status resources can be nil
klog.V(4).InfoS("Pod looks like it's stuck scaling up, leaving it in for eviction", "pod", klog.KObj(pod), "resizeStatus", pod.Status.Resize)
95
-
} else {
96
-
klog.V(4).InfoS("Pod is in the process of scaling up, leaving it in so we can see if it's taking too long", "pod", klog.KObj(pod), "resizeStatus", pod.Status.Resize)
97
-
}
98
-
}
99
-
// I guess if it's not outside of compliance, it's probably okay it's stuck here?
100
-
if (hasLowerBound&&statusRequest.Cmp(lowerBound) <0) ||
0 commit comments