Files
felhom.eu/documentation/audits/dooplex-survival-2026-10-09/partD-04-deploy.txt
T

50 lines
2.6 KiB
Plaintext

## 2026-10-09T08:45:51Z system pods
coredns-6d668d687-bvh4d Running
local-path-provisioner-869c44bfbd-rf27x Running
## import the hub image (by file; k3s cannot pull)
Importing elapsed: 1.7 s total: 0.0 B (0.0 B/s)
helper image: docker.io/rancher/mirrored-library-busybox:1.36.1
## secrets: the REAL seal key (step 4: same value); throwaway dummies for mail, report API, registry
secret/offsite-secret-key created
secret/resend-api created
secret/report-api created
secret/gitea-creds created
persistentvolumeclaim/hub-data created
configmap/hub-config created
deployment.apps/hub created
service/hub created
## first start on an EMPTY volume (after ~20 s)
hub-7f775576fd-fmddj 1/1 Running 0 16s
## step 5: scale to 0, copy the restored hub.db in with a helper pod, delete -wal/-shm, scale to 1
deployment.apps/hub scaled
pod/hub-7f775576fd-fmddj condition met
pod/hubdb-copy created
pod/hubdb-copy condition met
total 412
drwxrwxrwx 4 root root 4096 Oct 9 08:46 .
drwxr-xr-x 1 root root 4096 Oct 9 08:46 ..
drwxr-xr-x 2 root root 20480 Oct 9 08:46 assets
-rw-r--r-- 1 root root 389120 Oct 9 08:46 hub.db
drwx------ 2 root root 4096 Oct 9 08:46 snapshots
total 389200
drwxrwxrwx 4 root root 4096 Oct 9 08:46 .
drwxr-xr-x 1 root root 4096 Oct 9 08:46 ..
drwxr-xr-x 2 root root 20480 Oct 9 08:46 assets
-rw------- 1 root root 398508032 Oct 9 08:46 hub.db
drwx------ 2 root root 4096 Oct 9 08:46 snapshots
95b67d69afdeddaf
bench copy: 95b67d69afdeddaf
pod "hubdb-copy" deleted
deployment.apps/hub scaled
## started on the restored DB (after ~20 s)
hub-7f775576fd-cp9nj 1/1 Running 0 16s
## start-up log (sealed / version / errors)
2026/10/09 10:46:52 [INFO] off-site secrets sealed at rest (0 legacy plaintext row(s) sealed now)
2026/10/09 10:46:52 [INFO] console passwords sealed at rest (0 legacy plaintext row(s) sealed now)
2026/10/09 10:46:52 [INFO] box secrets sealed at rest (0 legacy plaintext value(s) sealed now)
2026/10/09 10:46:52 [INFO] Default controller-version floor: 0.120.0
2026/10/09 10:46:52 [INFO] Gitea artifact browser enabled (Day-0 version dropdowns) via http://gitea.gitea-system.svc.cluster.local:3000
2026/10/09 10:46:52 [INFO] Registry version checker started (every 6h)
2026/10/09 10:46:52 [INFO] Listening on :8080
2026/10/09 10:46:56 [WARN] Registry version check failed: HTTP request failed: Get "https://gitea.dooplex.hu/v2/admin/felhom-controller/tags/list": dial tcp: lookup gitea.dooplex.hu on 10.43.0.10:53: server misbehaving