K8s节点管理

为节点添加污点

为指定节点添加污点,控制Pod调度

post/api/v1/k8s/cluster/{id}/nodes/{nodeName}/taints

Request

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

Path parameters

idinteger required

集群ID

nodeNamestring required

节点名称

Request body

effect'NoSchedule' | 'PreferNoSchedule' | 'NoExecute' required
keystring required
valuestring

Response

添加成功

codeinteger

状态码

dataunknown
messagestring

提示信息

Changes

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