Rollout strategy
#1209
-
Is there a way to use a 'recreate' rollout strategy? I have some deployments that acquire a lock on the database and therefore I can't have two or more instances running at the same time. |
Beta Was this translation helpful? Give feedback.
Answered by
tuladhar
Nov 12, 2024
Replies: 1 comment 3 replies
-
You may want to checkout the boot configuration which provides options for controlling the deployment strategy. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since Kamal automatically boots a new container for zero-downtime deployments, a possible workaround for your situation would be to run
kamal app stop
followed bykamal deploy
. This process effectively recreates the application.Alternatively, you could utilize the
pre-deploy
hook as a workaround to runkamal app stop
.