News for hackers. Stuff that matters.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by tra3 on Monday February 24, 2020 @10:28PM (#22410685)
I’m still trying to decide on an orechestrator for my deployments. Any reason swarm wouldn’t work instead of k8s?
Re:We use Kubernetes and spot instances to reduce EC2 billin... by sk0g on Monday February 24, 2020 @10:43PM (#22410753)
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...

Re:We use Kubernetes and spot instances to reduce EC2 billin... by yskchu on Tuesday February 25, 2020 @02:59AM (#22411573)
> 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....

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."

Re:We use Kubernetes and spot instances to reduce EC2 billin... by manigandham on Tuesday February 25, 2020 @08:45PM (#22419533)
It's effectively dead based on usage. Just about every modern project uses Kubernetes for container orchestration while Swarm (and others like Cattle, DC/OS, etc) have decreased in popularity.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by tra3 on Wednesday February 26, 2020 @08:31PM (#22429493)
Here's a commitment from Docker's new overlords to support swarm for the next 2 years: https://www.mirantis.com/blog/mirantis-will-continue-to-supp...
Re:We use Kubernetes and spot instances to reduce EC2 billin... by manigandham on Wednesday February 26, 2020 @08:41PM (#22429543)
Support doesn't mean usage. Kubernetes is where the community is, not Swarm.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by thrtythreeforty on Monday February 24, 2020 @11:38PM (#22410948)
What'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.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by manigandham on Tuesday February 25, 2020 @12:08AM (#22411060)
I'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.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by drodgers on Tuesday February 25, 2020 @02:00AM (#22411401)
I hear good things about Hashicorp Nomad from people who've used it: https://nomadproject.io/

Especially if you're already using Consul, it should fit the bill perfectly.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by chosenken on Monday February 24, 2020 @11:46PM (#22410970)
I'd checkout HashiCorp's Nomad: https://nomadproject.io/
Re:We use Kubernetes and spot instances to reduce EC2 billin... by enos_feedler on Tuesday February 25, 2020 @12:00AM (#22411026)
What are your core use cases? And would you imagine growing into more complex use cases that Kubernetes makes sense for?
Re:We use Kubernetes and spot instances to reduce EC2 billin... by tra3 on Monday February 24, 2020 @11:09PM (#22410834)
That'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?)
Re:We use Kubernetes and spot instances to reduce EC2 billin... by geuis on Tuesday February 25, 2020 @02:36AM (#22411497)
Swarm 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.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by geuis on Tuesday February 25, 2020 @04:00AM (#22411771)
Honestly 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.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by penagwin on Tuesday February 25, 2020 @12:16PM (#22414987)
I 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.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by tra3 on Tuesday February 25, 2020 @12:58PM (#22415406)
How 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 [1]: https://www.nomadproject.io [2]: http://k3s.io

Re:We use Kubernetes and spot instances to reduce EC2 billin... by penagwin on Tuesday February 25, 2020 @01:31PM (#22415770)
Thank you so much I'll check those out!
Re:We use Kubernetes and spot instances to reduce EC2 billin... by sandGorgon on Monday February 24, 2020 @11:31PM (#22410920)
We are moving from swarm to k3s.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by tuananh on Monday February 24, 2020 @11:55PM (#22411013)
if i were you, i would watch k3s closely. it's super promising; i may not want to dpeloy anything production critical there.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by tra3 on Tuesday February 25, 2020 @01:01AM (#22411236)
Why is that? I thought it was a verified distribution?
Re:We use Kubernetes and spot instances to reduce EC2 billin... by tuananh on Tuesday February 25, 2020 @01:03AM (#22411249)
it'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.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by sandGorgon on Wednesday February 26, 2020 @07:03AM (#22422230)
I think it has one of the best communities. And especially the Rancher team are extremely responsive on twitter