News for hackers. Stuff that matters.
Re:Debugging Network Stalls on Kubernetes by sytelus on Saturday November 23, 2019 @03:09AM (#21613029)
Kubernetes is CORBA of this generation. It will float around because of few heavyweights preaching it and suckers falling for it. Eventually it will die like all overly-complex, hideously-designed and poorly-implemented things do. You can save your time by just ignoring this nonsense.
Re:Debugging Network Stalls on Kubernetes by rumanator on Saturday November 23, 2019 @09:51AM (#21614373)
> Kubernetes is CORBA of this generation. It will float around because of few heavyweights preaching it and suckers falling for it.

This sort of assertion is oblivious to the fact that Kubernetes does solve a few basic problems that no other orchestration service solves, at least as easily.

I'm referring to problems like cluster autoscaling.

Until there's any alternative to Kubernetes that not only offers these features but it is also supported by service providers like AWS or Azure or GCP then Kubernetes is not a fad but the default tool of the trade.

Re:Debugging Network Stalls on Kubernetes by pojzon on Saturday November 23, 2019 @11:47AM (#21614976)
> I'm referring to problems like cluster autoscaling.

When it comes to autoscaling, kubernetes has two levels of scaling - pods and nodes. This introduces pros and cons in itself.

Either your resources are under-utilized and you waste money or you scale as fast as regular scaling of your cloud provider.

I'll just point out that for example AWS ASG TargetTracking scaling policy blasts default Kubernetes HPA/CA scaling out of the water. It's more conservative while HPA is highly susceptible to pod thrashing.

Two-level based scaling introduces a lot of complexity, it gives more flexibility/power to the user, but only if that user has enough experience to not fall into multiple pitfalls it also creates(scaling).

I'm confident enough to say that ANY corporation that is not familiar with Kubernetes - decides to introduce it to it's technology stack will most likely shoot itself in the foot - also increasing the cost of infrastructure for their platform.

I've seen it too many times. Which then results in this corpo to hire some consultant that looks at what abomination their devops created to shake head and spend few months fixing their incompetence.

Doing Kubernetes the right way is hard.

Re:Debugging Network Stalls on Kubernetes by rumanator on Saturday November 23, 2019 @02:34PM (#21615984)
> I'll just point out that for example AWS ASG TargetTracking scaling policy blasts default Kubernetes HPA/CA scaling out of the water.

That doesn't really count as it's a proprietary service controlled by a single service provider.

> I'm confident enough to say that ANY corporation that is not familiar with Kubernetes (...) also increasing the cost of infrastructure for their platform.

That assertion doesn't pass muster because a) you're assuming generalized and widespread inexperience and/or incompetence and b) you're assuming that not being able to learn how to use a service is a permanent state of affairs.

Meanwhile, back in the real world cluster autoscaling works well and does in fact let users shut down nodes they are not using which otherwise would have to be up and cost real money. Kubernetes is the reason why this feature is available to the general public. Until a better alternative appears, Kubernetes is by far the best and only option available to the whole industry.

Re:Debugging Network Stalls on Kubernetes by pojzon on Sunday November 24, 2019 @05:30AM (#21619524)
> That assertion doesn't pass muster because (..)

It does, because in the same time the corporation could have used the tech stack they are familiar with, focusing on the product, which would directly improve their revenue. In most cases I've been consulting, the move to Kubernetes was strictly pushed by people who did not understand that for their use case it made absolutely no difference and only brought a lot of complexity to their table, which then turned into a year of two of consulting costs and even more operational work they previously had to maintain the new tech stack.

Lose-Lose situation.

> Kubernetes is by far the best and only option available to the whole industry.

No it isin't. And the sooner people understand that the better.

Re:Debugging Network Stalls on Kubernetes by tra3 on Saturday November 23, 2019 @02:14PM (#21615868)
Can you recommend some alternatives to k8s that are cloud provider agnostic?

I have 3 docker compose nodes that I manage manually. I will shortly need another one.

Seems like time for an orchestrator. If I squint swarm is a reasonable solution but k8s hysteria is sweeping me along..

Re:Debugging Network Stalls on Kubernetes by pojzon on Sunday November 24, 2019 @05:20AM (#21619489)
There is no such a thing as "Cloud Agnostic". Be it K8S on AWS or Azure or GCP, each one has its own quirks that will make K8S run better or worse or even terrible.

Abstraction of some things on orchestration level does not mean there is no and will be no cloud specific code injected there. Actually there is a ton of this cloud specific code in there and when something stops working the way you want it to -> the solution often times is to write even more vendor locking code.

Instead of looking for "Cloud Agnostic" solution, find a solution that fits your use case the best. Using managed services if researched correctly can give many adventages. But like with everything that requires A LOT of knowledge about them and your domain.

Re:Debugging Network Stalls on Kubernetes by tra3 on Monday November 25, 2019 @01:29PM (#21631179)
It's interesting that you say that. Are you talkign about the hosted offerings then? If I spin up my own k8s "on metal" in GCP, would there still be something GCP specific to it?..
Re:Debugging Network Stalls on Kubernetes by loopz on Saturday November 23, 2019 @07:21AM (#21613764)
Remembering CORBA and glad it never took off: What if Kubernetes is the java of this generation? Java is not yet dying, and for better or worse, do solve organizational problems around code. Kubernetes is likewise becoming a business standard. Look into VMWare, IBM/RedHat and remote service providers offering it as standard.

One can write huge books on java, both on the strengths and solutions, but also the weaknesses. For smaller companies and projects, it would probably be overkill to start with the java/JVM monolith, even today. Though java is the reason I jumped off the dev bandwagon, I can defend the language in hindsight, because it do solve several huge "unnecessary" problems other languages/runtimes simply don't address. The operational costs having been hidden away with expensive hardware upgrades.

In hindsight, I don't see huge obstacles that the same may be said about Kubernetes in the future. These low-level kinks will be worked out, and provide for the masses what they can't or won't achieve alone. The masses don't need Google-scale, but if they can get the 15-year old mature distributed systems tech almost for free, there are several reasons to standardize.

Re:Debugging Network Stalls on Kubernetes by vandal_at_your on Saturday November 23, 2019 @12:47PM (#21615347)
I'm torn on this opinion. From 20 years of experience I can see where kubernetes fails and seems absurd (internally routed and natted networks with terrifying complexity and design, obtuse declarations in yml/json that hide more ugly complexity). Kubernetes tries to do too much for too many. OTOH, there are some really nice infrastructure simplifications which can be achieved using k8s that didn't exist previously. Like any tool it can be used in a sane way or made into monstrosity.
Re:Debugging Network Stalls on Kubernetes by gerbilly on Saturday November 23, 2019 @04:36PM (#21616739)
> Kubernetes is CORBA of this generation.

I like to compare Kubernetes to websphere.

Re:Debugging Network Stalls on Kubernetes by nickthemagicman on Saturday November 23, 2019 @08:40AM (#21614043)
I think React.js is the CORBA of this generation.

k8's might be too but I think the fact that containers are so portable it will be easy to migrate your application away from k8s if you want and to a new infrastructure. That's kind of the beauty of it.