Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplified deploy/drain timeouts #948

Merged
merged 1 commit into from
Sep 18, 2024
Merged

Simplified deploy/drain timeouts #948

merged 1 commit into from
Sep 18, 2024

Conversation

djmb
Copy link
Collaborator

@djmb djmb commented Sep 18, 2024

Remove stop_wait_time and readiness_timeout from the root config and remove deploy_timeout and drain_timeout from the proxy config.

Instead we'll just have deploy_timeout and drain_timeout in the root config.

For roles that run the proxy, they are passed to the kamal-proxy deploy command. Once that returns we can assume the container is ready to shut down.

For other roles, we'll use the deploy_timeout when polling the container to see if it is ready and the drain_timeout when stopping the container.

Remove `stop_wait_time` and `readiness_timeout` from the root config
and remove `deploy_timeout` and `drain_timeout` from the proxy config.

Instead we'll just have `deploy_timeout` and `drain_timeout` in the
root config.

For roles that run the proxy, they are passed to the kamal-proxy deploy
command. Once that returns we can assume the container is ready to
shut down.

For other roles, we'll use the `deploy_timeout` when polling the
container to see if it is ready and the `drain_timeout` when stopping
the container.
@djmb djmb merged commit 684f7ac into main Sep 18, 2024
9 checks passed
@djmb djmb deleted the deploy-drain-timeouts branch September 18, 2024 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant