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
Does this PR introduced a user-facing change?
Use kubectl to apply the YAML which is copied from the deployments detail page failed.