Files
homelab_docs/deployments/lxc.md
T

14 lines
1.4 KiB
Markdown

# Deploy a Proxmox LXC
Status: draft process. Confirm defaults and storage targets on `pve`.
1. Choose LXC when the service can run in a container and does not require a full guest kernel. Record guest ID, hostname, OS version, owner, CPU, RAM, disk, and storage.
2. Create from an approved template or recorded provisioning script. Decide privileged versus unprivileged and any features (`nesting`, `keyctl`) deliberately. Avoid enabling extra privileges by default.
3. Configure bridge, address or DHCP reservation, DNS, time, and guest firewall policy. Confirm name resolution and outbound package access.
4. Add storage mounts with explicit ownership and backup handling. NFS mounts may live on the Proxmox host or in the guest; record the actual path and dependency.
5. Install the service, capture configuration path and systemd unit, and set restart behavior. Configure Alloy/log forwarding, monitoring, patch management, and guest backup.
6. For HTTP ingress, add the agreed Proxmox note metadata for Traefik discovery; verify generated route, TLS, DNS record, and backend port. Document the metadata schema after inspecting the running discovery service.
7. Test service URL, reboot persistence, backup job, and rollback. Add the guest and app to the inventory.
Example already discussed: Ollama `llama1.home`, LXC 103, Ubuntu 24.04, unprivileged, 10 vCPU/16 GB, nesting/keyctl; verify current settings before reusing them as a template.