Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SetPodAllocation (0.11 sec)

  1. pkg/kubelet/status/fake_status_manager.go

    }
    
    func (m *fakeManager) GetPodResizeStatus(podUID string) (v1.PodResizeStatus, bool) {
    	klog.InfoS("GetPodResizeStatus()")
    	return "", false
    }
    
    func (m *fakeManager) SetPodAllocation(pod *v1.Pod) error {
    	klog.InfoS("SetPodAllocation()")
    	for _, container := range pod.Spec.Containers {
    		var alloc v1.ResourceList
    		if container.Resources.Requests != nil {
    			alloc = container.Resources.Requests.DeepCopy()
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 05:59:34 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top