3 ms·
Woah, so much overcomplication in the comments! If you want to run multiple applications, how about ... just running them? It sounds like you already do that,
by ruuda 2y ago
Woah, so much overcomplication in the comments!
If you want to run multiple applications, how about ... just running them? It sounds like you already do that, so what is the real problem that you are trying to solve?
If it's annoying to start them by hand one by one, you could use Foreman or Overmind to start them with a single command, and interleave their output in a terminal.
- zwnow 2y agoI also dont know why OP wants to jump into kubernetes directly instead of just using docker...
- ruuda 2y agoEven Docker ... does that solve a problem OP has?
- zwnow 2y agoYes, just write a small docker compose file and you can start all of the services with 1 command. Either isolated or connected, however OP wants to use them.
- tbrownaw 2y ago> jump into kubernetes directly instead of just using docker Option A: learn k8s, use it for anything containerized. Don't use the complicated parts if you don't need them. Option B: learn docker (docker compose I guess?), use that... then also learn k8s because you'll eventually have to anyway
- zwnow 2y agoI'd argue most companies would never have to touch k8s but Docker is a valuable skill to have.
- jjice 2y agoI’d agree here. I thought kubernetes was going to dominate the container compute space, but ECS and similar non-k8s solution took up way more steam than I expected. I wouldn’t be surprised if k8s still dominates market share, but you can go really far with other orchestration services. ECS, while vendor locked and less extensible, is actually pretty solid to work with.
- suralind 2y agoIt's not that I don't want to run them locally. It's more like I would like to a) use HTTPS when developing services b) give each service a unique hostname c) run all my services on the same port and there's simply no easy way to do that that I know of. Hence my Ask HN :)
- jinnko 2y agoI hadn't come across overmind before and searching turned up several very different projects. I think the parent comment is referring to this one: https://github.com/DarthSim/overmind https://github.com/DarthSim/overmind
- ruuda 2y agoYes, that’s the one I meant. One thing that annoyed me with Foreman is that sometimes it doesn’t terminate all processes when one of them crashes. Since I switched to Overmind/Hivemind I never had that problem again.
- deleted 2y ago[deleted]