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.
46 lines
918 B
Terraform
46 lines
918 B
Terraform
variable "persistent_folder" {
|
|
description = "Path for persistent data on the host"
|
|
type = string
|
|
}
|
|
|
|
variable "fqdn" {
|
|
description = "FQDN for the service"
|
|
type = string
|
|
}
|
|
|
|
variable "tag" {
|
|
description = "Image tag to deploy"
|
|
type = string
|
|
default = "latest"
|
|
}
|
|
|
|
variable "issuer" {
|
|
description = "The cert-manager cluster issuer"
|
|
type = string
|
|
default = "letsencrypt-prod"
|
|
}
|
|
|
|
variable "tls_enabled" {
|
|
description = "Enable TLS in ingress"
|
|
type = bool
|
|
default = true
|
|
}
|
|
|
|
variable "signup_enabled" {
|
|
description = "Allow new user signups"
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
variable "admin_token" {
|
|
description = "Admin token for VaultWarden"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "db_folder" {
|
|
description = "Path for the database folder (default: persistent_folder)"
|
|
type = string
|
|
default = ""
|
|
}
|