Weiwei Yang created YUNIKORN-2271:
-------------------------------------
Summary: Incorrect handling of GPU only resources
Key: YUNIKORN-2271
URL: https://issues.apache.org/jira/browse/YUNIKORN-2271
Project: Apache YuniKorn
Issue Type: Bug
Components: shim - kubernetes
Reporter: Weiwei Yang
https://github.com/apache/yunikorn-k8shim/blob/a118ba6c4d84804e2a407f9d91196ece4690cf09/pkg/common/resource.go#L61-L63
this code seems to have a bug. When I define resource like this:
{code}
request:
nvidia.com/gpu: 1
limit:
nvidia.com/gpu: 1
{code}
this is considered as QoS best effort and returned with just
{code}
Resources:
pod:1
{code}
but I think this is a valid configuration that a pod only specifies GPU
resource without memory or CPU.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]