K8s集群管理

更新K8s集群信息

更新集群的基本信息(名称、描述、kubeconfig等)

put/api/v1/k8s/cluster/{id}

Request

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

Path parameters

idinteger required

集群ID

Request body

credentialstring

K8s凭证(kubeconfig内容)

descriptionstring

集群描述

namestring

集群名称

versionstring

集群版本(可选,同步时会自动更新)

Response

更新成功

codeinteger

状态码

messagestring

提示信息

Changes

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