Commit Graph

9 Commits

Author SHA1 Message Date
Henrik Jess Nielsen
53d696ea73 fix(csi): survive int reboots, pin image by digest, raise memory
All checks were successful
Deploy CSI Jobs / deploy (push) Successful in 36s
Both plugin jobs are pinned to int with count = 1 and had no restart or
reschedule stanza. When int goes away the allocations are marked Lost and
never return — csi-nfs-node showed 1 Complete / 3 Lost / 0 Failed, so these
were never application crashes, they were the node disappearing. The plugin
has been down since 2026-06-08 as a result. Adds restart + unlimited
reschedule with exponential backoff so they recover on their own.

The image was :latest, against our own rule for Nomad. The copy cached on
int is sha256:944d0e65 and roughly seven months old, so any fresh pull on
another node would get a different build — a good way to make failures
irreproducible. Pinned to the digest that has actually been running.

Memory was 128 MB for a Node.js process. Raised to 256 with memory_max so
mount and provisioning activity can burst without permanently reserving it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-06 23:22:45 +02:00
c3a25a84e5 chore: trigger pipeline to test fixed grep pattern
All checks were successful
Deploy CSI Jobs / deploy (push) Successful in 11s
2026-05-27 09:50:50 +02:00
5acb65abbe fix: use \K grep pattern for volume id extraction
Replace variable-length lookbehind with \K which GNU grep supports.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-27 09:50:39 +02:00
Henrik Jess Nielsen
0178314810 Run moneymaker on int (has CSI plugin) 2026-05-26 23:56:23 +02:00
Henrik Jess Nielsen
f930ca1c80 Add moneymaker CSI volume and updated job
Some checks failed
Deploy CSI Jobs / deploy (push) Failing after 11s
- csi/volumes/moneymaker-data.hcl: CSI volume (1-10G, single-node-writer)
- jobs/moneymaker.nomad: migrated from host to CSI volume, removed consul constraint
2026-05-26 23:53:28 +02:00
Henrik Jess Nielsen
edffcd0766 Add idempotent volume provisioning step
Skips example.hcl, creates volumes that don't exist yet.
2026-05-26 23:45:53 +02:00
Henrik Jess Nielsen
575bc2053d Update runner label to debian/debian-int 2026-05-26 23:38:03 +02:00
Henrik Jess Nielsen
916b7affec Add Gitea Actions deploy workflow
Deploys CSI controller and node jobs to Nomad on push to main.
Runner: nomad.i80.dk (label: nomad) — local nomad job run calls.
2026-05-26 23:35:52 +02:00
Henrik Jess Nielsen
90ff2f2480 Initial CSI setup — democratic-csi + NFS on int
- controller.nomad: CSI controller pinned to int
- node.nomad: CSI node plugin (int only for now, expand later)
- volumes/example.hcl: template for creating new volumes

NFS: int exports /opt/csi-volumes to 192.168.15.0/24
Plugin ID: org.democratic-csi.nfs
2026-05-26 23:22:55 +02:00