From 120c2ec809a3b08aa5d4a577dbda357869d7c088 Mon Sep 17 00:00:00 2001 From: kavren Date: Sun, 7 Dec 2025 22:07:01 -0500 Subject: [PATCH] Initial commit: KavCorp infrastructure documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - CLAUDE.md: Project configuration for Claude Code - docs/: Infrastructure documentation - INFRASTRUCTURE.md: Service map, storage, network - CONFIGURATIONS.md: Service configs and credentials - CHANGELOG.md: Change history - DECISIONS.md: Architecture decisions - TASKS.md: Task tracking - scripts/: Automation scripts 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- CLAUDE.md | 239 +++++++++++++++++ README.md | 116 +++++++++ docs/CHANGELOG.md | 153 +++++++++++ docs/CONFIGURATIONS.md | 312 +++++++++++++++++++++++ docs/DECISIONS.md | 163 ++++++++++++ docs/INFRASTRUCTURE.md | 120 +++++++++ docs/README.md | 145 +++++++++++ docs/TASKS.md | 37 +++ docs/cluster-state.md | 115 +++++++++ docs/home-assistant-traefik.md | 304 ++++++++++++++++++++++ docs/infrastructure-map.md | 44 ++++ docs/inventory.md | 289 +++++++++++++++++++++ docs/network.md | 132 ++++++++++ docs/recyclarr-setup.md | 178 +++++++++++++ docs/services.md | 222 ++++++++++++++++ docs/storage.md | 184 ++++++++++++++ docs/traefik-ssl-setup.md | 131 ++++++++++ scripts/cleanup/README.md | 155 +++++++++++ scripts/cleanup/organize-media.py | 409 ++++++++++++++++++++++++++++++ 19 files changed, 3448 insertions(+) create mode 100644 CLAUDE.md create mode 100644 README.md create mode 100644 docs/CHANGELOG.md create mode 100644 docs/CONFIGURATIONS.md create mode 100644 docs/DECISIONS.md create mode 100644 docs/INFRASTRUCTURE.md create mode 100644 docs/README.md create mode 100644 docs/TASKS.md create mode 100644 docs/cluster-state.md create mode 100644 docs/home-assistant-traefik.md create mode 100644 docs/infrastructure-map.md create mode 100644 docs/inventory.md create mode 100644 docs/network.md create mode 100644 docs/recyclarr-setup.md create mode 100644 docs/services.md create mode 100644 docs/storage.md create mode 100644 docs/traefik-ssl-setup.md create mode 100644 scripts/cleanup/README.md create mode 100755 scripts/cleanup/organize-media.py diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..72c7c36 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,239 @@ +# CLAUDE.md + +This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. + +## Repository Purpose + +Infrastructure documentation and management repository for the **KavCorp** Proxmox cluster - a 5-node homelab cluster running self-hosted services. This repository supports migration from Docker containers to Proxmox LXCs where appropriate. + +## Cluster Architecture + +**Cluster Name**: KavCorp +**Nodes**: 5 (pm1, pm2, pm3, pm4, elantris) +**Network**: 10.4.2.0/24 +**Primary Management Node**: pm2 (10.4.2.6) + +### Node IP Mapping +- pm1: 10.4.2.2 +- pm2: 10.4.2.6 (primary for new LXC deployment) +- pm3: 10.4.2.3 +- pm4: 10.4.2.5 +- elantris: 10.4.2.14 (largest node, 128GB RAM, ZFS storage) + +## Common Commands + +### Cluster Management +```bash +# Access cluster (use pm2 as primary management node) +ssh pm2 + +# View cluster status +pvecm status +pvecm nodes + +# List all VMs/LXCs across cluster +pvesh get /cluster/resources --type vm --output-format json + +# List all nodes +pvesh get /cluster/resources --type node --output-format json + +# List storage +pvesh get /cluster/resources --type storage --output-format json +``` + +### LXC Management +```bash +# List LXCs on a specific node +pct list + +# Get LXC configuration +pvesh get /nodes//lxc//config +pct config + +# Start/stop/restart LXC +pct start +pct stop +pct restart + +# Execute command in LXC +pct exec -- + +# Enter LXC console +pct enter + +# Create LXC from template +pct create