2026-06-22 23:16:28 +02:00
|
|
|
## Stack
|
|
|
|
|
|
2026-06-22 23:35:20 +02:00
|
|
|
- **Language:** Python (FastAPI MCP bridge) + Ansible/Helm/K8s deploy assets
|
|
|
|
|
- **Key deps:** FastAPI, uvicorn, httpx; kube-prometheus-stack, Loki, Promtail
|
2026-06-22 23:16:28 +02:00
|
|
|
|
|
|
|
|
## Dev Commands
|
|
|
|
|
|
|
|
|
|
```bash
|
2026-06-22 23:35:20 +02:00
|
|
|
# Deploy observability stack (from repo root)
|
|
|
|
|
cd ansible && ansible-playbook -i inventories/local.ini playbook.yml
|
2026-06-22 23:16:28 +02:00
|
|
|
|
2026-06-22 23:35:20 +02:00
|
|
|
# MCP bridge (local)
|
|
|
|
|
cd mcp-telemetry-bridge
|
|
|
|
|
pip install -r requirements.txt
|
|
|
|
|
uvicorn app.main:app --reload --port 8080
|
2026-06-22 23:16:28 +02:00
|
|
|
|
2026-06-22 23:35:20 +02:00
|
|
|
# Smoke (requires cluster access)
|
|
|
|
|
kubectl get pods -n monitoring
|
|
|
|
|
kubectl port-forward -n mcp svc/mcp-telemetry-bridge 8080:80
|
|
|
|
|
curl http://localhost:8080/healthz
|
|
|
|
|
curl http://localhost:8080/mcp/schema | jq .
|
2026-06-22 23:16:28 +02:00
|
|
|
```
|