Skip to content

fix: Gpu tip info error and gpu limit number error

Calvin Yu请求将github/fork/weili520/gpu_num_inccrect合并到master

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 problem is caused by the response data includes other fields such as count/pods when we get the project quota

截屏2021-12-20 18 07 22

Which issue(s) this PR fixes:

Fixes ##2861 (closed)

Special notes for reviewers:

When supported gpu just one type
  • single cluster project

截屏2021-12-24 14 09 41

截屏2021-12-24 14 14 40

  • multi-cluster project

截屏2021-12-24 14 17 45

截屏2021-12-24 14 21 08

截屏2021-12-24 14 23 23

supported gpu has more type

https://user-images.githubusercontent.com/33231138/146679307-e4ba06bb-deea-4a5d-8eb9-5573e7864e74.mov

Does this PR introduced a user-facing change?

NONE

Additional documentation, usage docs, etc.:

合并请求报告

加载中