Skip to main content
Glama

manage_node

Destructive

Control node scheduling and pod eviction in Kubernetes. Cordon to prevent new pods, uncordon to allow, or drain to evict pods with options for emptyDir data and force eviction.

Instructions

Perform operations on a Kubernetes node. Supported actions: 'cordon' marks the node as unschedulable (no new pods will be scheduled), 'uncordon' marks the node as schedulable again, 'drain' cordons the node and evicts all non-DaemonSet pods. Drain options: 'delete_empty_dir_data' (allow evicting pods with emptyDir volumes), 'force' (evict pods not managed by a controller), 'timeout' (seconds, default 60).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesaction to perform: cordon, uncordon, or drain
nameYesnode name
delete_empty_dir_dataNoevict pods with emptyDir volumes (default true, set false to skip them)
forceNoforce evict pods not managed by a controller (default false)
timeoutNodrain timeout in seconds (default 60)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/skyhook-io/radar'

If you have feedback or need assistance with the MCP directory API, please join our Discord server