Zero-downtime deployments with Docker Swarm: What's the proper way?

Hey @jaydrogers

Healthcheck probes are designed to make sure whether an app is live and ready to accept incoming requests. Kubernetes has two types liveness and readiness that allow assuming that our application is healthy and ready to accept requests.

Docker also has health checks implemented but on the Traefik level, you have to check whether your backend is ready. Here is a link to the official Healthcheck documentation.

Cheers, Jakub

1 Like