Description
The current status command provides basic Docker service status. This issue aims to enhance it with comprehensive
environment information, detailed health checks, and better visualization of the development setup.
Current Implementation
- ✅ Basic Docker service status (
docker-compose ps)
- ✅ MongoDB health check
- ✅ Service endpoint display
- ✅ Basic tips
Proposed Enhancements
Environment Information:
Enhanced Health Checks:
Better Visualization:
Additional Features:
Example Enhanced Output
🔍 KubeOrchestra Status Report
═══════════════════════════════════════════
📦 Environment:
Mode: Development (UI + Core local)
OrchCLI: v0.0.2
Project: /home/user/my-project
📂 Repositories:
UI: /home/user/my-project/ui (main branch, clean)
Core: /home/user/my-project/core (feature/auth, 2 uncommitted)
🐳 Docker Services:
| Service |
Status |
Health |
Uptime |
CPU % |
Memory |
| MongoDB |
Running |
✅ |
2h 15m |
2.3% |
256MB / 512MB |
| Core API |
Running |
✅ |
2h 10m |
5.1% |
180MB / 256MB |
| UI |
Running |
✅ |
2h 10m |
3.8% |
320MB / 512MB |
🌐 Service Endpoints:
UI: http://localhost:3001 ✅ Responding (200 OK)
API: http://localhost:3000 ✅ Healthy (/health: OK)
MongoDB: localhost:27017 ✅ Accepting connections
📊 Image Versions:
UI: ghcr.io/kubeorchestra/ui:v1.2.3 (latest)
Core: ghcr.io/kubeorchestra/core:v1.2.3 (latest)
MongoDB: mongo:8.0
⚠️ Warnings:
• Core repository has uncommitted changes
• Consider running 'orchcli update' for newer images
💡 Quick Commands:
orchcli logs -f # Follow logs
orchcli restart core # Restart specific service
orchcli exec core bash # Shell into container
Implementation Notes
- Use concurrent health checks for faster status reporting
- Cache health check results briefly to avoid overwhelming services
- Implement graceful degradation if some checks fail
- Use the existing concurrent.go utilities for parallel operations
Description
The current status command provides basic Docker service status. This issue aims to enhance it with comprehensive
environment information, detailed health checks, and better visualization of the development setup.
Current Implementation
docker-compose ps)Proposed Enhancements
Environment Information:
Enhanced Health Checks:
Better Visualization:
Additional Features:
--jsonflag for machine-readable output--watchflag to continuously monitor status--verboseflag for detailed diagnosticsExample Enhanced Output
🔍 KubeOrchestra Status Report
═══════════════════════════════════════════
📦 Environment:
Mode: Development (UI + Core local)
OrchCLI: v0.0.2
Project: /home/user/my-project
📂 Repositories:
UI: /home/user/my-project/ui (main branch, clean)
Core: /home/user/my-project/core (feature/auth, 2 uncommitted)
🐳 Docker Services:
🌐 Service Endpoints:
UI: http://localhost:3001 ✅ Responding (200 OK)
API: http://localhost:3000 ✅ Healthy (/health: OK)
MongoDB: localhost:27017 ✅ Accepting connections
📊 Image Versions:
UI: ghcr.io/kubeorchestra/ui:v1.2.3 (latest)
Core: ghcr.io/kubeorchestra/core:v1.2.3 (latest)
MongoDB: mongo:8.0
• Core repository has uncommitted changes
• Consider running 'orchcli update' for newer images
💡 Quick Commands:
orchcli logs -f # Follow logs
orchcli restart core # Restart specific service
orchcli exec core bash # Shell into container
Implementation Notes