K8s Service管理

通过YAML更新Service

通过提供的YAML内容更新Service配置

put/k8s/cluster/{id}/namespaces/{namespaceName}/services/{serviceName}/yaml

Request

  • The document declares no server URL.
  • Auth
    none declared. Required headers: Authorization

Path parameters

idinteger required

集群ID

namespaceNamestring required

命名空间名称

serviceNamestring required

Service名称

Headers

Authorizationstring required

Bearer 用户Token

Request body

object required

Response

OK

codeinteger

状态码

datastring

返回的数据

messagestring

提示信息

Changes

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