6 ms·
I’m still trying to decide on an orechestrator for my deployments. Any reason swarm wouldn’t work instead of k8s?
by tra3 7y ago
I’m still trying to decide on an orechestrator for my deployments. Any reason swarm wouldn’t work instead of k8s?
- sandGorgon 7y agoWe are moving from swarm to k3s.
- tuananh 7y agoif i were you, i would watch k3s closely. it's super promising; i may not want to dpeloy anything production critical there.
- tra3 7y agoWhy is that? I thought it was a verified distribution?
- tuananh 7y agoit's certified yes. but for me, community is a crucial point and i think it's not big enough yet. maybe that's just me.
- sandGorgon 7y agoI think it has one of the best communities. And especially the Rancher team are extremely responsive on twitter
- sk0g 7y agoDocker is pretty much abandoning Swarm though, so wouldn't recommend that at least. https://www.bretfisher.com/is-swarm-dead-answered-by-a-docker-captain/ https://www.bretfisher.com/is-swarm-dead-answered-by-a-docke...
- tra3 7y agoThat's a post from early 2018. As far as I know they continue to support and maintain swarm. To be fair though, I haven't been following it closely. I need to dive into docker clusters, but I still haven't picked the tech (k8s? swarm? flynn?)
- thrtythreeforty 7y agoWhat's a good replacement for Swarm that isn't as complex as Kubernetes? I like the platform abstraction and flexibility of k8s, it's just really heavy for many of my use cases.
- chosenken 7y agoI'd checkout HashiCorp's Nomad: https://nomadproject.io/ https://nomadproject.io/
- enos_feedler 7y agoWhat are your core use cases? And would you imagine growing into more complex use cases that Kubernetes makes sense for?
- manigandham 7y agoI'd advise learning the basics of Kubernetes anyway. Managed offerings like GKE take away all of the operational burden so you can just deploy your app with minimal setup, usually just 1 or a handful of YAML files.
- drodgers 7y agoI hear good things about Hashicorp Nomad from people who've used it: https://nomadproject.io/ https://nomadproject.io/ Especially if you're already using Consul, it should fit the bill perfectly.
- yskchu 7y ago> Docker is pretty much abandoning Swarm though, so wouldn't recommend that at least. > https://www.bretfisher.com/is-swarm-dead-answered-by-a-docke.. https://www.bretfisher.com/is-swarm-dead-answered-by-a-docke.... The post you link specifically says swarm is not dead, in like the first sentence of the post: "No. Swarm is not dead." It also says: "This was written early 2018. See my update to this video including Docker Inc. interview in late 2018, and then at DockerCon 2019 Docker again confirmed new features and commitment to Swarm. Most of their customers prefer it."
- geuis 7y agoSwarm is basically dead. I’ve spent over 2 weeks trying to get kubernetes to work and have completely failed. Left another comment about that. I’ve been looking and haven’t found any alternatives. Really feels like there should be.
- geuis 7y agoHonestly don’t know why this is being downvoted. Swarm is officially being deprecated by Docker. There aren’t any current alternatives to k8s being proposed.
- penagwin 7y agoI second this. Even if swarm isn't officially deprecated my time with had proven that swarm was abandoned for k8s around 2016/2018. Long standing issues have been around for years. Even trivial things like deploying only a single service from a stack file that contains multiple services isn't possible (even though docker compose has no problems with it). The current recommended method to restart a service is to set it's scale to 0 then back to whatever number it was previously (because you remember it right?) I thought it would be as good/polished as docker compose but boy was I wrong.
- tra3 7y agoHow about flynn [0] and nomad [1]? Both have been described as easier alternatives to k8s. There's also k3s [2] that caught my attention. [0]: http://flynn.io http://flynn.io [1]: https://www.nomadproject.io https://www.nomadproject.io [2]: http://k3s.io http://k3s.io
- penagwin 7y agoThank you so much I'll check those out!