Replies: 1 comment
-
@tuxflo I haven't tried this but I'm pretty sure the Kamal deploy would just hang waiting for the defined |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I just found kamal and it might be the tool that I was looking for our application, which is currently deployed via docker swarm/stack.
One thing we're currently facing is, that our application has some long-running plain TCP streams which should be handled in a zero downtime deployment.
In the documentation I saw the config values
stop_wait_time
and the section with the cord files which statesSo my question is: is it possible to configure kamal with a "long-running draining" so that old, active sessions could be drained during a deployment?
How would I approach this, should the application manually write the unhealthy state or modify the cord file?
Also, is there a maximum value for the
stop_wait_time
? Would it be possible to configurestop_wait_time
for multiple days or even up to two weeks?Beta Was this translation helpful? Give feedback.
All reactions