• 认证鉴权
  • 企业空间中的项目怎么修改到其他企业空间

创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。如果未按模板创建问题,管理员有权关闭问题。
确保帖子格式清晰易读,用 markdown code block 语法格式化代码块。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。

操作系统信息
例如:虚拟机/物理机,Centos7.5/Ubuntu18.04,4C/8G

Kubernetes版本信息
kubectl version 命令执行结果贴在下方

容器运行时
docker version / crictl version / nerdctl version 结果贴在下方

KubeSphere版本信息
v4.1.2

问题是什么
如何将一个企业空间中的项目修改到其他企业空间呢。

KubeSphere version:v3.4.1
Kubernetes version:v1.23.17

~# kubectl describe ns kk-jupyterlab
Name:         kk-jupyterlab
Labels:       kubernetes.io/metadata.name=kk-jupyterlab
              kubesphere.io/namespace=kk-jupyterlab
              kubesphere.io/workspace=kk-workspace
Annotations:  kubesphere.io/alias-name: kk-jupyterlab
              kubesphere.io/creator: admin
              kubesphere.io/description: jupyterlab-dev
Status:       Active
 
Resource Quotas
  Name:     kk-jupyterlab
  Resource  Used  Hard
  --------  ---   ---
 
Resource Limits
 Type  Resource  Min  Max  Default Request  Default Limit  Max Limit/Request Ratio
 ----  --------  ---  ---  ---------------  -------------  -----------------------
root@ser-compute-07:~# kubectl label ns kk-jupyterlab kubesphere.io/workspace- && kubectl patch ns kk-jupyterlab -p '{"metadata":{"ownerReferences":[]}}' --type=merge
namespace/kk-jupyterlab unlabeled
namespace/kk-jupyterlab patched (no change)
root@ser-compute-07:~#
root@ser-compute-07:~#
root@ser-compute-07:~# kubectl describe ns kk-jupyterlab
Name:         kk-jupyterlab
Labels:       kubernetes.io/metadata.name=kk-jupyterlab
              kubesphere.io/namespace=kk-jupyterlab
              kubesphere.io/workspace=kk-infra
Annotations:  kubesphere.io/alias-name: kk-jupyterlab
              kubesphere.io/creator: admin
              kubesphere.io/description: jupyterlab-dev
Status:       Active
 
Resource Quotas
  Name:     kk-jupyterlab
  Resource  Used  Hard
  --------  ---   ---
 
Resource Limits
 Type  Resource  Min  Max  Default Request  Default Limit  Max Limit/Request Ratio
 ----  --------  ---  ---  ---------------  -------------  -----------------------