Files
blog/content/posts/commits/2026-05-31-commit-a1b4a76.md
Betty da1a2a20bf
Some checks failed
Hugo Build & Deploy / build-deploy (push) Has been cancelled
post: commit a1b4a76 in bojemoi
2026-05-31 21:30:03 +02:00

1.4 KiB

title, date, draft, tags, categories, summary, author
title date draft tags categories summary author
[bojemoi] feat(provisioning): template cloud-init Alpine worker + script deploy 2026-05-31T21:30:02+02:00 false
commit
bojemoi
main
Git Activity
Commit a1b4a76 par Betty dans bojemoi Betty

Commit a1b4a76

Repository bojemoi
Branch main
Author Betty
Hash a1b4a76aa867ecdcea638148889da9400a1fb1d4

Description

Ajoute un template Jinja2 complet pour déployer un worker Docker Swarm Alpine 3.20 (bonding eth0+eth1, NVIDIA optionnel, Suricata optionnel, labels Swarm) et un script bash pour appeler l'orchestrator.

  • cloud-init/alpine/alpine-worker-full.yaml.j2 : template fidèle à meta-68 (bond0 balance-rr, packages complets, daemon.json conditionnel NVIDIA, cron prune + suricata truncate, phone_home :28080)
  • scripts/deploy-worker-vm.sh : fetch token Swarm + clé SSH auto, validation memory≥16384/vcpus≥8, scale orchestrator si 0 replicas, options --nvidia/--defectdojo/--rsync-slave/--labels/--dry-run

Co-Authored-By: Claude Sonnet 4.6 (1M context) noreply@anthropic.com

Files Changed

A	cloud-init/alpine/alpine-worker-full.yaml.j2
A	scripts/deploy-worker-vm.sh

Diff Summary

 cloud-init/alpine/alpine-worker-full.yaml.j2 | 312 +++++++++++++++++++++++++++
 scripts/deploy-worker-vm.sh                  | 228 ++++++++++++++++++++
 2 files changed, 540 insertions(+)