k8s-pilot

by bourbonkk

cordon_node

Mark a Kubernetes node as unschedulable to prevent new pods from being assigned to it. Specify the node name and context to isolate maintenance or troubleshooting tasks.

Instructions

Cordon a node (mark as unschedulable).

Args: context_name: The Kubernetes context name node_name: The name of the node to cordon

Returns: JSON string containing the result of the operation

Input Schema

NameRequiredDescriptionDefault
context_nameYes
node_nameYes

Input Schema (JSON Schema)

{ "properties": { "context_name": { "title": "Context Name", "type": "string" }, "node_name": { "title": "Node Name", "type": "string" } }, "required": [ "context_name", "node_name" ], "title": "cordon_nodeArguments", "type": "object" }
ID: varavj97rf