News for hackers. Stuff that matters.
Re:De-cloud and de-K8s – Bringing our apps back home by erulabs on Wednesday March 22, 2023 @06:03PM (#35267689)
Only one sentence about why they chose to abandon K8s:

> It all sounded like a win-win situation, but [on-prem kubernetes] turned out to be a very expensive and operationally complicated idea, so we had to get back to the drawing board pretty soon.

It was very expensive and operationally complicated to self-host k8s, so they decided to build their own orchestration tooling? Sort of undercuts their main argument that this bit isn't even remotely fleshed out.

Re:De-cloud and de-K8s – Bringing our apps back home by benatkin on Wednesday March 22, 2023 @06:29PM (#35267903)
Well to be fair Kubernetes doesn't always pluralize the names of collections, since you can run "kubectl get deployment/myapp". You don't want to do the equivalent of "select * from user" do you? That doesn't make any sense!!! And don't translate that to "get all the records from the user table"! That's "get all the records from the users table". (Rails defaults to plural, Django to singular for table names. Not sure about the equivalent for Kubernetes but in the CLI surprisingly you can use either)
Re:De-cloud and de-K8s – Bringing our apps back home by mike1o1 on Wednesday March 22, 2023 @06:45PM (#35268088)
To be fair, from the article it says that they built the bulk of the tool and did the first migration in a 6-week cycle. mrsk looks fairly straight forward, and feels like Capistrano but for containers. The first commit of mrsk is only on January 7th of this year.

In less than a six-week cycle, we built those operational foundations, shaped mrsk to its functional form and had Tadalist running in production on our own hardware.

Re:De-cloud and de-K8s – Bringing our apps back home by bastawhiz on Wednesday March 22, 2023 @06:59PM (#35268226)
They spent a month and a half building tooling _capable of handling their smallest application_, representing an extremely tiny fraction of their cloud usage.
Re:De-cloud and de-K8s – Bringing our apps back home by imiric on Wednesday March 22, 2023 @06:54PM (#35268187)
Sometimes there's value in building bespoke solutions. If you don't need many of the features of the off-the-shelf solution, and find the complexity overwhelming and the knowledge and operational costs too high, then building a purpose-built solution to fit your use case exactly can be very beneficial.

You do need lots of expertise and relatively simple applications to replace something like k8s, but 37signals seems up to the task, and judging by the article, they picked their least critical apps to start with. It sounds like a success story so far. Kudos to them for releasing MRSK, it definitely looks interesting.

As a side note, I've become disgruntled at k8s becoming the defacto standard for deploying services at scale. We need different approaches to container orchestration, that do things differently (perhaps even rethinking containers!), and focus on simplicity and usability instead of just hyper scalability, which many projects don't need.

I was a fan of Docker Swarm for a long time, and still use it at home, but I wouldn't dare recommend it professionally anymore. Especially with the current way Docker Inc. is managed.

Re:De-cloud and de-K8s – Bringing our apps back home by skor on Wednesday March 22, 2023 @07:17PM (#35268417)
> wouldn't dare recommend it professionally anymore

please provide more insight, thanks

Re:De-cloud and de-K8s – Bringing our apps back home by worldsayshi on Wednesday March 22, 2023 @07:53PM (#35268721)
It seems a bit confusing. Here's some context: https://github.com/docker/roadmap/issues/175
Re:De-cloud and de-K8s – Bringing our apps back home by jacooper on Wednesday March 22, 2023 @08:26PM (#35269001)
Doesn't seem to change anything though? Swarm is still alive and well?
Re:De-cloud and de-K8s – Bringing our apps back home by worldsayshi on Thursday March 23, 2023 @09:08AM (#35274147)
Yeah I'm a bit surprised to hear that. I had only heard a lot of teams giving up swarm when it was deprecated. Didn't know they just restructured the project.
Re:De-cloud and de-K8s – Bringing our apps back home by jacooper on Thursday March 23, 2023 @10:38AM (#35275520)
Yup its crappy communication from docker, the ticket is asking for clarity to put an end to the swarm is dead meme.

Even mirantis is back supporting swarmkit and adding new features.

Re:De-cloud and de-K8s – Bringing our apps back home by kobalsky on Wednesday March 22, 2023 @07:50PM (#35268694)
> and focus on simplicity and usability instead of just hyper scalability

I don't get why people in IT need a boogeyman. Looks like "k8s is hard" is the new "pointers are hard" we use to scare other people now.

Re:De-cloud and de-K8s – Bringing our apps back home by imiric on Wednesday March 22, 2023 @08:37PM (#35269078)
That's not a great comparison, but it works in a sense. Not all languages and applications benefit from pointers.

The issue is not about k8s being hard. Yes, it has a steep learning curve, but many technologies do. The issue is that learning all of its intricacies, and maintaining it and the services that run on top of it, requires valuable resources many companies don't have, especially early on. And the benefits it provides are, for the most part, not needed early on in a project's lifecycle, and often never. In financial terms, it's very high risk, with low ROI.

If there's a solution that lowers the investment and maintenance costs, while being valuable in the short and long term, then that's generally a more favorable solution for most projects that don't operate at Google's scale.

Re:De-cloud and de-K8s – Bringing our apps back home by IOT_Apprentice on Thursday March 23, 2023 @11:23AM (#35276259)
There is the learning curve, which can be challenging for organizations that aren’t experienced or exposed to scale and performance expectations. When a company moves away from being insular & proprietary to using open source there is a period of churn that ripples through the deployment, implementation and day to day operations aspect of products that live either on customer premises or a cloud platform new to everyone.

There, what YOU know from experience and have evolved and worked through is unknown—because it is all new. And “training” (such as it is) is left as an exercise for each individual.

I’d expect that is the norm for the traditional non startup firms, globally.

Re:De-cloud and de-K8s – Bringing our apps back home by chillfox on Wednesday March 22, 2023 @08:43PM (#35269120)
There is a very big difference from being a user of K8s and being someone maintaining a K8s cluster.

If you are a user of K8s, then yeah, deploying apps is pretty simple most of the time.

Maintaining a K8s cluster on the other hand becomes very complex and hard the moment you have use cases that are a few steps off the happy path. The K8s documentation is not sufficient for operating a K8s cluster on your own hardware, you end up having to go spelunking in the code to see how things work this is from experience).

Re:De-cloud and de-K8s – Bringing our apps back home by deely3 on Wednesday March 22, 2023 @08:44PM (#35269126)
Concept of pointers you can explain in one sentence. K8s introduction course takes 3 hours.

K8s is not hard, but complex.

Re:De-cloud and de-K8s – Bringing our apps back home by IOT_Apprentice on Thursday March 23, 2023 @11:28AM (#35276329)
Yet stackoverflow is full of questions on pointers.
Re:De-cloud and de-K8s – Bringing our apps back home by IOT_Apprentice on Thursday March 23, 2023 @11:12AM (#35276088)
Pointers are hard though, for the average programmer as is memory management.

When you transition an IT team or a customer facing product support team to DevOps, most everything appears complex if the implementation has been done by engineers new to DevOps and cloud itself. Engineers with zero background in scale out or performance for larger customers. It is a cultural/experience change that faces issues at actual deployment time.

I’m watching that play out at work now.

Re:De-cloud and de-K8s – Bringing our apps back home by mikepurvis on Wednesday March 22, 2023 @07:53PM (#35268719)
I'm happy with my usage of k8s, but I think it's unfortunate that current container abstractions are so oriented around imperative assembly in "layers". I want a way to run NixOS in a container and have it feel first class— existing approaches either require installing everything every time with no caching, or pre-building and manually lifecycling your container (streamLayeredImage), or knowing upfront what you're going to need (Nixery).
Re:De-cloud and de-K8s – Bringing our apps back home by xp84 on Wednesday March 22, 2023 @08:00PM (#35268783)
> simplicity and usability instead of just hyper scalability

This is such a key phrase here.

If I'm starting a small SaaS company tomorrow, my ideal for setting up infrastructure would be a stack which can for now look similar to what this article sets up (especially with the tremendously lower bills), but with an easy migration path to k8s, should I hit the jackpot and have that 'very good problem to have' of too many customer requests to handle.

My big issue with k8s, and honestly with other big fancy toolsets, is that getting started with it requires you to choose between:

- Hire several seasoned cloud orchestration experts, preferably with the platform you've chosen (AWS, GCP, Azure) who will know how to troubleshoot this beast when you have a mysterious issue, or: - YOLO it! Just follow the basic tutorials to set k8s up, and hope you don't end up sitting up all night with a site that's refusing connections while your customers flee.

The first one is the only responsible choice but it's going to add another half million to your cash burn, and that's on top of the high-margin "managed" service cloud bills like RDS.

So I can see why people are drawn to a system where instead of paying for k8s and "Postgres in a box" they can pay for a simple server and have simple tooling to deploy, back up, etc.

Re:De-cloud and de-K8s – Bringing our apps back home by wankle on Wednesday March 22, 2023 @08:09PM (#35268857)
> Especially with the current way Docker Inc. is managed.

I was reviewing GCP's Free Tier today, they have the same approach, if they need to change or drop services they agree to give 30 days notice, same as Docker did. It's probably common for other cloud companies offering free stuff as well. All the negative attention Docker received was fully and wholly undeserved.

Re:De-cloud and de-K8s – Bringing our apps back home by ericb on Wednesday March 22, 2023 @08:38PM (#35269081)
> I was reviewing GCP's Free Tier today, they have the same approach

Google is notoriously bad about this and gets negative attention from it, so the comparison isn't favorable, and the publicity is still wholly deserved.

Re:De-cloud and de-K8s – Bringing our apps back home by rschoultz on Thursday March 23, 2023 @11:16AM (#35276153)
>> I was reviewing GCP… > Google is notoriously bad at this…

Do you mean Google or GCP? We don’t see complaints about AWS because Amazon closes Dash buttons or Spark, and also Azure is not seen in any worse light due to Microsoft discontinues Skype and what not.

Can we name one remotely popular service of GCP that has been shut down at all?

Re:De-cloud and de-K8s – Bringing our apps back home by wankle on Thursday March 23, 2023 @02:27PM (#35279174)
I can't think of a single incident where GCP actually dropped a free tier; I actually see new free tier stuff added since the last time I looked. If you can provide some excellent links to reflect your view, that I've somehow missed along the lines; it would be interesting to compare.

Until then, I maintain the Docker publicity is undeserved and if I had to guess, was brought on by podman astroturfers who have been polluting the web the past 2 years claiming how great podman is.

Re:De-cloud and de-K8s – Bringing our apps back home by jameshart on Wednesday March 22, 2023 @09:44PM (#35269497)
I think people overindex on thinking that Kubernetes is about scalability.

Honestly, its inbuilt horizontal scaling systems are pretty lacking. Scaling is not actually K8s's strong suit - sure, you can make it scale, but that takes effort and customization.

But what K8s, at base, is actually useful for is availability.

You tell K8s how many instances of a thing to run; it runs them; if any of them stop running, it detects that and tries to fix it.

When you want to deploy a new version, it replaces the old instances with new ones, while ensuring traffic still gets served.

And it does all of this over a substrate of shared underlying server nodes, in such a way that if any of those servers goes down, it will redistribute workloads to compensate.

All of that is useful even if you don't care about scale.

Re:De-cloud and de-K8s – Bringing our apps back home by oxfordmale on Wednesday March 22, 2023 @07:38PM (#35268588)
It seems they are migrating for migration's sake.

AWS ECS -> Google GKE -> AWS EKS -> Self hosted Kubernetes -> bespoke solution.

They are pretty much changing their tech stack every few years, never maturing their knowledge of the current tech stack.

I am sure it makes sense to self host, but given their track record I am wondering if they wil be migrating to the cloud again in a few years.

Re:De-cloud and de-K8s – Bringing our apps back home by axlee on Wednesday March 22, 2023 @07:55PM (#35268732)
To be fair that served them well in the past: the reason why anyone knows about 37signals is because they reinvented the wheel back in 2004 with Rails, but what a great reinvention it was. Who knows what can come next.
Re:De-cloud and de-K8s – Bringing our apps back home by atonse on Wednesday March 22, 2023 @09:09PM (#35269316)
Which wheel did they reinvent? Rails literally set a bunch of standards used by just about every framework today… app generators, conventions over configuration, asset pipelines, you name it.
Re:De-cloud and de-K8s – Bringing our apps back home by pxc on Wednesday March 22, 2023 @09:59PM (#35269595)
I think what they wanted to convey was not the redundancy of 'reinventing the wheel', but the ambitious scope and from-scratch approach associated with the phrase.

Maybe 'rolled their own' or 'first invented the universe' would have been slightly better.

Re:De-cloud and de-K8s – Bringing our apps back home by dexterdog on Wednesday March 22, 2023 @11:49PM (#35270325)
But does doing something like that once 20 years ago mean they can do it again?
Re:De-cloud and de-K8s – Bringing our apps back home by pxc on Wednesday March 22, 2023 @11:57PM (#35270371)
I dunno. I was a kid when Rails took over the world, so I couldn't even begin to tell you why it succeeded in the way that it did.

But I do feel like they probably know what they're doing enough to have a more modest version of success with this other project, i.e., meeting their own needs well without burning up too much money or time. They're still a really small, focused company, and they have a lot of relevant experience.

Re:De-cloud and de-K8s – Bringing our apps back home by axlee on Thursday March 23, 2023 @07:03AM (#35272823)
Well, as with all homebrewn solutions, you don't know if you are reinventing the wheel until you're done. At first, it always starts with "the current solutions that are available do not fit me, but I still could use them to achieve what I want". There was nothing forcing 37signals back in 2004 to roll their own framework in order to support developing their apps, but they did anyway.

And for every Rails out there, there are thousands of internal frameworks with big ambitions that just turned out to be inferior to what's already available. You just can't know it when you start developing. It takes a bit of ego and ambition to go that path, but sometimes it pays off. And my guess is that if it paid off in the past, you're more likely to try it again.

Re:De-cloud and de-K8s – Bringing our apps back home by wankle on Wednesday March 22, 2023 @08:06PM (#35268836)
k3s is lightweight and even I have clusters running, I can sync them too if I wish, easily, I agree, it seems odd they didn't go with some kube design on prem.
Re:De-cloud and de-K8s – Bringing our apps back home by jameshart on Wednesday March 22, 2023 @08:10PM (#35268865)
We are talking about 37Signals here. This is the company that, when faced with the problem of making a shared to-do list application, created Ruby on Rails. And when they decided to write up their remote working policy, published a New York Times bestselling business book.

This is not a company that merely shaves its Yaks. It offers a full menu of Yak barber services, and then launches a line of successful Yak grooming products.

Re:De-cloud and de-K8s – Bringing our apps back home by benatkin on Wednesday March 22, 2023 @08:44PM (#35269127)
They seem to have lost their touch though. I think they peaked with Remote.

After typing that I found that they renamed from Basecamp Inc. back to 37signals and their website is trying to hearken to their past. https://en.wikipedia.org/wiki/37signals

Edit: lol https://37signals.com/22/

Re:De-cloud and de-K8s – Bringing our apps back home by tptacek on Wednesday March 22, 2023 @08:49PM (#35269165)
You could just look this up. They renamed to Basecamp because they decided to be a single-product company (at the same time, they divested Highrise and Campfire). Six years later, they launched HEY, their email product, so "Basecamp" stopped making sense as a name. They wrote a post about this last year.

later

I added "six years later", but I don't think it changes the meaning of what I wrote originally.

Re:De-cloud and de-K8s – Bringing our apps back home by benatkin on Wednesday March 22, 2023 @08:52PM (#35269200)
People were used to calling them 37signals, so even if that's the sole reason they renamed, it's more complex than that
Re:De-cloud and de-K8s – Bringing our apps back home by tptacek on Wednesday March 22, 2023 @08:54PM (#35269218)
Most HN people probably never stopped calling them 37signals, so this seems like an especially weird thing to get hung up on.
Re:De-cloud and de-K8s – Bringing our apps back home by datadeft on Thursday March 23, 2023 @07:25AM (#35273038)
Are they dead-naming a company? Isn't that illegal in California already?
Re:De-cloud and de-K8s – Bringing our apps back home by mattl on Thursday March 23, 2023 @03:58PM (#35280469)
I don’t think they were ever Basecamp Inc, I think they were always an LLC.
Re:De-cloud and de-K8s – Bringing our apps back home by ulope on Friday March 24, 2023 @09:35AM (#35288862)
That decision was always baffling to me. Basecamp is such a UX nightmare even Jira looks good next to it...
Re:De-cloud and de-K8s – Bringing our apps back home by Dalewyn on Wednesday March 22, 2023 @09:38PM (#35269476)
Wouldn't surprise me if they're doing all that with Yakety Sax[1] blaring in the background.

[1]: https://www.youtube.com/watch?v=ZnHmskwqCCQ

Re:De-cloud and de-K8s – Bringing our apps back home by madeofpalk on Thursday March 23, 2023 @06:19AM (#35272482)
...and don't forget the time where they wrote a blog post, kept posting through it, and a significant amount of the company quit.
Re:De-cloud and de-K8s – Bringing our apps back home by ubercore on Thursday March 23, 2023 @07:11AM (#35272908)
I do forget that time -- what's the context?
Re:De-cloud and de-K8s – Bringing our apps back home by madeofpalk on Thursday March 23, 2023 @07:16AM (#35272948)
Re:De-cloud and de-K8s – Bringing our apps back home by dangwhy on Thursday March 23, 2023 @09:12AM (#35274214)
> significant amount of the company quit.

no they didn't

Re:De-cloud and de-K8s – Bringing our apps back home by mr_ndrsn on Thursday March 23, 2023 @10:53AM (#35275739)
Yes, they did. This is not a debatable fact. IIRC, it was 30%+ of the company.
Re:De-cloud and de-K8s – Bringing our apps back home by dangwhy on Thursday March 23, 2023 @12:31PM (#35277291)
i am sure you will supply proof for your claims.
Re:De-cloud and de-K8s – Bringing our apps back home by jameshart on Thursday March 23, 2023 @12:37PM (#35277380)
Re:De-cloud and de-K8s – Bringing our apps back home by dangwhy on Thursday March 23, 2023 @01:02PM (#35277751)
> at least 20 people — more than one-third of Basecamp’s 57 employees — had announced their intention to accept buyouts from the company.

Thanks for subjecting me to this crap article ( Which i presume you didn't bother to read.).

Re:De-cloud and de-K8s – Bringing our apps back home by jameshart on Thursday March 23, 2023 @01:42PM (#35278467)
The article seems to provide evidence for the claim that a dispute within the company over the messaging from leadership led to 1/3 of the staff leaving. I provided it without comment.

Do you believe that a significant proportion of the staff did not quit? Do you have an alternative source that provides evidence for that version of events?

Re:De-cloud and de-K8s – Bringing our apps back home by dangwhy on Thursday March 23, 2023 @02:41PM (#35279392)
what a nonsensical argument. So you believe half of hollywood relocated to canada after trump got elected?

> Do you believe that a significant proportion of the staff did not quit?

Yeah i'll go around trying to prove the negative when i was not the one that claimed some BS as "fact" ( i know you are different from op).

Re:De-cloud and de-K8s – Bringing our apps back home by jameshart on Thursday March 23, 2023 @04:03PM (#35280520)
announced their intention to leave... to the company... in response to the company making an open offer to people of terms for them to leave.

That seems like a slightly different prior, in terms of our Bayesian assessment of the probability that those people remained employed at the company afterwards, than your hypothetical engagement to Ms Johannsen.

Re:De-cloud and de-K8s – Bringing our apps back home by dangwhy on Thursday March 23, 2023 @04:43PM (#35281000)
> to the company

Where did you get this though?

> had announced their intention to accept buyouts from the company.

Is it just people clicking 'yes' reaction to internal slack message ? This didn't sound like they were making any commitment ' to the company' .

Also do you have any comment about the title of the article that you linked. Does that seem honest to you?

Re:De-cloud and de-K8s – Bringing our apps back home by madeofpalk on Thursday March 23, 2023 @05:23PM (#35281485)
So strange to white-knight a company and attempt to deny something that happened pretty publicly...

> As a result of the recent changes at Basecamp, today is my last day at the company. I joined over 15 years ago as a junior programmer and I’ve been involved with nearly every product launch there since 2006.

https://web.archive.org/web/20210430155528/https://twitter.c...

https://web.archive.org/web/20210430140035/https://twitter.c...

https://twitter.com/zachwaugh/status/1388190748189802501

> I’m leaving my position at Basecamp, where I’ve worked for 4 years, due to the recent changes and new policies.

https://twitter.com/lexicola/status/1388189598367559688

https://twitter.com/dylanginsburg/status/1388199059983413257

https://twitter.com/jonasdowney/status/1388205182916440070

> Given the recent changes at Basecamp, I’ve decided to leave my job as Head of Design.

https://twitter.com/mackesque/status/1388206605506842627

https://twitter.com/kaspth/status/1380616358266871810

https://twitter.com/wcmoline/status/1388208323908968449

> I have left Basecamp due to the recent changes & policies.

https://twitter.com/conormuirhead/status/1388207801646780416

https://twitter.com/Rahsfan/status/1388209146487623681

https://twitter.com/AdamStddrd/status/1388223100823642112

Re:De-cloud and de-K8s – Bringing our apps back home by madeofpalk on Thursday March 23, 2023 @07:54PM (#35283200)
> Last week was terrible. We started with policy changes that felt simple, reasonable, and principled, and it blew things up internally in ways we never anticipated. David and I completely own the consequences, and we're sorry. We have a lot to learn and reflect on, and we will. The new policies stand, but we have some refining and clarifying to do.

https://world.hey.com/jason/an-update-303f2f99

Re:De-cloud and de-K8s – Bringing our apps back home by dangwhy on Friday March 24, 2023 @08:33AM (#35288178)
> So strange to white-knight a company and attempt to deny something that happened pretty publicly...

it was just skepticism from seeing these sorts of claims over the years. Half of hollywood would be in canada if people really followed up on those.

I guess quitting your job in the hottest tech market of all time is a little different than moving to a different country.

Re:De-cloud and de-K8s – Bringing our apps back home by mr_ndrsn on Thursday March 23, 2023 @01:58PM (#35278734)
I was at the company when it happened. I'm currently at the company. I'm in ops and work on all of the mrsk/de-clouding efforts.
Re:De-cloud and de-K8s – Bringing our apps back home by rednerrus on Thursday March 23, 2023 @05:26PM (#35281530)
Has the political change lead to a better or worse work environment?
Re:De-cloud and de-K8s – Bringing our apps back home by dangwhy on Friday March 24, 2023 @08:35AM (#35288192)
ha right on! Must've be real awkward for the people who didn't quit in hottest tech job market of all times :D
Re:De-cloud and de-K8s – Bringing our apps back home by crabbone on Wednesday March 22, 2023 @08:22PM (#35268968)
> It was very expensive and operationally complicated to self-host k8s, so they decided to build their own orchestration tooling?

You are deeply misunderstanding Kubernetes if you think it's some sort of a turnkey solution that solves all your infrastructure problems. Virtually everything of value in Kubernetes isn't Kubernetes -- you have to add it on later, and manage it yourself. Container runtime? -- that's not Kubernetes. Database to store deployment info? -- that's not Kubernetes. Network setup and management? -- that's not Kubernetes. Storage setup and management? -- still not Kubernetes.

When you start using Kubernetes for real, you will end up replacing almost every component it brings by default with something else. CoreDNS? -- sucks for big systems. Volumes? You aren't going to be using volumes from local filesystem... that's insane! You'll probably set up Ceph or something like that and add some operators to help you use it. Permission management? -- Well, you are out of luck in a major way here... you have, basically, Kyverno, but it really, really sucks (and it's still not Kubernetes!).

Real-life Kubernetes deployments end up being very poorly stitched together piles of different components. So much so that you start wishing you'd never touched that thing because a huge fraction of the stuff you now need to manage is integration with Kubernetes on top of the functionality provided by these components.

Re:De-cloud and de-K8s – Bringing our apps back home by benatkin on Wednesday March 22, 2023 @08:39PM (#35269095)
> You are deeply misunderstanding Kubernetes if you think it's some sort of a turnkey solution that solves all your infrastructure problems. Virtually everything of value in Kubernetes isn't Kubernetes -- you have to add it on later, and manage it yourself. Container runtime? -- that's not Kubernetes. Database to store deployment info? -- that's not Kubernetes. Network setup and management? -- that's not Kubernetes. Storage setup and management? -- still not Kubernetes.

When you install Kubernetes, you get a container runtime. That's a distribution I guess. Part of this seems like GNU/Linux.

The other stuff you're listing isn't solved by MRSK either...

Re:De-cloud and de-K8s – Bringing our apps back home by Jnr on Thursday March 23, 2023 @06:00AM (#35272343)
But seems like with mrsk you do not need that other stuff. With Kubernetes you highly likely have to deal with most of that stuff.
Re:De-cloud and de-K8s – Bringing our apps back home by benatkin on Thursday March 23, 2023 @10:42AM (#35275582)
You can fairly easily set up a not-very-distributed Kubernetes cluster and you won't need as much stuff.
Re:De-cloud and de-K8s – Bringing our apps back home by dikei on Thursday March 23, 2023 @03:32AM (#35271522)
I don't know, for small scale, K8S rocks: I just fired up Kubespray and have a 20-node cluster up and running in maybe an hour, CoreDNS haven't gave me any problem so far.

Using local volumes is actually not an insane idea if your stateful service can handle data replication themselves: many modern databases can.

Re:De-cloud and de-K8s – Bringing our apps back home by crabbone on Thursday March 23, 2023 @11:50AM (#35276645)
Local volumes don't have a concept of quota. You cannot limit them to X bytes. So, if you give a single service a volume, it might just take the whole disk. Well, technically, it might just take the whole filesystem, which, if you have multiple disks used by a single filesytem, will mean it'll take all of them.

Obviously, you cannot move local volumes around.

And if you are setting up a database in Kubernetes... oh, you are in such a pit of troubles, that dealing with local volumes isn't really even worth mentioning. Surprisingly, your problems don't even start with storage, they start with memory. Databases really like memory, but use it very opportunistically, and scale well with load. So, when you configure your database, you tend to give them all the memory you have, but when they use it, it will really depend on the load and the kind of queries, how well they optimize it. Since Kubernetes scheduler doesn't really do well with reservations, you may run into situations where your database OOMs or just slows everything down, or doesn't perform well at all...

Next comes fsync. Unlike many unsophisticated applications, databases don't like losing data. That's why they want to use fsync in some capacity. But this creates problems sharing resources, again, well beyond anything Kubernetes can help with.

Next comes provisioning of high-quality storage for databases... and storage likes to come in the form of a device, not filesystem, but Kubernetes doesn't know how to deal with devices, so, it needs a help from CSIs of all sorts to do that, and depending on technology you choose, you'll have a very immersive journey into the world of hacks and muti-thousand page protocol descriptions telling you how to connect your storage and Kubernetes.

It might appear though, at the first glance, that things work well w/o much intervention, and there's a Helm chart for this or the other provider, and it's all at the tips of your fingers... but, as it often is in the world of storage, things get extremely complicated extremely quickly in case of errors. In such situations, Kubernetes will only obscure the problem. Oh, and errors in storage don't usually happen in the next hour or day or even year after you've set it up. It hits you few years later, once you've accumulated a ton of useful data and you've entirely forgotten how things have been set up, and folks in Kubernetes had moved on and broke stuff.

---

So, not only do you need small scale, you also need a very short temporal scale: don't expect your Kubernetes cluster to work well after about a year of being deployed. Probably not at all after five years.

But then... if it only works at small scale and for short time? -- is it really worth the trouble? I mean, Kubernetes isn't a small thing, it takes away a big constant share of your resources, which it promises to amortize with scale. You are essentially preaching the same idea as Electron-based desktop applications or Docker containers that create a lot of duplication of entire Linux user-space + a bunch of common libraries if you aren't extremely careful with that. Doesn't it become an argument for producing hot garbage as fast as possible so that someone else who can do a better job won't get a chance of selling their goods because they didn't have time to deliver?

Re:De-cloud and de-K8s – Bringing our apps back home by dikei on Friday March 24, 2023 @02:27AM (#35285693)
Man, you really like to complicate stuffs just to take a dig at K8S.

>> Local volumes don't have a concept of quota. You cannot limit them to X bytes. So, if you give a single service a volume, it might just take the whole disk.

That's why we monitor our server disk for usage.

>> Obviously, you cannot move local volumes around.

Most of the time, this is not a requirements for database.

>> Since Kubernetes scheduler doesn't really do well with reservations, you may run into situations where your database OOMs or just slows everything down, or doesn't perform well at all

Unless it's test cluster with constraint resources, no other services will run on database nodes, through the use of taint and toleration. We can let the database use all the CPU and memory it wants

>> fsync Doesn't matter with local volume, since it's just a directory on the host system.

>> Next comes provisioning of high-quality storage for databases... and storage likes to come in the form of a device, not filesystem We didn't deploy our databases with raw block devices, even before K8S. Using regular filesystems make everything much simpler and we did not see any performance difference.

>> You are essentially preaching the same idea as Electron-based desktop applications or Docker containers that create a lot of duplication of entire Linux user-space + a bunch of common libraries

Yeah, no. If that's how you read it, be my guest, but don't put words into my mouth.

Re:De-cloud and de-K8s – Bringing our apps back home by tptacek on Wednesday March 22, 2023 @08:50PM (#35269170)
The whole second half of the article is about why they decided to stop using K8s.
Re:De-cloud and de-K8s – Bringing our apps back home by danmaz74 on Thursday March 23, 2023 @02:52AM (#35271273)
Whatever their reasons, I'm very happy to be able to use a much simpler alternative to K8s to orchestrate my apps on bare metal servers.
Re:De-cloud and de-K8s – Bringing our apps back home by Jnr on Thursday March 23, 2023 @05:52AM (#35272296)
k8s is an industry standard currently, but it is not great. The lack of available free/open tooling to set up and manage them (the cluster) properly seems to indicate that it is also a way of selling it (cloud). Meaning that if you want to use k8s you have to go with the large cloud providers, otherwise your life will be painful.

I for one am patiently waiting for more innovation in this area and seeing that there are companies that try to disrupt/improve it makes me hopeful and I appreciate it.