Files
homelab/ansible/roles/llm-inference/tasks/main.yml
Hermes Agent service account 423891001c feat(llm-inference): Phase 7 — Prometheus monitoring + Grafana dashboard
- Phase 7 task file: monitoring.yml
  - node_exporter (port 9100) via apt, systemd managed
  - nvidia_gpu_exporter v1.2.2 (port 9835) — GPU util, VRAM, temp, power
  - Patches kube-prometheus additionalScrapeConfigs secret with 3 new jobs:
    node-astro-orbiter, gpu-astro-orbiter, vllm-astro-orbiter
  - Deploys Grafana dashboard ConfigMap via kubectl apply

- Grafana dashboard (11 panels):
  - Row 1: GPU util %, VRAM used, GPU temp gauge
  - Row 2: GPU power draw, vLLM token throughput, request queue depth
  - Row 3: vLLM e2e latency p50/p95/p99, KV cache utilization %
  - Row 4: System CPU %, memory, root disk gauge

- defaults/main.yml: llm_gpu_exporter_version, llm_gpu_exporter_port
- handlers/main.yml: restart nvidia-gpu-exporter
2026-08-03 11:53:36 -05:00

28 lines
715 B
YAML

---
# ------------------------------------------------------------------------------
# FILE: roles/llm-inference/tasks/main.yml
# DESCRIPTION: Entry point — imports one task file per phase.
# Phases are additive; re-running the full playbook is always safe.
# ------------------------------------------------------------------------------
# Phase 1 — Foundation
- import_tasks: foundation.yml
# Phase 2 — Driver
- import_tasks: driver.yml
# Phase 3 — vLLM
- import_tasks: vllm.yml
# Phase 4 — Model
- import_tasks: model.yml
# Phase 5 — Serve
- import_tasks: serve.yml
# Phase 6 — Integration
- import_tasks: integration.yml
# Phase 7 — Monitoring
- import_tasks: monitoring.yml