mcpField
P
proxmox-infrastructure

proxmox-infrastructure

github.com/basher83Cloud & DevOps23115 installsUpdated 1w ago
Repository

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

  1. 01Cluster and node status checks
  2. 02CEPH health monitoring and diagnostics
  3. 03Ubuntu/Debian cloud-init template management
  4. 04VLAN, bridge, and LACP configuration
  5. 05Ansible and Terraform automation examples

Use cases

  1. 01Check cluster and CEPH storage health
  2. 02Create VM templates and clone virtual machines
  3. 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-infrastructure

After installing, type/proxmox-infrastructurein Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

anti-patterns/
common-mistakes.md
examples/01-basic-vm/
main.tf
README.md
variables.tf
reference/
api-reference.md
cloud-init-patterns.md
networking.md
qemu-guest-agent.md
storage-management.md
tools/
check_ceph_health.py
check_cluster_health.py
cluster_status.py
validate_template.py
workflows/
ceph-deployment.md
cluster-formation.md

Details

From the project README

Proxmox 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

Comments

Markdown supported