docs: add deployment playbooks and templates

This commit is contained in:
2026-07-19 18:02:47 +00:00 Unverified
commit b59d1df970
124 changed files with 2005 additions and 0 deletions
@@ -0,0 +1,3 @@
# Swarm Single Service Migration
Use this when the source repo still uses `docker stack deploy`.
@@ -0,0 +1,4 @@
git pull --rebase --autostash
IMAGE=#APP_NAME:$(git rev-parse --short HEAD)
docker build -t $IMAGE .
IMAGE=$IMAGE docker stack deploy -c compose.yml #APP_NAME
@@ -0,0 +1,6 @@
# After
1. Image build should target the cluster architecture
2. Compose file is replaced by `k8s/` manifests
3. Secret values move to Kubernetes
4. Rollout is either on-demand or CI-driven GitOps deploy