kubernetes
Drain a Kubernetes node
Drain a Kubernetes node by safely evicting all pods from the node, preparing it for maintenance or removal Access policy: authenticated
post/kubernetes/{id}/nodes/{name}/drain
Path parameters
idinteger required
Environment(Endpoint) identifier
namestring required
Name of the node to drain
Request body
Example request
{
"DeleteEmptyDirData": true,
"GracePeriodSeconds": -1,
"IgnoreDaemonSets": true,
"TimeoutSeconds": 60
}Response
Success
Changes
Changed in 1 of the 21 revisions of this API.1
- ○
added optional request body
request-body-added-optional
- ○