Skip to content

Recreate host-network deployments instead of rolling them - #334

Merged
Shine-neko merged 1 commit into
mainfrom
fix/rolling-update-host-network
Nov 24, 2026
Merged

Shine-neko merged 1 commit into
mainfrom
fix/rolling-update-host-network

Conversation

@Shine-neko

Copy link
Copy Markdown
Contributor

A deployment with network.mode: host and health checks went through a rolling update. Its container binds its ports on the host directly, so the new one died on address in use while the old one kept running, and the update never landed.

Such deployments are now recreated, like those publishing a host port, with a host_network reason on the force_replace event. Covered by a test; docs and changelog updated.

…ew container cannot bind the ports the old one holds
@Shine-neko
Shine-neko merged commit 17d15fa into main Nov 24, 2026
6 checks passed
@Shine-neko
Shine-neko deleted the fix/rolling-update-host-network branch November 24, 2026 11:08
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