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