Live data from Hacker News

Ask HN: Is it still worth learning Kubernetes in 2022?

news.ycombinator.com

41–50 of 57 posts

Re: Ask HN: Is it still worth learning Kubernetes in 2022?

#41
I don’t think it is “going away“ in a general sense anytime soon. The main counter argument is that it is more complex than you need, but of course this depends on your (more likely “your organizations“) needs. That can be hard to forecast on a 10 year timeframe, but I personally got dragged kicking in screaming into it last year and I can’t imagine I would’ve avoided it for much longer anyway.

So learn from my mistake and spend some time getting the basics before it’s added as a last minute requirement of your project! The bright side is that I, and probably you, don’t have to be the companywide expert at it, just know enough vocabulary and concepts to ask smart questions as you fit an existing install to your needs

Re: Ask HN: Is it still worth learning Kubernetes in 2022?

#42
post #17

No, if you are ok with Java you can use the classloader instead, I have been using hot-deploy on all my live projects for a decade now: http://host.rupy.se I can even release a new version of my sites without the online users noticing!

I do wonder sometimes if (you're willing to stick to Java then) you could use OSGI and get a lot of the same benefits. But I never went that far into OSGI to really know, and I like SQLAlchemy too much these days!

Re: Ask HN: Is it still worth learning Kubernetes in 2022?

#43
No. It adds nothing but unneeded complexity to the stack. Learn how to package your software and use the package manager. You can combine that, if you must, with any kind of config manager like Ansible or something else.

So many companies are doing what's "trendy and shiny", and it can almost look like it is becoming a de-facto standard, but they will eventually realize the mistake.

Re: Ask HN: Is it still worth learning Kubernetes in 2022?

#44
post #6

Earlier quoted context omitted.

On the contrary, as companies rely more and more on the cloud, they chase the mirage of avoiding lock-in even more and k8s plays a big role in this

Seems very much in line with the solutions we see from customers. I still think there a big savings in embracing the managed cloud service of the individual providers, but customers see it as a risk.

I don’t know if managed clusters is actually a savings unless you really need the elasticity. Usually managed solutions are 2 or 10x the cost of dedicated servers or on prem, respectively.

Re: Ask HN: Is it still worth learning Kubernetes in 2022?

#45

My bet is that K8s will not only be worth learning in 2022, but also easily beyond. It is now a common infrastructure component of projects I participated in (some always used it, some are starting to). IMHO Kubernetes is quickly becoming the standard infrastructure API. Even if you don’t use all features, it’s just simpler to deploy a cluster and have everyone work on the same subset of abstractions. I am not sure i…

Even if one is deploying lecacy application, as long as you can pack it into an image, kubernetes removes a truckload of busywork around maintaining the nodes os, managing high availability failovers, error recovery in general etc. That's a lot of maintenance code one doesn't have to write and instances one doesn't have to manage. The only thing I miss is a way to have a live debugging environment for developer or on…

Have you tried using something like telepresence (https://www.telepresence.io/) to get a better debugging story? It's not perfect but I've used it to good effect in the past to help with some aspects of the local development story, and they've made some pretty significant improvements in telepresence 2. Not affiliated in any way, just someone who's found it a very useful tool when working with kubernetes.

Re: Ask HN: Is it still worth learning Kubernetes in 2022?

#46
post #36

Yes! If you're into ML, I recommend checking out https://www.kubeflow.org/ as a way of learning Kube (after you grok the basics). You can do some really neat things with a cloud-like API, especially if you can slap it onto a couple physical rigs with big GPUs - it really starts to standardize ML tasks quite nicely. I'm biased I suppose - I run a self-hosting / home-hosting startup and we ship k8s on Raspberry Pis int…

Ha! Hadn't heard of this. Very cool startup idea, good luck!

Re: Ask HN: Is it still worth learning Kubernetes in 2022?

#47

Earlier quoted context omitted.

Seems very much in line with the solutions we see from customers. I still think there a big savings in embracing the managed cloud service of the individual providers, but customers see it as a risk.

I don’t know if managed clusters is actually a savings unless you really need the elasticity. Usually managed solutions are 2 or 10x the cost of dedicated servers or on prem, respectively.

Sorry, I was talking about managed database, lambda, S3. I agree that managed Kubernetes is to expensive. Unless you have a very specific workload, it honestly doesn’t make sense. Depending on your usecase building on cloud service and auto-scaling VMs is going to be much cheaper.

Re: Ask HN: Is it still worth learning Kubernetes in 2022?

#48

No. It adds nothing but unneeded complexity to the stack. Learn how to package your software and use the package manager. You can combine that, if you must, with any kind of config manager like Ansible or something else. So many companies are doing what's "trendy and shiny", and it can almost look like it is becoming a de-facto standard, but they will eventually realize the mistake.

Learning ansible in 2022 would be what's a waste of effort as every company that I know is phasing it out in favour of immutable infrastructure via OCI images.

It's been 7 years. Kubernetes isn't trendy or shiny. The teams using it use it because of legitimate reasons.

Re: Ask HN: Is it still worth learning Kubernetes in 2022?

#49
post #19

Earlier quoted context omitted.

What's the alternative?

Probably a managed serverless offering. Not sure that sounds right for what the OP was suggesting though but in fairness I know almost zero about ML/AÍ kind of workloads.

Why would someone choose a managed severless offering, the interface for which changes from provider to provider, over _managed_ Kubernetes which comes with transferability of skills should your org decide they also need to run on another cloud provider.

Re: Ask HN: Is it still worth learning Kubernetes in 2022?

#50
post #17

No, if you are ok with Java you can use the classloader instead, I have been using hot-deploy on all my live projects for a decade now: http://host.rupy.se I can even release a new version of my sites without the online users noticing!

I do wonder sometimes if (you're willing to stick to Java then) you could use OSGI and get a lot of the same benefits. But I never went that far into OSGI to really know, and I like SQLAlchemy too much these days!

OSGI is bloated and pretentious, just use the classloader, it takes 300 lines of code and you have the best container in the world, see my Archive class:

https://github.com/tinspin/rupy/blob/master/src/se/rupy/http...

What does SQLAlchemy have to do with containers?

Post reply on HN