Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MergeContainerResourceLimits (0.17 sec)

  1. pkg/api/v1/resource/helpers.go

    			return &container, nil
    		}
    	}
    	return nil, fmt.Errorf("container %s not found", containerName)
    }
    
    // MergeContainerResourceLimits checks if a limit is applied for
    // the container, and if not, it sets the limit to the passed resource list.
    func MergeContainerResourceLimits(container *v1.Container,
    	allocatable v1.ResourceList) {
    	if container.Resources.Limits == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 26 13:58:16 UTC 2023
    - 16.3K bytes
    - Viewed (0)
Back to top