|
|
|
|
|
by ianburrell
586 days ago
|
|
What happens when your machine dies? You get paged, your service is down, you have to migrate the services to a new machine. With Kubernetes, it starts new container on new machine, and you don't get paged. You could write scripts to do failover, but that takes works and will be buggy. |
|
Either way this type of argument just comes down to "should I cluster or not" but to think out loud for a bit that's just basic HA planning: Simplest solution is keepalived/etc for stateful services, standard load balancing for stateless. Don't want load balanced services running all the time? Socket activation. Don't have a separate machine? Auto-restart the service and you can't cluster anyway. The only thing you'd really have to script is migrating application data over if you're not already using a shared storage solution, but I'm not sure there's any easier solutions in Kubernetes