Skip to content

fix: Cancel gpu field when edit project quota

Created by: weili520

Signed-off-by: TheYoungManLi cjl@kubesphere.io

What type of PR is this?

/kind bug

What this PR does / why we need it:

This is part of the work about #2870 (closed). In order to avoid adding the GPU field into the yaml, we need to get GPU info from the requests field and save the GPU limit into the requests and limits field in the ResourceLimit component, so some operations about the GPU are no longer needed.

Which issue(s) this PR fixes:

Fixes ##2870 (closed)

Special notes for reviewers:

No UI change

截屏2021-12-27 17 36 32

截屏2021-12-27 17 38 14

Does this PR introduced a user-facing change?

NONE

Additional documentation, usage docs, etc.:

合并请求报告

加载中