K8s命名空间管理

创建默认资源限制

为指定命名空间创建默认资源限制

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

Request

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

Path parameters

idinteger required

集群ID

namespaceNamestring required

命名空间名称

Request body

namestring required

LimitRange名称

Response

创建成功

codeinteger

状态码

messagestring

提示信息

Changes

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