Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for truth (0.11 sec)

  1. pkg/kubelet/kubelet.go

    	attrs := &lifecycle.PodAdmitAttributes{Pod: pod, OtherPods: pods}
    	if utilfeature.DefaultFeatureGate.Enabled(features.InPlacePodVerticalScaling) {
    		// Use allocated resources values from checkpoint store (source of truth) to determine fit
    		otherPods := make([]*v1.Pod, 0, len(pods))
    		for _, p := range pods {
    			op := p.DeepCopy()
    			kl.updateContainerResourceAllocation(op)
    
    			otherPods = append(otherPods, op)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_pods.go

    							resource[rName] = r.DeepCopy()
    						}
    					}
    				}
    			}
    		}
    		container := kubecontainer.GetContainerSpec(pod, cName)
    		// AllocatedResources values come from checkpoint. It is the source-of-truth.
    		found := false
    		status.AllocatedResources, found = kl.statusManager.GetContainerResourceAllocation(string(pod.UID), cName)
    		if !(container.Resources.Requests == nil && container.Resources.Limits == nil) && !found {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
Back to top