Deployment管理

伸缩Deployment

调整Deployment的副本数

post/k8s/cluster/{id}/namespaces/{namespaceName}/deployments/{deploymentName}/scale

Path parameters

idinteger required

集群ID

namespaceNamestring required

命名空间名称

deploymentNamestring required

Deployment名称

Headers

Authorizationstring required

Bearer 用户Token

Request body

replicasinteger required

目标副本数

Response

OK

codeinteger

状态码

datastring

返回的数据

messagestring

提示信息

Changes

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