Created
March 23, 2018 15:59
-
-
Save bartosh/ec14eb32ccda06feadc9ff0d92c5cb0a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func (m *ManagerImpl) allocateContainerResources(pod *v1.Pod, container *v1.Container, devicesToReuse map[string]sets.String) error { | |
... | |
for k, v := range container.Resources.Limits { | |
... | |
glog.V(3).Infof("Making allocation request for devices %v for device plugin %s", devs, resource) | |
resp, err := e.allocate(devs, pod.Annotations) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment