Commit graph

200 commits

Author SHA1 Message Date
Viktor Barzin
d4400f8283
[ci skip] remove atuin: destroy stack, DNS, NFS export, PostgreSQL credentials 2026-03-06 20:11:14 +00:00
Viktor Barzin
a82f86b3e4
[ci skip] onlyoffice: cache fonts/themes on NFS for fast restarts
Persist font cache (159MB) and theme images (10MB) to NFS volume.
Set GENERATE_FONTS=false to skip regeneration on startup since cache
is warm. Startup time: ~3 min -> 5 seconds.
2026-03-01 18:02:38 +00:00
Viktor Barzin
e9dbb0e82e
[ci skip] openclaw: persist home directory on NFS
- Switch openclaw-home from emptyDir to NFS (/mnt/main/openclaw/home)
- Persists SOUL.md, IDENTITY.md, sessions, memory DB, telegram state,
  device identity, and all runtime files across pod restarts
- Init container still refreshes openclaw.json and kubeconfig on each start
2026-03-01 16:12:07 +00:00
Viktor Barzin
999005d40f
[ci skip] openclaw: cache tools on NFS for fast restarts
- Switch /tools volume from emptyDir to NFS (/mnt/main/openclaw/tools)
- Skip download of kubectl, terraform, terragrunt, pip packages if cached
- Startup time: ~2.5min → ~38s on subsequent restarts
2026-03-01 13:59:07 +00:00
Viktor Barzin
fdd4e3e467
[ci skip] Phase 2: migrate Redis from NFS to local disk
- Switch from redis/redis-stack:latest to redis:7-alpine
  (modules were completely unused — zero module commands in stats)
- Move data from NFS (/mnt/main/redis) to local-path PVC
  (RDB saves: 39s on NFS → <1s on local disk)
- Start fresh (old RDB had redis-stack module data incompatible with plain redis;
  all Redis data is transient — queues and caches rebuild automatically)
- Add hourly redis-backup CronJob: redis-cli --rdb to NFS for backup pipeline
- Remove RedisInsight UI ingress (port 8001, only in redis-stack)
- Add redis-backup to NFS exports
- 110 clients reconnected immediately after switchover
- Memory savings: ~100MB from dropping unused modules
2026-02-28 19:44:08 +00:00
Viktor Barzin
9d9c8fdc12
[ci skip] Phase 1: PostgreSQL migrated to CNPG on local disk
Major milestone - shared PostgreSQL moved from NFS to CloudNativePG:
- CNPG cluster (pg-cluster) running in dbaas namespace on local-path storage
- PostGIS image (ghcr.io/cloudnative-pg/postgis:16) for dawarich compatibility
- All 20 databases and 19 roles restored from pg_dumpall backup
- postgresql.dbaas Service patched to point at CNPG primary
- Old PG deployment scaled to 0 (NFS data intact for rollback)
- All 12+ dependent services verified running:
  authentik, n8n, dawarich, tandoor, linkwarden, netbox, woodpecker,
  rybbit, affine, health, resume, trading-bot, atuin
- Authentik PgBouncer working through the switched endpoint

