Skip to content

fix: Incorrect information for exceeding the resource limit

Calvin Yu请求将github/fork/weili520/out_limit_tips合并到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:

Now, if the user didn't set a resource limit for the container, the tip title will be 'Resource occupation is unset', and if the limit setting is beyond the available quota, the title will be 'The current resource occupation has exceeded the remaining'.

Which issue(s) this PR fixes:

Fixes ##2672 (closed)

Special notes for reviewers:

https://user-images.githubusercontent.com/33231138/145358264-5f001d15-e88f-4a38-9d94-746e7f7b7894.mov

Does this PR introduced a user-facing change?

NONE

Additional documentation, usage docs, etc.:

合并请求报告

加载中