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
// remainingPodMemReqPerContainer calculates the remaining pod memory request per
47
+
// container by:
48
+
// 1. Taking the total pod memory requests
49
+
// 2. Subtracting total container memory requests from pod memory requests
50
+
// 3. Dividing the remainder by the number of containers.
51
+
// This gives us the additional memory request that is not allocated to any
52
+
// containers in the pod. This value will be divided equally among all containers to
53
+
// calculate oom score adjusment.
54
+
// See https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/2837-pod-level-resource-spec/README.md#oom-score-adjustment
0 commit comments