Changelog¶
All notable changes to K8sTool will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[v0.2.0] - 2024-12-31¶
Added¶
- Describe command for detailed resource information
- Support for pods and deployments
- Namespace-aware resource lookup
- Detailed output with all resource fields
- Color-coded status information
Enhanced¶
- Context Management
- Improved context switching with better error handling
- Support for context aliases in commands
- Better validation of context names
-
Enhanced error messages for invalid contexts
-
Namespace Management
- Direct namespace switching without subcommands
- Better error handling for non-existent namespaces
- Improved interactive mode for namespace switching
- Enhanced namespace validation
Fixed¶
- Fixed context switching when using aliases
- Fixed namespace switching error messages
- Improved error handling in describe commands
- Fixed formatting issues in resource output
[v0.1.0] - 2024-12-28¶
Added¶
- Pod Management
- List pods with detailed status
- Color-coded status (Running: green, Pending: yellow, Failed: red)
- Smart age formatting
- Filter by labels and status
- Sort by age, name, and status
-
Show CPU/Memory usage with metrics
-
Pod/Deployment Events
- Show resource events
- Color-coded event types
-
Support for both pods and deployments
-
Pod Logs
- View and follow container logs
- Show previous container logs
- Tail specific number of lines
- Time-based filtering
-
Container-specific logs
-
Port Forwarding
- Forward ports to pods
- Multiple port forwarding
-
Interactive mode with pod selection
-
Deployment Management
- List deployments with status
- Cross-namespace viewing
-
Detailed deployment information
-
Resource Metrics
- Pod and deployment metrics
-
Real-time CPU and Memory usage
-
Context Management
- Switch between contexts
- Interactive context switching
-
Current context display
-
Namespace Management
- Switch between namespaces
- Interactive namespace switching
- Current namespace display
Notes¶
- Initial release with core functionality
- Requires metrics-server for metrics features