π€ KubeNidra
Smart Workload Hibernation for Kubernetes - Automatically scale your workloads to zero during idle periods and wake them up when needed, saving costs and optimizing resource utilization.
π What is KubeNidra?
KubeNidra is a comprehensive Kubernetes solution that intelligently manages workload hibernation based on schedules, reducing infrastructure costs by up to 70% during off-hours. It's perfect for development environments, staging clusters, and any workloads with predictable usage patterns.

β¨ Key Benefits
- π° Cost Savings: Automatically scale workloads to zero during idle periods
- π Smart Automation: Schedule-based hibernation with intelligent wake-up
- π― Zero Configuration: Works out-of-the-box with minimal setup
- π‘οΈ Production Ready: Battle-tested with comprehensive error handling
- π Full Observability: Complete operation history and monitoring
ποΈ Architecture Overview
KubeNidra consists of four integrated components that work together seamlessly:

π§© Components
π€ KubeNidra Agent
The heart of the system - a Kubernetes controller that monitors and manages workload hibernation.
Features:
- Schedule-based workload management
- Smart scaling with backoff protection
- Operation history tracking
- State pinning and manual overrides
Supported Workloads: Deployments, StatefulSets, DaemonSets, ReplicaSets
π REST API
A RESTful API server that provides programmatic access to all KubeNidra functionality.
Features:
- Complete CRUD operations for all workload types
- Real-time status monitoring
- Schedule management
- Override and pinning controls
- OpenAPI 3.0 specification
Base URL: http://your-cluster/api/v1/
π» CLI Tool
A powerful command-line interface for developers and automation scripts.
Features:
- Enable/disable workload hibernation
- Manual snooze and wake operations
- Schedule configuration and updates
π₯οΈ Web Manager
An intuitive React-based web interface for visual workload management.
View Web Manager Documentation β
Features:
- Real-time dashboard with status overview
- Visual schedule configuration
- Bulk operation support
- Dark/light theme switching
- Mobile-responsive design
Perfect for: Operations teams, developers, and anyone who prefers visual interfaces
π― Use Cases
π‘ Development & Testing
Scale down all development workloads outside business hours, automatically wake them up when developers arrive.
π’ Staging Environments
Hibernate staging workloads during nights and weekends, wake them up for testing during business hours.
π Batch Processing
Run data processing workloads on schedule, automatically scale them down when complete.
π Multi-Region Deployments
Follow the sun - keep workloads active in regions where it's business hours, hibernate others.
π Supported Schedule Formats
KubeNidra supports flexible schedule configurations:
# Business hours, weekdays only
"9:00-17:00,mon-fri"
# 24/7 operation
"0:00-23:59"
# Split schedule with lunch break
"9:00-12:00,mon-fri;13:00-17:00,mon-fri"
# Weekend maintenance window
"2:00-6:00,sat-sun"π§ Advanced Features
ποΈ Manual Overrides
- Temporary overrides (30min, 2h, 6h)
- Permanent overrides for critical periods
- Easy override removal
π State Pinning
- Pin workloads in active or snoozed state
- Prevent accidental state changes
- Perfect for maintenance windows
π Smart Automation
- Backoff protection after failures
- Operation history tracking
- Intelligent retry mechanisms
π Monitoring & Observability
- Comprehensive operation logs
- Performance metrics
- Error tracking and alerts
π‘οΈ Production Ready
β Reliability
- Graceful error handling
- Comprehensive testing
π Security
- RBAC integration
- Minimal required permissions
- Secure API endpoints
π Scalability
- Handles thousands of workloads
- Efficient resource usage
- Horizontal scaling support
π Why Choose KubeNidra?
| Feature | KubeNidra | Alternatives |
|---|---|---|
| Setup Time | < 5 minutes | Hours to days |
| Learning Curve | Minimal | Steep |
| UI & CLI | Both included | Usually separate |
| Schedule Flexibility | Very high | Limited |
| Workload Support | All major types | Often limited |
π Documentation
- Agent Documentation - Deploy and configure the core controller
- API Reference - Complete API documentation with examples
- CLI Guide - Command-line interface documentation
- Web Manager - Visual interface setup and usage
π€ Community & Support
- GitHub Repository: kulbirsaini/kubenidra
- Issues & Bug Reports: GitHub Issues
π License
KubeNidra is open source software licensed under the GPL-3.0 license.
Ready to start saving costs? Choose your preferred component and get started in minutes!