I don't understand how to use this, maybe I am missing something. Following the example, it starts 4 replicas of a 'web' service. You can create a service by running a deploy to one of the replicas, let's say example-web-1. What does the other 3 replicas do? Now, let's say I update 'web'. Let's assume I want to do a zero-downtime deployment. That means I should be able to run a build command on the 'web' service, sta…
Why would I not just do k8s rollout restart deployment? Or just switch my DNS or router between two backends?
Kamal Proxy – A minimal HTTP proxy for zero-downtime deployments
21–30 of 133 posts
Re: Kamal Proxy – A minimal HTTP proxy for zero-downtime deployments
#22Can someone briefly explain how ZDD works in general? I guess both versions of the app must be running simultaneously, with new traffic being routed to the new version of the app. But what about DB migrations? Assuming the app uses a single database, and the new version of the app introduces changes to the DB schema, the new app version would modify the schema during startup via a migration script. However, the previ…
Re: Kamal Proxy – A minimal HTTP proxy for zero-downtime deployments
#23Re: Kamal Proxy – A minimal HTTP proxy for zero-downtime deployments
#24But this looks like somehow a re-invention of what Kubernetes provides.
Kubernetes has come a long way in terms of ease of deployment on bare metal.
Re: Kamal Proxy – A minimal HTTP proxy for zero-downtime deployments
#25Re: Kamal Proxy – A minimal HTTP proxy for zero-downtime deployments
#26NIH. Nothing else to add.
Re: Kamal Proxy – A minimal HTTP proxy for zero-downtime deployments
#27DHH in the past has said "This setup helped us dodge the complexity of Kubernetes" But this looks like somehow a re-invention of what Kubernetes provides. Kubernetes has come a long way in terms of ease of deployment on bare metal.
Re: Kamal Proxy – A minimal HTTP proxy for zero-downtime deployments
#28Re: Kamal Proxy – A minimal HTTP proxy for zero-downtime deployments
#29Can someone briefly explain how ZDD works in general? I guess both versions of the app must be running simultaneously, with new traffic being routed to the new version of the app. But what about DB migrations? Assuming the app uses a single database, and the new version of the app introduces changes to the DB schema, the new app version would modify the schema during startup via a migration script. However, the previ…