Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addContainer (0.1 sec)

  1. pkg/kubelet/cm/memorymanager/memory_manager.go

    	// AddContainer adds the mapping between container ID to pod UID and the container name
    	// The mapping used to remove the memory allocation during the container removal
    	AddContainer(p *v1.Pod, c *v1.Container, containerID string)
    
    	// Allocate is called to pre-allocate memory resources during Pod admission.
    	// This must be called at some point prior to the AddContainer() call for a container, e.g. at pod admission time.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 00:50:45 UTC 2023
    - 17.1K bytes
    - Viewed (1)
  2. pkg/kubelet/cm/cpumanager/cpu_manager_test.go

    				testCase.description, testCase.expAllocateErr, err)
    		}
    
    		mgr.AddContainer(pod, container, "fakeID")
    		_, _, err = mgr.containerMap.GetContainerRef("fakeID")
    		if !reflect.DeepEqual(err, testCase.expAddContainerErr) {
    			t.Errorf("CPU Manager AddContainer() error (%v). expected error: %v but got: %v",
    				testCase.description, testCase.expAddContainerErr, err)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 06 13:16:15 UTC 2023
    - 42.9K bytes
    - Viewed (0)
Back to top