drain-node

Community

Safely drain nodes for maintenance.

AuthorX-McKay
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill safely removes all running pods from a Kubernetes node, preparing it for maintenance or decommissioning without disrupting critical services.

Core Features & Use Cases

  • Node Cordoning: Prevents new pods from being scheduled onto the node.
  • Pod Eviction: Gracefully evicts existing pods, allowing them to be rescheduled on other nodes.
  • DaemonSet Awareness: Ignores DaemonSet pods that are designed to run on every node.
  • Use Case: Before performing hardware upgrades or patching on a Kubernetes worker node, use this skill to ensure all application pods are safely moved off before the node goes offline.

Quick Start

Use the drain-node skill to safely evict pods from the node named 'worker-node-3'.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: drain-node
Download link: https://github.com/X-McKay/kubani/archive/main.zip#drain-node

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.