add_node_taint
Manage Kubernetes node behavior by adding taints to control pod scheduling. Specify context, node, taint key, value, and effect (NoSchedule, PreferNoSchedule, NoExecute) to restrict or influence pod placement. Returns updated node taints as JSON.
Instructions
Add a taint to a node.
Args: context_name: The Kubernetes context name node_name: The name of the node to modify taint_key: The taint key to add taint_value: The taint value to set taint_effect: The taint effect (NoSchedule, PreferNoSchedule, or NoExecute)
Returns: JSON string containing the updated node taints
Input Schema
Name | Required | Description | Default |
---|---|---|---|
context_name | Yes | ||
node_name | Yes | ||
taint_effect | Yes | ||
taint_key | Yes | ||
taint_value | Yes |