docs: right-size VM 106 (docker-home) — 16 GB/8 vCPU → 6 GB/4 vCPU (#19) #47
No reviewers
Labels
No Label
ai-changes-requested
ai-failed
ai-pr-opened
ai-reviewed
ai-reviewing
ai-working
infra-audit
monitoring
operations
proxmox
script
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/claude-home#47
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "issue/19-right-size-vm-106-docker-home-16-gb-6-8-gb-ram"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #19
Summary
Infrastructure audit found VM 106 (docker-home) running 3 containers on 16 GB RAM with only 1.1 GB in use (7%). This PR documents the target spec and provides the runbook to execute the resize.
Pre-checks performed
--memorylimits:docker inspectconfirmsMemoryLimit: 0on pihole, nginx-proxy-manager, and portainer — no OOM risk at 6 GB/home/cal/container-data/*/docker-compose.yml— nomemory,mem_limit, ormemswapkeysFiles changed
server-configs/proxmox/qemu/106.confmemory: 16384 → 6144,sockets: 2 → 1(8 → 4 vCPUs)server-configs/proxmox/right-sizing-vm-106.mdTo execute the resize
Follow the runbook in
server-configs/proxmox/right-sizing-vm-106.md:Brief Pi-hole/NPM downtime — manticore Pi-hole 2 provides HA DNS during shutdown.
Other observations
# DECOMMISSIONED: docker-home (10.10.0.124)— this comment refers to an old alias (old IP). VM 106 is now at 10.10.0.16. The wildcardHost 10.10.0.*rule handles SSH access. No change needed but worth noting.AI Code Review
Files Reviewed
server-configs/proxmox/qemu/106.conf(modified)server-configs/proxmox/right-sizing-vm-106.md(added)server-configs/proxmox/maintenance-reboot.md(modified — already on main via PR #26)ansible/playbooks/monthly-reboot.yml(in diff — already on main via PR #26)ansible/playbooks/post-reboot-startup.yml(in diff — already on main via PR #26)ansible/systemd/ansible-monthly-reboot.service(in diff — already on main via PR #26)ansible/systemd/ansible-monthly-reboot.timer(in diff — already on main via PR #26)ansible/systemd/ansible-post-reboot.service(in diff — already on main via PR #26)Findings
Correctness
106.conf: memory16384 → 6144andsockets: 2 → 1are correct.cores: 4unchanged. The resulting spec (1 socket × 4 cores = 4 vCPUs, 6 GB RAM) matches the PR description.right-sizing-vm-106.md: Pre-check results are thorough —MemoryLimit: 0on all 3 containers confirms no OOM risk. Live usage (1.1 GB / 15 GB) is documented. 6 GB target gives ~4× headroom which is appropriate.ssh pihole— confirmed valid alias in~/.ssh/configpointing to10.10.0.16(VM 106). No issue.mergeable: true— the merge will be clean.Security
Style & Conventions
~/.ssh/configas required by project conventions.docs:prefix is defensible for a config snapshot + runbook. Note: the.conffile means theauto-merge-docsCI workflow won't auto-merge — intentional given the infra change warrants manual review.Suggestions
qm setas two separate commands. Could be combined into one (qm set 106 --memory 6144 --sockets 1 --cores 4) matching the quick-reference in the PR body. Either is correct.Verdict: APPROVED
The config change is accurate, the runbook is comprehensive and correct, SSH aliases are valid, and pre-checks were thorough. The extra files in the diff are a side effect of branch history and will merge cleanly as no-ops. Safe to merge.
Automated review by Claude PR Reviewer
Checkout
From your project repository, check out a new branch and test the changes.