docs(pulse-docs): add Docker Swarm runbook + recovery commands + session & docker checklists + state snapshot
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# Recovery Commands — Docker Swarm
|
||||
|
||||
## Emergency
|
||||
\`\`\`bash
|
||||
docker node ls # verificar saude do no
|
||||
docker stack rm <stack> && sleep 3 # remover stack problematica
|
||||
docker stack deploy -c <stack>.yml <stack> # re-deploy
|
||||
\`\`\`
|
||||
|
||||
## Servico especifico
|
||||
\`\`\`bash
|
||||
docker service ps <stack>_<service> # ver tasks
|
||||
docker service update --force <stack>_<service> # forc@r nova task
|
||||
\`\`\`
|
||||
|
||||
## Health check manual
|
||||
\`\`\`bash
|
||||
docker inspect --format '{{.State.Health.Status}}' <container_id>
|
||||
# → healthy | unhealthy | starting | <sem-health>
|
||||
\`\`\`
|
||||
Reference in New Issue
Block a user