Skip to content

No GPU info in resource card for multi-cluster project

Created by: weili520

Describe the bug A clear and concise description of what the bug is.

I have set a GPU limit for cluster rohan, but resource card doesn't have GPU info. 截屏2021-12-27 14 23 38

截屏2021-12-27 14 27 43

Versions used(KubeSphere/Kubernetes) KubeSphere: v3.2.1

Environment

It's not important.

To Reproduce Steps to reproduce the behavior:

  1. Go to a multi-cluster project, click Project Settings and Project Quotas.
  2. Chose a cluster and click edit quota, set GPU limit as 2, and save.
  3. You can't see the GPU info in its resource card.

https://user-images.githubusercontent.com/33231138/147442358-405ec885-8fda-45fc-a23a-e6a6c0fe1d40.mov

Expected behavior

Display GPU info in cluster's resource card.