docs: add deployment playbooks and templates
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user