Managed Kubernetes
Latest
Frequently Asked Questions
Solutions
How Tos
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Draining a Kubernetes Node
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
- Load-average on the master node goes high causing Kubernetes related services to fail.
- The node may become unstable in terms of Kubernetes workloads and customer may decide to evict the node.
Environment
- Platform9 Managed Kubernetes - All Versions
Resolution
- Run the command to drain the node.
xxxxxxxxxx$ kubectl drain [node_name]- The above command may fail if the pods are using local storage or if daemon sets are running on the node. In that case, be aware that local storage associated with the pods will be deleted and then use the above command with switches
--delete-local-data=falseandignore-daemonsets=false.
xxxxxxxxxx$ kubectl drain [node_name] --delete-local-data=false --ignore-daemonsets=falseAdditional Information
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message