Drain a Kubernetes node
One step with Portainer. We can help you get access.
Get something done
Drain a Kubernetes node
Works with AI assistantsUse Portainer: its PortainerCE Kubernetes API lets you drain a Kubernetes node in a single step (POST /kubernetes/{id}/nodes/{name}/drain). Portainer also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I safely evict pods from a node before maintenance?
- Can I drain a node so it can be removed?
Say it to your AI assistant
- Drain node {name} in environment {id}.
- Evict all pods from {name} on {id}.
For your developer
POST /kubernetes/{id}/nodes/{name}/drain in PortainerCE Kubernetes API. Full spec on APIs.io.