About proxmox-infrastructure
proxmox-infrastructure is an infrastructure management skill for Proxmox VE operators. It provides scripts, configuration references, and automation examples for a three-node Matrix cluster, covering CEPH, networking, and cloud-init templates.
Key features
- 01Cluster and node status checks
- 02CEPH health monitoring and diagnostics
- 03Ubuntu/Debian cloud-init template management
- 04VLAN, bridge, and LACP configuration
- 05Ansible and Terraform automation examples
Use cases
- 01Check cluster and CEPH storage health
- 02Create VM templates and clone virtual machines
- 03Configure VLAN bridges and multi-node deployments
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ basher83/ lunar-claude --skill proxmox-infrastructureAfter installing, type/proxmox-infrastructurein Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
anti-patterns/common-mistakes.mdexamples/01-basic-vm/main.tfREADME.mdvariables.tfreference/api-reference.mdcloud-init-patterns.mdnetworking.mdqemu-guest-agent.mdstorage-management.mdtools/check_ceph_health.pycheck_cluster_health.pycluster_status.pyvalidate_template.pyworkflows/ceph-deployment.mdcluster-formation.mdDetails
From the project READMEProxmox Infrastructure: Matrix/Virgo-Core Cluster
Manage 3-node Proxmox VE cluster with CEPH storage, VLAN networking, and cloud-init automation.
Available Tools
Python Scripts (uv-based)
- validate_template.py - Validate template health via Proxmox API
- cluster_status.py - Cluster health metrics and node status
- check_ceph_health.py - CEPH storage pool health monitoring
- check_cluster_health.py - Comprehensive cluster diagnostics
All scripts support --help for usage. Run with: uv run tools/<script>.py
Automation Examples
- Ansible playbooks - Template creation, VLAN bridging setup
- Terraform modules - VM cloning, multi-node deployments with dual NICs
See examples/ and workflows/ for working configurations.
Core Capabilities
Template Management:
- Ubuntu/Debian cloud-init templates with virtio-scsi
- Serial console configuration for cloud images
- Proper boot order and cloud-init CD-ROM (ide2)
Network Infrastructure:
- vmbr0: Management (VLAN 9 for Corosync)
- vmbr1: CEPH Public (192.168.5.0/24, MTU 9000)
- vmbr2: CEPH Private (192.168.7.0/24, MTU 9000)
- VLAN-aware bridging (supports VLANs 2-4094)
- 802.3ad LACP bonding
CEPH Storage:
- Multi-OSD configuration (2× 4TB NVMe per node)
- MTU 9000 for storage networks
- Public/private network separation
- Health monitoring and diagnostics
API Automation:
- Python via proxmoxer library
- Ansible via community.general.proxmox_* modules
- Terraform via Telmate/proxmox provider
Cluster Architecture (Matrix)
Hardware: 3× MINISFORUM MS-A2
- AMD Ryzen 9 9955HX (16C/32T)
- 64GB DDR5 @ 5600 MT/s
- 3× NVMe: 1× 1TB boot, 2× 4TB CEPH OSDs
- 4× NICs: 2× 10GbE SFP+, 2× 2.5GbE
Nodes: Foxtrot, Golf, Hotel
Quick Examples
Clone template to VM:
qm clone 9000 101 --name web-01
qm set 101 --ipconfig0 ip=192.168.3.100/24,gw=192.168.3.1
qm set 101 --net0 virtio,bridge=vmbr0,tag=30
qm start 101
Check cluster health:
uv run tools/cluster_status.py
uv run tools/check_ceph_health.py
For Details
- reference/ - Cloud-init, networking, API, storage, QEMU guest agent
- workflows/ - Cluster formation, CEPH deployment automation
- examples/ - Terraform configs, Ansible playbooks
- anti-patterns/ - Common mistakes from real deployments