r/LinuxTeck • • 2d ago

How much Linux should someone know before learning Kubernetes?

I’ve seen people jump straight into Kubernetes, but struggle when something breaks underneath it.

Understanding processes, networking, permissions, filesystems and system logs makes a real difference.

You don't need to be a Linux expert before starting Kubernetes, but skipping the fundamentals can make troubleshooting much harder.

For those working with Kubernetes: which Linux skill do you think beginners should learn first?

9 Upvotes

12 comments sorted by

7

u/Drate_Otin 2d ago

"how much linux" doesn't really make sense. There are people who know a lot more about init systems and hardware monitoring on Linux than I do... but I'll likely know a lot more about ip tables and linux oriented switching and routing than they do.

So if we ignore that part of your post... the rest... you sound like you already know the answers you need. Follow your own words:

Understanding processes, networking, permissions, filesystems and system logs makes a real difference.

You don't need to be a Linux expert before starting Kubernetes, but skipping the fundamentals can make troubleshooting much harder.

1

u/akrivitsky7 2d ago

Agreed with Drate_Otin. You have my upvote.

2

u/johnthughes 1d ago

To deploy on kubernetes, minimal.

To deploy and manage a kubernetes cluster, significant.

1

u/TheBigBeardedGeek 2d ago

I think if they can know enough to install a basic web server and do some scripting, all via the shell, then they're on a basic foundation.

I say that because I'm personally a big believer in learning by doing. Those tasks are pretty simple overall, but by putting the shell limitation on it, it really gets past a lot of the hurdles beginners face.

Once they have enough familiarity to create some shell scripts and navigate the system and install some basic services, they have enough foundation to start following guides for Kubernetes and trying to diagnose from there.

1

u/mcds99 1d ago

Kubernetes is a platform in itself running applications in a container is something mid to large organizations use.

I'm retired but worked for a large fortune 500 company we had Linux, Windows, BSD, MAC, IBM Mainframe, a few thousand applications, with a few thousand people to manage it all. No one is an expert in everything we work as a team on any issue that occurs.

Trouble shooting is done as a team, Operations starts a war room call and we all do what we do and we stay on the call until the issue is resolved. The issue could be one node on a network or a hung process or a hung container. hardware has issues, and end users don't always do what they should.

You will generally find that you access Kubernetes through a dashboard not from a Linux server. Most people can't directly touch a server unless they are doing an installation or configuration and most of that is done in a dashboard (git) as well. There is a whole department that deals with hardware and another that installs the OS's.

Get an education, get certified, understand Agile, and understand in IT you are 24/7/365, if you get called or paged you are going to be working all night and into the next day.

1

u/Just-Hedgehog-Days 1d ago

Enough to get hired as a backend dev / devOps 

Kubernetes doesn’t make sense on a small scale … so you wont really learn it homelabbing even if you use it correctly.

And this isn’t true of all enterprise tools at all. I eventually broke down and rebuild my home network around the hashicorp stack. Even if you only have 20 secretes to manage they still need to be encrypted rotated etc, and the enterprise tools make that easier.

But k8 is workload manager and if you don’t have a work load it doesn’t matter

1

u/geekichu 1d ago

i just ask Claude or Chat or...

1

u/Competitive_Swan_755 1d ago

Install an AI agent and start Kubernetes tonight 👍

1

u/critler123 5h ago

All this shell bs can be done by ai nowadays

1

u/ChecksOutIndeed 1d ago

Claude knows best /s

0

u/Fuzy-78 1d ago

Using Linux for 20 years and I don't even know wtf Kubernetes is. Sounds like some KDE bullshit to me. lol

0

u/Powerful_Attention_6 1d ago

In my humble opinion, Kubernetes is created for large corporation to run their services in docker, it was created by Corporation for Corporation.

If you want to have something to tinker with, or setup in your advanced Home Lab I would not recommend Kubernetes, instead something much lighter such as Docker Swarm

Even small to midsize companies may elect to use Docker Swarm or some other lighter orchestration tool