Add infra-tool: infrastructure registry with Incus container deployment

Service registry & discovery system that aggregates infrastructure metadata
from Incus, K8s, APISIX, and BunnyCDN into NocoDB. Includes FastAPI HTTP API,
systemd timer for 15-min auto-sync, and dual-mode collectors (REST API for
container deployment, CLI/SSH fallback for local use). Deployed to jp1:infra-tool
with Tailscale socket proxy for host network visibility.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
kappa
2026-03-03 09:13:43 +09:00
commit 5e59261f63
20 changed files with 1962 additions and 0 deletions

15
pyproject.toml Normal file
View File

@@ -0,0 +1,15 @@
[project]
name = "infra-tool"
version = "0.1.0"
description = "Infrastructure service registry & discovery CLI"
requires-python = ">=3.12"
dependencies = [
"click>=8.1.8",
"fastapi>=0.115.0",
"hvac>=2.4.0",
"requests>=2.32.5",
"uvicorn[standard]>=0.34.0",
]
[project.scripts]
infra = "infra:cli"