Make ensure_stack_deployed more reliable #177
Merged
decentral1se
merged 1 commits from 2021-06-27 19:03:48 +00:00
improved-stack-deploy-guarantees into main
No Reviewers
Labels
Clear labels
CI/CD
breaking-change
bug
design
documentation
duplicate
enhancement
help wanted
invalid
plugin
question
secrets
shell-completion
versioning
wontfix
Anything to do with testing and infra
Anything that breaks the existing API
Something is not working
Anything to with UX of this tool
Documentation
This issue or pull request already exists
New feature
Need some help
Something is wrong
Related to the plugin architecture
More information is needed
Everything to do with docker secrets
To do with shell completion
All the things to do with versioning apps
This won't be fixed
No labels
Milestone
No items
No Milestone
Assignees
3wordchant
aadil (Aadil Ayub)
abra-bot (Abra Bot)
ammaratef45
amras (Sarma)
Apfelwurm
BornDeleuze (Born Deleuze)
Brooke
carla
cas (Cassowary)
coopcloud
cyrnel
dannygroenewegen (Danny Groenewegen)
decentral1se (d1)
dede
devydave
fauno (fauno)
hex (Josh Dukes)
iexos
jade (Jade Ambrose)
jjsfunhouse
jmakdah2 (Jackie Makdah)
joe-irving (Joe Irving)
kawaiipunk (KawaiiPunk)
knoflook
kolaente
lambdabundesverband
linnealovespie (April)
moosemower
moritz
notplants
oxaliq (sorrel)
p4u1 (p4u1)
pharaohgraphy (Andrew 🐦🔥❤️🔥✴️)
renovate-bot (Comrade Renovate Bot)
ripclap
simon
sixsmith (Sixsmith)
stevensting (stevensting)
trav (Trav Fryer)
val (val (he/him))
yksflip
Clear assignees
No Assignees
No due date set.
Dependencies
No dependencies set.
Reference: toolshed/abra-bash#177
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Closes https://git.autonomic.zone/coop-cloud/abra/issues/165.
Cases to be solved from my testing:
Overall goals are: make it work and keep it fast.
All of these will rely on healthchecks on each container, so, we need to implement them in all our apps and make them standard from now on, unfortunately...but I am getting better at understanding how they work! I have hope.
Seems like a default new
deploy: ...configuration is emerging:Where you ensure that the service won't be in a restart loop forever.
f151018f10toc7f838178cIt seems a core element of making this run fast is configuring the healthcheck:
The default settings are really default. A redis container is up in like 3 seconds but the first healthcheck won't run until 30 seconds. So by tailoring each of these values to some better default, we can get speedy deployments and
abradoesn't have to manage it. It pushes the complexity to swarm itself which is ideal.Also:
c7f838178cto4ed9f119d84ed9f119d8to7322105fd97322105fd9to4593451dab4593451dabto62999a1732OK, I'm gonna merge this as is now, one edge case is still not covered. Example output:
62999a1732todccfff0c87dccfff0c87to93714a593bWIP: make ensure_stack_deployed reliableto Make ensure_stack_deployed more reliable