▲ | rthnbgrredf a day ago | |||||||||||||
I think we need to distinguish between two cases: For a hobby project, using Docker Compose or Podman combined with systemd and some shell scripts is perfectly fine. You’re the only one responsible, and you have the freedom to choose whatever works best for you. However, in a company setting, things are quite different. Your boss may assign you new tasks that could require writing a lot of custom scripts. This can become a problem for other team members and contractors, as such scripts are often undocumented and don’t follow industry standards. In this case, I would recommend using Kubernetes (k8s), but only if the company has a dedicated Kubernetes team with an established on-call rotation. Alternatively, I suggest leveraging a managed cloud service like ECS Fargate to handle container orchestration. There’s also strong competition in the "Container as a Service" (CaaS) space, with smaller and more cost-effective options available if you prefer to avoid the major cloud providers. Overall, these CaaS solutions require far less maintenance compared to managing your own cluster. | ||||||||||||||
▲ | klooney a day ago | parent | next [-] | |||||||||||||
> dedicated Kubernetes team with an established on-call rotation. Using EKS or GKS is basically this. K8s is much nicer than ECS in terms of development and packaging your own apps. | ||||||||||||||
▲ | vidarh a day ago | parent | prev | next [-] | |||||||||||||
Up until a few thousand instances, a well designed setup should be a part time job for a couple of people. To that scale you can write a custom orchestrator that is likely to be smaller and simpler than the equivalent K8S setup. Been there, done that. | ||||||||||||||
▲ | chamomeal a day ago | parent | prev [-] | |||||||||||||
How would you feel if bash scripts were replaced with Ansible playbooks? At a previous job at a teeny startup, each instance of the environment is a docker-compose instance on a VPS. It works great, but they’re starting to get a bunch of new clients, and some of them need fully independent instances of the app. Deployment gets harder with every instance because it’s just a pile of bash scripts on each server. My old coworkers have to run a build for each instance for every deploy. None of us had used ansible, which seems like it could be a solution. It would be a new headache to learn, but it seems like less of a headache than kubernetes! | ||||||||||||||
|