Automatically rotate Docker Swarm secrets with Docker-sdp
github.com
github.com
Being able to use the Compose specification (https://docs.docker.com/compose/compose-file/) both on single nodes with Docker Compose and then also across clusters with Docker Swarm is such a nice idea.
We are building our internal tooling and app deployments around Docker Swarm if possible due to the low barrier for entry. Clustering concepts stay the same anyways once we need to switch.
And while we are doing so, we take older tutorials and versions for swarm and modernize them on our GitHub. For example, see our modernized swarmprom here: https://github.com/neuroforgede/swarmsible/tree/master/envir...
SSH + “make deploy” is simple and it works. It doesn’t mean it’s a good idea or you’ll be able to hire for it in a year or two.
SSH + "make deploy" is a really bad comparison as you don't get overlay networking for free and also don't get any HA.
What we need:
1. HA for services 2. networking between nodes 3. ingress into the cluster 4. possibly volumes
All 4 are solved to our liking. Once we really need Kubernetes, we can do the switch.
Indeed, but this still doesn't mean it's a sound technical decision to build a bunch of custom tooling ontop of a dead and soon unsupported foundation that very few people use then realize too late that switching to a supported platform isn't as easy as you'd have hoped.
I'm not comparing Swarm to Kubernetes, that's been done to death, I'm merely pointing out it's odd that you're spending time and energy building commodity features that already exist in k8s and are not core to your product.
Good luck though!
But I get your point and believe it is in good faith, so thank you for your thoughts :).