Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support quota for core and memory #302

Open
ZDWWWWW opened this issue May 10, 2024 · 1 comment
Open

Support quota for core and memory #302

ZDWWWWW opened this issue May 10, 2024 · 1 comment

Comments

@ZDWWWWW
Copy link

ZDWWWWW commented May 10, 2024

1. Issue or feature description

resourceQuota or volcano-queue can not limit core and memory between different users.
for example:

apiVersion: v1
kind: Pod
metadata:
  name: gpu-pod
spec:
  containers:
    - name: ubuntu-container
      image: ubuntu:18.04
      command: ["bash", "-c", "sleep 86400"]
      resources:
        limits:
          nvidia.com/gpu: 2 # requesting 2 GPUs
          nvidia.com/gpumem: 1000 # Each vGPU contains 1000m device memoryOptional,Integernvidia.com/gpucores: 10 # Each vGPU uses 10% of the entire GPUOptional,Integer)

Since the usage of gpucores and gpumem is related to the number of GPUs used, for example, gpu:2, gpucores:10 means that the two cards use 10core respectively, and the total usage is 20core.

resourceQuota or volcano-queue can not limit core and memory between different users.

  1. Core and mem are not registered on the node, and resourcequota or volcano-queue cannot sense this resource.
  2. Since the usage of gpucores and gpumem is related to the usage of gpu, core and mem cannot be deducted correctly.
Copy link

Hi @ZDWWWWW,
Thanks for opening an issue!
We will look into it as soon as possible.

Details

Instructions for interacting with me using comments are available here.
If you have questions or suggestions related to my behavior, please file an issue against the gh-ci-bot repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant