350650ecc2
- Create systemd service templates for llama_exporter, nvidia_exporter, and podman. - Add Prometheus configuration template for GPU metrics scraping. - Introduce variables for GPU monitoring role in main.yml. - Implement tasks for syncing llama models, including user setup and package installation. - Update podman tasks to ensure proper sudo access and lingering for the podman user. - Modify inventory to include gpu_monitoring group. - Add Terraform modules for deploying Vaultwarden, including ingress and service configurations. - Create Grafana dashboard for real-time GPU monitoring metrics. - Update secrets and environment files to include Vaultwarden admin token.
10 lines
471 B
Terraform
10 lines
471 B
Terraform
locals {
|
|
app_version = var.tag
|
|
monitoring_folder = "${var.persistent_folder}/grafana"
|
|
|
|
grafana_datasource_config = file("${path.module}/resources/default.yml")
|
|
grafana_dashboard_provider = file("${path.module}/resources/dashboard-provider.yml")
|
|
grafana_trivy_dashboard = file("${path.module}/resources/trivy-vulnerabilities-dashboard.json")
|
|
grafana_gpu_realtime_dashboard = file("${path.module}/resources/gpu-realtime-dashboard.json")
|
|
}
|