Home / Companies / Cast AI / Blog / Post Details
Content Deep Dive

Kubernetes Cordon: How It Works And When To Use It

Blog post from Cast AI

Post Details
Company
Date Published
Author
Laurent Gil
Word Count
1,023
Company Posts That Month
11
Language
English
Hacker News Points
46
Post removed?
No
Summary

Kubernetes cordon is an operation that marks or taints a node as unschedulable, preventing the Kubernetes scheduler from placing new pods onto that node. This can be useful for maintenance tasks such as replacing hardware components, updating the node's kernel, or resizing compute resources. To use Kubernetes cordon, simply run the command "kubectl cordon $NODENAME". After cordoning a node, you may also drain it to remove existing pods and ensure no new ones are scheduled on that node. The process of draining involves evicting running pods so they can be rescheduled to other nodes in your cluster. Kubernetes cordon and drain prepare your application for node downtime by letting workloads get rescheduled to other nodes, allowing you to safely shut down the target node without impacting service availability.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Kubernetes 19 1,682 185 78 +20%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.