News for hackers. Stuff that matters.
Re:Why is Kubernetes getting so popular? by nihil75 on Friday May 29, 2020 @05:52PM (#23355982)
IaaS is not "the cloud". it was in 2008 when all we had was EC2 and RDS.

Today Kubernetes is the antithesis of the cloud - Instead of consuming resources on demand you're launching VMs that need to run 24/7 and have specific roles and names like "master-1". Might as well rent bare-metal servers. It will cost you less.

Re:Why is Kubernetes getting so popular? by jjjensen90 on Friday May 29, 2020 @10:32PM (#23357951)
You are completely wrong. It is trivial to have your k8s control plane and your workload cluster in something like an ASG, and basically know nothing about the nodes in either group. I'm not even using GKS or EKS, just ASGs on AWS. My servers and applications are cattle, not pets.

I knew literally nothing about k8s in September and now I have multiple clusters humming along, treating the worker cluster nodes as a generic pool of compute, autoscaling the cluster as well as the pods inside it. Upgrading is a breeze, I have great observability, I can deploy experiments and new applications with a single CI step or click, in fact I have nodes that are killed and get replaced for cost savings by SpotInst in the middle of the business day and I don't even need to know about it. My load balancers and even DNS are all provisioned for me and I can use the same Helm charts to create an identical staging and production environment.

Kubernetes IS the spirit of the Cloud and 12 factor apps. It's not that scary, and with tools like Rancher and k3s you can make it even simpler.

Re:Why is Kubernetes getting so popular? by pnako on Friday May 29, 2020 @11:19PM (#23358184)
I don't have a horse in this nonsense but I find it hilarious that even users of Kubeanraenet have some trouble defining what it even is.
Re:Why is Kubernetes getting so popular? by jjjensen90 on Saturday May 30, 2020 @03:20AM (#23359192)
No trouble, it is a system that can do many things and has many optional pieces. It is fundamentally a cloud native orchestration system.
Re:Why is Kubernetes getting so popular? by jen20 on Friday May 29, 2020 @11:38PM (#23358276)
> Kubernetes IS the spirit of the Cloud and 12 factor apps.

I would argue that Kubernetes has _nothing whatsoever_ to do with the spirit of the Cloud, and that in fact "serverless" embodies the spirit of pay-as-you-use consumption models.

Re:Why is Kubernetes getting so popular? by deadmutex on Friday May 29, 2020 @06:01PM (#23356053)
Doesn't kubernetes also have autoscaling capabilities?

https://kubernetes.io/blog/2016/07/autoscaling-in-kubernetes...

Re:Why is Kubernetes getting so popular? by cortesoft on Friday May 29, 2020 @06:23PM (#23356253)
That is autoscaling within the cluster.... not the cluster itself.

Although, managed kubernetes clusters let you auto-scale the cluster itself, so i think the GP is wrong.

Re:Why is Kubernetes getting so popular? by frompdx on Friday May 29, 2020 @06:36PM (#23356393)
Check out Cluster AutoScaler: https://github.com/kubernetes/autoscaler/tree/master/cluster...

This tool allows you to autoscale the cluster itself with various cloud providers. There is a list of cloud providers it supports at the end of the readme.

Re:Why is Kubernetes getting so popular? by cortesoft on Friday May 29, 2020 @09:03PM (#23357475)
I misread the link... it is genuine cluster scaling
Re:Why is Kubernetes getting so popular? by frompdx on Friday May 29, 2020 @06:34PM (#23356376)
> Might as well rent bare-metal servers. It will cost you less.

Long term, but up front costs are what make cloud services appealing.

FWIW, it's possible to minimize your idle VM costs to an extent. For example, you could use one or more autoscale groups for your cluster and keep them scaled to one vm each. Then use tools like cluster auto scaler to resize on demand as your workload grows. You are correct that idle vm costs can't be completely avoided. At least not as far as I am aware.

Re:Why is Kubernetes getting so popular? by chx on Friday May 29, 2020 @08:30PM (#23357276)
> > Might as well rent bare-metal servers. It will cost you less.

> Long term, but up front costs are what make cloud services appealing.

There are no up front costs. GP said rent dedicated, not buy your own metal. If there's anything in cloud it's the many pre-written services (queue, database etc) but GP is right: if you go k8s you aren't going to use many/at all so why not just go and rent cheap servers that get deployed in two minutes instead of renting expesive virtual servers which get deployed in a few seconds?

Re:Why is Kubernetes getting so popular? by enos_feedler on Friday May 29, 2020 @06:07PM (#23356111)
Does cloud really mean "resources on demand"?
Re:Why is Kubernetes getting so popular? by ableal on Friday May 29, 2020 @06:18PM (#23356205)
Jonathan Schwartz, last CEO of Sun Microsystems, in March 2006:

"Frankly, it’s been tough to convince the largest enterprises that a public grid represents an attractive future. Just as I’m sure George Westinghouse was confounded by the Chief Electricity Officers of the time that resisted buying power from a grid, rather than building their own internal utilities."

https://jonathanischwartz.wordpress.com/2006/03/20/the-netwo...

Re:Why is Kubernetes getting so popular? by specialp on Friday May 29, 2020 @06:18PM (#23356208)
If that is your definition of "cloud" then most stuff running on AWS and other "cloud" providers isn't. I agree that Kubernetes and even containers aren't the end all. I think they are a stepping stone to true on demand where you have the abstraction of just sandboxed processes compiled to WASM or something run wherever.

But as of where we are now, it is a good abstraction to get there. It provides a lot of stuff like service discovery, auto-scaling and redundancy. Yes you do need to have instances to run K8s, but that is as of date the only abstraction that we have on all cloud providers, local virtualization, and bare metal. So yes it isn't true on demand "cloud" but in order to work like that you need to fit into your service provider's framework and accept limitations on container size, runtime, deal with warm up times occasionally.

Re:Why is Kubernetes getting so popular? by nihil75 on Friday May 29, 2020 @06:24PM (#23356273)
We had (have) discovery, auto-scaling and redundancy in PaaS. Most apps could run just fine in Cloud Foundry/App Engine/Beanstalk/Heroku. But the devs insist on MongoDB & Jenkins instead of using the cloud-provider solution and now you're back to defining VPCs, scaling policies, storage and whatnot.
Re:Why is Kubernetes getting so popular? by Aeolun on Friday May 29, 2020 @09:59PM (#23357803)
Cloud foundry has been my best experience with enterprise cloud so far.

The issue was mainly with the admins not provisioning enough capacity, but for us devs it was fucking magical.

Re:Why is Kubernetes getting so popular? by harpratap on Saturday May 30, 2020 @09:20AM (#23360967)
Knative does exactly that. You can use your buildpacks and everything in Tekton and configure your application via Knative Services. No need to bother about anything else.
Re:Why is Kubernetes getting so popular? by DenisM on Friday May 29, 2020 @06:07PM (#23356108)
> Might as well rent bare-metal servers

In light of this statement, what do you make of the fact that billions of dollars are spent on EC2? And of the people who spend that money?

Re:Why is Kubernetes getting so popular? by nihil75 on Friday May 29, 2020 @06:22PM (#23356237)
Outdated. We were further ahead in the abstraction ladder with PaaS, and honestly most apps could run perfectly fine in Beanstalk/App Engine/Cloud Foundry/Heroku. But then the devs demand Jenkins, Artifactory and MongoDB, and instead of using cloud-provider alternatives you're back to defining VPCs and autoscaling groups.
Re:Why is Kubernetes getting so popular? by shiftpgdn on Friday May 29, 2020 @07:01PM (#23356604)
Thats a whole lot of dangerous vendor lock in you've just listed there.
Re:Why is Kubernetes getting so popular? by Multicomp on Saturday May 30, 2020 @06:43AM (#23360151)
Exactly why we use ec2.

If AWS goes belly-up then we use terraform to make the equivalent on whatever new cloud provider pops up and keep going about our day.

No vendor lock-in