K8s命名空间管理

创建K8s命名空间

在指定集群中创建新的命名空间

post/api/v1/k8s/cluster/{id}/namespaces

Request

  • The document declares no server URL.
  • Auth
    API key in header Authorization

Path parameters

idinteger required

集群ID

Request body

annotationsobject

注释

labelsobject

标签

namestring required

命名空间名称

Response

创建成功

codeinteger

状态码

messagestring

提示信息

Changes

No recorded changes to this operation across all 1 revision of this API.