Remove the module "xxx" { source = "./module" } indirection layer
from all 66 service stacks. Resources are now defined directly in
each stack's main.tf instead of through a wrapper module.
- Merge module/main.tf contents into stack main.tf
- Apply variable replacements (var.tier -> local.tiers.X, renamed vars)
- Fix shared module paths (one fewer ../ at each level)
- Move extra files/dirs (factory/, chart_values, subdirs) to stack root
- Update state files to strip module.<name>. prefix
- Update CLAUDE.md to reflect flat structure
Verified: terragrunt plan shows 0 add, 0 destroy across all stacks.
28 lines
463 B
YAML
28 lines
463 B
YAML
ollama:
|
|
gpu:
|
|
# -- Enable GPU integration
|
|
enabled: true
|
|
|
|
# -- GPU type: 'nvidia' or 'amd'
|
|
type: "nvidia"
|
|
|
|
# -- Specify the number of GPU to 1
|
|
number: 1
|
|
|
|
# -- List of models to pull at container startup
|
|
models:
|
|
pull:
|
|
- llama3
|
|
|
|
persistentVolume:
|
|
enabled: true
|
|
existingClaim: "ollama-pvc"
|
|
|
|
nodeSelector:
|
|
gpu: "true"
|
|
|
|
tolerations:
|
|
- key: "nvidia.com/gpu"
|
|
operator: "Equal"
|
|
value: "true"
|
|
effect: "NoSchedule"
|