TODO: codify CNPG cluster in Terraform, add 2nd replica, update backup CronJob
2026-02-28 19:08:06 +00:00
Viktor Barzin
6aa29e9f77
[ci skip] technitium: add primary-secondary DNS HA with AXFR zone replication
Secondary instance on a separate node replicates all zones from primary via
zone transfer. LoadBalancer routes DNS queries to both pods. PDB ensures at
least 1 DNS pod survives voluntary disruptions. Setup job automates zone
transfer enablement and secondary zone creation via Technitium REST API.
2026-02-28 14:14:20 +00:00
Viktor Barzin
0eababf212
[ci skip] Sunset Drone CI: remove all artifacts, DNS, configs, and references
Drone CI has been fully replaced by Woodpecker CI at ci.viktorbarzin.me.
Destroys K8s resources (12), removes DNS records, NFS exports, Uptime Kuma
monitor, dashboard entry, and all code/doc references across 18 files.
2026-02-23 19:38:55 +00:00
Viktor Barzin
f1a27ed2f9
[ci skip] Add Woodpecker CI stack (WIP) and claude agents
- Add stacks/woodpecker/ with Helm-based deployment config
- Add .woodpecker/ CI pipeline configs (default, build-cli, renew-tls)
- Add NFS export entry for woodpecker
- Add .claude/agents/ definitions
2026-02-22 21:30:25 +00:00
Viktor Barzin
178884714f
[ci skip] Add NFS export and DNS record for poison-fountain 2026-02-22 19:47:46 +00:00
Viktor Barzin
f23d3c220c
[ci skip] Configure f1-stream: WebAuthn, NFS storage, headless browser
- Set WEBAUTHN_RPID/ORIGIN for f1.viktorbarzin.me domain
- Add NFS volume at /mnt/main/f1-stream for persistent session/stream data
- Enable headless browser extraction (HEADLESS_EXTRACT_ENABLED=true)
- Reduce replicas to 1 (file-based sessions don't work across replicas)
2026-02-21 15:57:25 +00:00
Viktor Barzin
14296a3966
[ci skip] Rename moltbot to openclaw across Terraform, K8s resources, and DNS
Update terraform version in init container from 1.12.1 to 1.14.5.
2026-02-18 21:53:46 +00:00
Viktor Barzin
349fffc124
Cluster health remediation: cleanup CronJob, disable Collabora, fix GPU probe, add NFS exports [ci skip]
- Add daily CronJob to auto-clean Failed/Evicted pods cluster-wide (infra-maintenance)
- Disable Collabora in Nextcloud (broken HPA caused scaling storm; using OnlyOffice instead)
- Increase gpu-pod-exporter liveness probe timeout from 1s to 5s
- Add osm-routing NFS exports (osrm-data, otp-data)
2026-02-15 17:20:47 +00:00
Viktor Barzin
163d6a728d Drone CI Update TLS Certificates Commit 2026-02-15 00:05:36 +00:00
Viktor Barzin
f013c0a139
[ci skip] Fix code review findings: correct Alertmanager URL, add atomic to Loki, remove dead minio NFS export, update design doc 2026-02-13 23:08:44 +00:00
Viktor Barzin
c330648b7b
[ci skip] Deploy MoltBot (OpenClaw) AI agent gateway
Add new Kubernetes service for OpenClaw gateway connected to in-cluster
Ollama, with kubectl/terraform/git access for infrastructure management.
Protected behind Authentik SSO.
2026-02-13 22:57:36 +00:00
Viktor Barzin
c04a5e6229 add the nfs dirs 2026-02-08 02:29:48 +00:00
Viktor Barzin
476f2d2b66 Drone CI Update TLS Certificates Commit 2026-02-08 00:04:51 +00:00
Viktor Barzin
75455716c0 Drone CI Update TLS Certificates Commit 2026-01-25 00:06:38 +00:00
Viktor Barzin
16ed21aab2 Drone CI Update TLS Certificates Commit 2026-01-11 00:26:26 +00:00
Viktor Barzin
29f8b5ef6b Drone CI Update TLS Certificates Commit 2026-01-04 00:08:25 +00:00
Viktor Barzin
2c55e13e2e Drone CI Update TLS Certificates Commit 2025-12-28 00:06:37 +00:00
Viktor Barzin
c2c031afc5 Drone CI Update TLS Certificates Commit 2025-12-14 00:06:32 +00:00
Viktor Barzin
5da3da2663 Drone CI Update TLS Certificates Commit 2025-11-30 00:06:37 +00:00
Viktor Barzin
fed2665fad Drone CI Update TLS Certificates Commit 2025-11-23 00:06:38 +00:00
Viktor Barzin
f266e7eabb Drone CI Update TLS Certificates Commit 2025-11-16 00:13:56 +00:00
Viktor Barzin
b4694c8041 Drone CI Update TLS Certificates Commit 2025-11-02 00:05:23 +00:00
Viktor Barzin
672ab8d375 Drone CI Update TLS Certificates Commit 2025-10-26 00:05:12 +00:00
Viktor Barzin
1e33196b7c Drone CI Update TLS Certificates Commit 2025-10-19 00:05:29 +00:00
Viktor Barzin
5c6e8dd1a2 Drone CI Update TLS Certificates Commit 2025-10-12 00:13:18 +00:00
Viktor Barzin
39570f52e0 Drone CI Update TLS Certificates Commit 2025-09-28 00:06:34 +00:00
Viktor Barzin
59d0781ce9 Drone CI Update TLS Certificates Commit 2025-09-14 00:07:51 +00:00
Viktor Barzin
8f7b085fac Drone CI Update TLS Certificates Commit 2025-09-07 00:07:08 +00:00
Viktor Barzin
cab1f984c1 Drone CI Update TLS Certificates Commit 2025-08-31 00:06:53 +00:00
Viktor Barzin
6753f6cf3d Drone CI Update TLS Certificates Commit 2025-08-24 00:17:41 +00:00
Viktor Barzin
c76ef1027c Drone CI Update TLS Certificates Commit 2025-08-10 00:06:18 +00:00
Viktor Barzin
463bbd66dc Drone CI Update TLS Certificates Commit 2025-08-03 00:06:52 +00:00
Viktor Barzin
2afae83881 Drone CI Update TLS Certificates Commit 2025-07-27 00:11:18 +00:00
Viktor Barzin
add01d7adb Drone CI Update TLS Certificates Commit 2025-07-13 00:05:39 +00:00
Viktor Barzin
d0437a6e3c Drone CI Update TLS Certificates Commit 2025-07-06 00:05:59 +00:00
Viktor Barzin
3f24e7ab25 Drone CI Update TLS Certificates Commit 2025-06-29 00:07:00 +00:00
Viktor Barzin
9c55a2a2d6 Drone CI Update TLS Certificates Commit 2025-06-22 00:10:18 +00:00
Viktor Barzin
3ebe28d175 Drone CI Update TLS Certificates Commit 2025-06-21 13:10:40 +00:00
Viktor Barzin
917191e074 Drone CI Update TLS Certificates Commit 2025-06-08 00:04:20 +00:00
Viktor Barzin
c419b0f8a3 Drone CI Update TLS Certificates Commit 2025-05-25 00:03:39 +00:00
Viktor Barzin
71b6fd333c Drone CI Update TLS Certificates Commit 2025-05-18 00:04:18 +00:00
Viktor Barzin
79bab1ed02 Drone CI Update TLS Certificates Commit 2025-05-11 00:05:34 +00:00
Viktor Barzin
ad80ba9aa6 Drone CI Update TLS Certificates Commit 2025-05-04 00:07:32 +00:00
Viktor Barzin
6179dc91cf Drone CI Update TLS Certificates Commit 2025-04-20 00:05:47 +00:00
Viktor Barzin
6a041ba404 Drone CI Update TLS Certificates Commit 2025-04-13 00:03:57 +00:00