Chapter 8 · Part II

Cluster Overview and Monitoring

Prometheus is an open-source metrics collection and alerting system that scrapes time-series data from targets such as the NVIDIA GPU Operator and Kubernetes node exporters. Grafana is the visualization layer that queries Prometheus and renders real-time dashboards. Together they form the standard Kubernetes observability stack, deployed here via the kube-prometheus-stack Helm chart.

Install Monitoring Stack

helm repo add prometheus-community \
  https://prometheus-community.github.io/helm-charts
helm repo update

helm install monitoring prometheus-community/kube-prometheus-stack \
  --namespace monitoring

Accessing Grafana

# Get admin password
kubectl --namespace monitoring get secrets monitoring-grafana \
  -o jsonpath="{.data.admin-password}" | base64 -d; echo

# Port-forward
kubectl --namespace monitoring port-forward \
  $(kubectl --namespace monitoring get pod \
    -l "app.kubernetes.io/name=grafana" -o name) 3000

# Open: http://localhost:3000  Login: admin / <password above>

GPU Metrics

MetricDescription
DCGM_FI_DEV_GPU_UTILGPU compute utilization (%)
DCGM_FI_DEV_FB_FREEFree GPU frame buffer (MiB)
DCGM_FI_DEV_FB_USEDUsed GPU frame buffer (MiB)
DCGM_FI_DEV_POWER_USAGEGPU power draw (Watts)
DCGM_FI_DEV_GPU_TEMPGPU temperature (°C)

Full Cluster Status

LayerComponentStatus
Hardware2× DGX Spark (GB10, 128GB each)Connected via QSFP
OSDGX OS — Ubuntu 24.04.4 LTSCUDA 13.0
Kubernetesk3s v1.35.5 — 2 nodes ReadyFlannel CNI
GPUNVIDIA GPU Operator2 GPUs visible
DistributedKubeRay + Ray 2.49.2Head + Worker across nodes
InferencevLLM 0.10.1.1Serving on port 8000
GatewayAIBrix v0.6.0Routing + multi-tenancy
MonitoringPrometheus + GrafanaGPU metrics via DCGM