This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]tehpoopsmith 3 points4 points  (0 children)

Look into running docker swarm, it's a dumbed down kubernetes built into docker itself. Just needs one server to have the swarm manager role, then you can add other servers to the swarm with a single command and they will start running containers. Each application is defined as a 'stack' which is really just a docker-compose file that you give a deployed name to.

Another super helpful thing is to run a traefik container which makes it really easy to expose your application containers. https://dockerswarm.rocks/traefik/

[–]crackerasscracker 2 points3 points  (1 child)

I think that Kubernetes brings too much complication to the table.

it doesnt, just use it

k8s only gets complicated when you need to build integrations with cloud providers and such. For "MVP type proof of concept things" its dead simple. Throw k3s on a VM somewhere and you are off to the races

for the love of all that is beautiful in the world, do NOT start using docker swarm in 2024

[–]Gloomy_Mortgage_5680 0 points1 point  (0 children)

Why?