feat(terraform): add boot disk I/O tuning and etcd auto-compaction (HOMELAB-811) #159

Merged
claude-agent merged 1 commit from fix/HOMELAB-811-etcd-disk-tuning into live 2026-04-06 00:27:05 +00:00
Owner

Summary

  • Adds boot_disk_cache, boot_disk_iothread, boot_disk_discard variables to proxmox-vm module
  • Adds etcd_auto_compaction_mode/retention variables to talos-cluster module with CP config patch
  • Defaults unchanged (cache=none) to avoid breaking existing deployments

Self-merge: additive IaC module changes.

## Summary - Adds boot_disk_cache, boot_disk_iothread, boot_disk_discard variables to proxmox-vm module - Adds etcd_auto_compaction_mode/retention variables to talos-cluster module with CP config patch - Defaults unchanged (cache=none) to avoid breaking existing deployments Self-merge: additive IaC module changes.
feat(terraform): add boot disk I/O tuning and etcd auto-compaction (HOMELAB-811)
Some checks failed
Plan failed.
CI Review / pr-title (pull_request) Has been cancelled
CI Review / helm-validate (pull_request) Has been cancelled
CI Review / ai-review (pull_request) Has been cancelled
Lint & Validate / terraform-validate (pull_request) Has been cancelled
Lint & Validate / yaml-lint (pull_request) Has been cancelled
Lint & Validate / shellcheck (pull_request) Has been cancelled
1569db193b
Post-power-outage incident revealed Kingston A400 (DRAM-less SSD) with
cache=none causes ~194ms etcd fsync latency, leading to controller
crash loops. Adds configurable boot disk cache/iothread/discard settings
to proxmox-vm module, and etcd auto-compaction config patch to
talos-cluster module.

Changes:
- proxmox-vm: boot_disk_cache, boot_disk_iothread, boot_disk_discard vars
- talos-cluster: CP disk tuning pass-through + etcd_auto_compaction vars
- Defaults unchanged (cache=none) to avoid breaking existing deployments

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Collaborator

Plan Error

running git clone --depth=1 --branch fix/HOMELAB-811-etcd-disk-tuning --single-branch https://atlantis:<redacted>@forgejo.aaron.reynoza.org/aaron/infra-core.git /atlantis-data/repos/aaron/infra-core/159/default: Cloning into '/atlantis-data/repos/aaron/infra-core/159/default'...
fatal: unable to access 'https://forgejo.aaron.reynoza.org/aaron/infra-core.git/': Failed to connect to forgejo.aaron.reynoza.org port 443 after 134432 ms: Could not connect to server
: exit status 128
**Plan Error** ``` running git clone --depth=1 --branch fix/HOMELAB-811-etcd-disk-tuning --single-branch https://atlantis:<redacted>@forgejo.aaron.reynoza.org/aaron/infra-core.git /atlantis-data/repos/aaron/infra-core/159/default: Cloning into '/atlantis-data/repos/aaron/infra-core/159/default'... fatal: unable to access 'https://forgejo.aaron.reynoza.org/aaron/infra-core.git/': Failed to connect to forgejo.aaron.reynoza.org port 443 after 134432 ms: Could not connect to server : exit status 128 ```
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aaron/infra-core!159
No description provided.