Expand description
Handler for the optimize command.
Analyzes Kubernetes manifests for resource optimization opportunities. Supports both static analysis (Phase 1) and live cluster analysis (Phase 2).
With --full flag, also runs:
- kubelint: Security and best practice checks
- helmlint: Helm chart structure validation
Structs§
- Optimize
Options - Configuration for the optimize command
Functions§
- handle_
optimize - Handle the
optimizecommand. - handle_
optimize_ agent - Handle optimize in agent mode - returns JSON string without printing.