code: func isResourceBestEffort(container *api.Container, resource api.ResourceName) bool {
  	// A container resource is best-effort if its request is unspecified or 0.
  	// If a request is specified, then the user expects some kind of resource guarantee.
  	req, hasReq := container.Resources.Requests[resource]
  	return !hasReq || req.Value() == 0
  }
docs: // isResourceBestEffort returns true if the container's resource requirements are best-effort.