This guide covers advanced debugging techniques for troubleshooting complex issues with Smallest Self-Host.
Inside the container:
View logs of crashed container:
Inspect container configuration:
Check container networking:
Interactive debug container:
Copy debug tools into pod:
Add temporary container to running pod:
Inside debug container:
If pod crashed and restarted:
From inside cluster:
Inside debug pod:
Check DNS is working:
Check CoreDNS logs:
List network policies:
Temporarily disable for testing:
Remember to recreate network policies after testing!
Check pod resource consumption:
Check node resource usage:
Check GPU availability in pod:
Watch GPU utilization:
Check GPU events:
Profile Lightning ASR:
Memory profiling:
Extract errors from logs:
Count errors:
Show errors with context:
Combine logs from all replicas:
Follow logs from multiple pods:
Using jq:
Connect to Redis:
Inside Redis CLI:
Check Redis memory:
Check slow queries:
Health check:
Test transcription:
Add request ID tracking:
Grep logs for request:
Capture network traffic:
Analyze with Wireshark or:
Real-time events:
Filter by type:
Sort by timestamp:
Count events by reason:
Port forward Prometheus:
Query metrics:
Open http://localhost:9090 and run:
Verify metrics available to HPA:
Query specific metric:
Increase log verbosity:
Test error handling:
Generate load:
Test resilience (requires Chaos Mesh):