Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewPodContainerManager (0.31 sec)

  1. pkg/kubelet/cm/container_manager.go

    	GetNodeConfig() NodeConfig
    
    	// Status returns internal Status.
    	Status() Status
    
    	// NewPodContainerManager is a factory method which returns a podContainerManager object
    	// Returns a noop implementation if qos cgroup hierarchy is not enabled
    	NewPodContainerManager() PodContainerManager
    
    	// GetMountedSubsystems returns the mounted cgroup subsystems on the node
    	GetMountedSubsystems() *CgroupSubsystems
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:13 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/container_manager_linux_test.go

    				},
    
    				NodeConfig: QosDisabled,
    			},
    		},
    	}
    
    	for _, c := range cases {
    		c := c
    		t.Run(c.name, func(t *testing.T) {
    			t.Parallel()
    			pcm := c.cm.NewPodContainerManager()
    			if c.cm.NodeConfig.CgroupsPerQOS {
    				assert.IsType(t, &podContainerManagerImpl{}, pcm)
    				got := pcm.(*podContainerManagerImpl)
    				assert.Equal(t, c.cm.subsystems, got.subsystems)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top