4 ms·
Just running docker-compose on load balanced machines is pretty close to having all k8s features (that would give you an endpoint, scaling, running pods[contain
by ransom1538 6y ago
Just running docker-compose on load balanced machines is pretty close to having all k8s features (that would give you an endpoint, scaling, running pods[containers],heartbeats and nodes[vms]). If you run Kubernetes on GCP you will see it's just a wrapper of GCP vms, load balancers, instance groups and disks. EG: GCP k8's autoscaling for the nodes isn't any better than just simple GCP load balancers and instance groups (it literally is the same thing). k8's best feature (only?): specify yaml files to declare the setup. That is great! But, you make edits to this 4 times a year - that is a ton of complexity for those 4 git commits.
- crymer11 6y agoOff the top of my head, deployments and sidecars are both missing, which are incredibly useful.
- deleted 6y ago[deleted]
- viraptor 6y agoChange docker-compose to load balanced dokku nodes. Gives you the deployments and sidecars.
- jedieaston 6y agoDokku is magical. It blows my gob whenever I use it. It’s the best parts of Docker and Heroku together, and I can actually control everything that goes with my app.
- Aeolun 6y agoI find that Dokku requires me to do too much on the machine itself, well as forcing me into a certain model. I currently use exoframe with docker-compose files, and it's fantastic.
- viraptor 6y agoHaven't seen this one - it looks really good, thanks. I also like they integrated traefik in the solution.
- falcolas 6y agoAdmiral gives you both with vanilla compose now. Yeah, another tool, I know.
- marktolson 6y agoWe edit yaml files everytime we update a service version, which happens multiple times per week? Is there a better way to deal with this?
- snuxoll 6y agoIntegrate it with your CI/CD pipeline. I have a Gitlab pipeline that runs kustomize and pipes the output to kubectl for every deploy to do things like setting secrets, image tags, creating ConfigMaps from config files in the repository, etc.
- marktolson 6y agoThat's essentially what we already do. My original point was based on the fact that the config changes all the time (as opposed to 4 times a year).
- snuxoll 6y agoWhat are you changing all the time in your config?
- 0xEFF 6y agoIt’s pretty close to get it up and running. It’s not close to operating. You have to roll your own load balancer, health checks, method of updating and managing the underlying nodes, you don’t have operators or guarantees about the control plane, etc... Spin up a K8S in any major cloud provider and you get all this with a consistent API, which is where the value lies.
- mrweasel 6y agoYou have to do all those things, minus the load balancer, with Kubernetes. It’s only if you don’t run on-premise Kubernetes that really start to se benefits. Honestly, as an ops guy, I would prefer to get up at 3AM do deal with a failed VM or load balancer, compared to dealing with any kind of failure in a Kubernetes cluster at 10AM. I can understand wanting to be able to deploy to Kubernetes, it’s extremely flexible and relatively easy. But managing and debugging Kubernetes is still a nightmare, even just monitoring it correctly isn’t exactly easy.
- ec109685 6y agoWith Kubernetes, you can run multiple apps in the same cluster and let Kubernetes manage the capacity on GCP for you. Nice this you have shared headroom for all your apps versus an app per VM in your setup (I think?). What is wrong with actually using Google’s hosted Kubernetes that would make you want to run compose yourself in their VMs and setup auto scaling, physical machine upgrades, etc.
- rfks 6y agoGKE uses other GCP products, but ”k8's autoscaling for the nodes isn't any better than just simple GCP load balancers and instance groups (it literally is the same thing)” isn't entirely accurate - GKE and K8S have logic that manages node pools that you won't be able to use with just instance groups.
- banifo 6y agoYou can replicate k8s featureset with plenty of other architectures. But thats not the point. k8s is the first infrastructure control plane in existence which is widley supported and standardized. Can you get a managed docker swarm on aws, gcp, azure, do etc.? no. How many kubernetes offerings do you know? I know at least 6. Revolution doesn't need to be flashy and noisy.