Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for createNodeAllocatableCgroups (0.42 sec)

  1. pkg/kubelet/cm/node_container_manager_linux.go

    	kubetypes "k8s.io/kubernetes/pkg/kubelet/types"
    )
    
    const (
    	defaultNodeAllocatableCgroupName = "kubepods"
    )
    
    // createNodeAllocatableCgroups creates Node Allocatable Cgroup when CgroupsPerQOS flag is specified as true
    func (cm *containerManagerImpl) createNodeAllocatableCgroups() error {
    	nodeAllocatable := cm.internalCapacity
    	// Use Node Allocatable limits instead of capacity if the user requested enforcing node allocatable.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/container_manager_linux.go

    	}
    	if err := setupKernelTunables(b); err != nil {
    		return err
    	}
    
    	// Setup top level qos containers only if CgroupsPerQOS flag is specified as true
    	if cm.NodeConfig.CgroupsPerQOS {
    		if err := cm.createNodeAllocatableCgroups(); err != nil {
    			return err
    		}
    		err = cm.qosContainerManager.Start(cm.GetNodeAllocatableAbsolute, activePods)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top