Skip to content

fix: Delete gpu field when creating workload

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 part of the job of #2870 (closed)

  • There is no need to deal with GPU field anymore, so delete redundant operations.

Which issue(s) this PR fixes:

Fixes ##2870 (closed)

Special notes for reviewers:

Create a deployment, and then switch to edit YAML mode

截屏2022-01-06 17 01 30

Does this PR introduced a user-facing change?

Use kubectl to apply the YAML which is copied from the deployments detail page failed.

Additional documentation, usage docs, etc.:

合并请求报告

加载中