News for hackers. Stuff that matters.
Re:Why is Kubernetes getting so popular? by ransom1538 on Friday May 29, 2020 @08:43PM (#23357371)
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.
Re:Why is Kubernetes getting so popular? by 0xEFF on Saturday May 30, 2020 @12:20AM (#23358442)
It’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.

Re:Why is Kubernetes getting so popular? by mrweasel on Saturday May 30, 2020 @03:14AM (#23359175)
You 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.

Re:Why is Kubernetes getting so popular? by ec109685 on Saturday May 30, 2020 @12:53AM (#23358580)
With 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.

Re:Why is Kubernetes getting so popular? by banifo on Saturday May 30, 2020 @08:20AM (#23360643)
You 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.

Re:Why is Kubernetes getting so popular? by crymer11 on Friday May 29, 2020 @09:00PM (#23357453)
Off the top of my head, deployments and sidecars are both missing, which are incredibly useful.
Re:Why is Kubernetes getting so popular? by viraptor on Friday May 29, 2020 @09:21PM (#23357577)
Change docker-compose to load balanced dokku nodes. Gives you the deployments and sidecars.
Re:Why is Kubernetes getting so popular? by jedieaston on Friday May 29, 2020 @10:03PM (#23357818)
Dokku 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.
Re:Why is Kubernetes getting so popular? by Aeolun on Saturday May 30, 2020 @12:32AM (#23358493)
I 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.

Re:Why is Kubernetes getting so popular? by viraptor on Saturday May 30, 2020 @01:32AM (#23358747)
Haven't seen this one - it looks really good, thanks. I also like they integrated traefik in the solution.
Re:Why is Kubernetes getting so popular? by falcolas on Friday May 29, 2020 @09:45PM (#23357726)
Admiral gives you both with vanilla compose now.

Yeah, another tool, I know.

Re:Why is Kubernetes getting so popular? by marktolson on Friday May 29, 2020 @10:32PM (#23357950)
We edit yaml files everytime we update a service version, which happens multiple times per week? Is there a better way to deal with this?
Re:Why is Kubernetes getting so popular? by snuxoll on Friday May 29, 2020 @11:24PM (#23358210)
Integrate 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.
Re:Why is Kubernetes getting so popular? by marktolson on Friday May 29, 2020 @11:35PM (#23358261)
That'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).
Re:Why is Kubernetes getting so popular? by snuxoll on Saturday May 30, 2020 @12:24AM (#23358458)
What are you changing all the time in your config?
Re:Why is Kubernetes getting so popular? by rfks on Saturday May 30, 2020 @01:43AM (#23358792)
GKE 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.