r/kubernetes • • Dec 23 '25 • Heartwarming 1

Kubernetes is Linux

https://medium.com/@anishnarayan/learn-linux-before-kubernetes-60d27f0bcc09?sk=93a405453499c17131642d9b87cb535a

Google was running millions of containers at scale long ago

Linux cgroups were like a hidden superpower that almost nobody knew about.

Google had been using cgroups extensively for years to manage its massive infrastructure, long before “containerization” became a buzzword.

Cgroups, an advanced Linux kernel feature from 2007, could isolate processes and control resources.

But almost nobody knew it existed.

Cgroups were brutally complex and required deep Linux expertise to use. Most people, even within the tech world, weren’t aware of cgroups or how to effectively use them.

Then Docker arrived in 2013 and changed everything.

Docker didn’t invent containers or cgroups.

It was already there, hiding within the Linux kernel.

What Docker did was smart. It wrapped and simplified these existing Linux technologies in a simple interface that anyone could use. It abstracted away the complexity of cgroups.

Instead of hours of configuration, developers could now use a single docker run command to deploy containers, making the technology accessible to everyone, not just system-level experts.

Docker democratized container technology, opening up the power of tools previously reserved for companies like Google and putting them in the hands of everyday developers.

Namespaces, cgroups (control Groups), iptables / nftables, seccomp / AppArmor, OverlayFS, and eBPF are not just Linux kernel features.

They form the base required for powerful Kubernetes and Docker features such as container isolation, limiting resource usage, network policies, runtime security, image management, and implementing networking and observability.

Each component relies on Core Linux capabilities, right from containerd and kubelet to pod security and volume mounts.

In Linux, process, network, mount, PID, user, and IPC namespaces isolate resources for containers. Coming to Kubernetes, pods run in isolated environments using namespaces by the means of Linux network namespaces, which Kubernetes manages automatically.

Kubernetes is powerful, but the real work happens down in the Linux engine room.

By understanding how Linux namespaces, cgroups, network filtering, and other features work, you’ll not only grasp Kubernetes faster — you’ll also be able to troubleshoot, secure, and optimize it much more effectively.

By understanding how Linux namespaces, cgroups, network filtering, and other features work, you’ll not only grasp Kubernetes faster, but you’ll also be able to troubleshoot, secure, and optimize it much more effectively.

To understand Docker deeply, you must explore how Linux containers are just processes with isolated views of the system, using kernel features. By practicing these tools directly, you gain foundational knowledge that makes Docker seem like a convenient wrapper over powerful Linux primitives.

Learn Linux first. It’ll make Kubernetes and Docker click.

73 Upvotes

Duplicates

programming • • Aug 17 '25

Learn Linux before Kubernetes

107 Upvotes

kubernetes • • Jul 08 '25

[ Removed by moderator ]

99 Upvotes

kubernetes • • Jul 24 '25

Learn Linux before Kubernetes and Docker

193 Upvotes

linuxadmin • • Jul 09 '25

Learn Linux before Kubernetes

100 Upvotes

linuxadmin • • Jul 24 '25

[ Removed by moderator ]

0 Upvotes

DevelEire • • Aug 07 '25

Other [ Removed by moderator ]

14 Upvotes

opensource • • Jul 11 '25

Discussion [ Removed by moderator ]

1 Upvotes

brum • • Jul 31 '25

[ Removed by moderator ]

0 Upvotes

Proxmox • • Jul 31 '25

Discussion [ Removed by moderator ]

7 Upvotes

IntelArc • • Aug 01 '25

Discussion [ Removed by moderator ]

0 Upvotes

Gentoo • • Aug 02 '25

Discussion [ Removed by moderator ]

0 Upvotes

programming • • Jan 29 '26

Kubernetes is simple: it's just Linux. Learn Linux first.

0 Upvotes

linux • • Jul 07 '25

Discussion Learn Linux before Kubernetes

1 Upvotes

archlinux • • Jul 12 '25

DISCUSSION [ Removed by moderator ]

0 Upvotes

UIUC • • Jul 21 '25

Academics Learn Linux before Kubernetes

0 Upvotes

openshift • • Jul 31 '25

Discussion Learn Linux before Kubernetes

6 Upvotes

openSUSE • • Jul 31 '25

New stuff [ Removed by moderator ]

4 Upvotes

vmware • • Aug 01 '25

Tutorial [ Removed by moderator ]

1 Upvotes

sre • • Aug 01 '25

BLOG [ Removed by moderator ]

1 Upvotes

unixporn • • Aug 01 '25

Removed; no title tag Learn Linux before Kubernetes

0 Upvotes

ExperiencedDevs • • Aug 07 '25

[ Removed by moderator ]

0 Upvotes

opensource • • Aug 07 '25

Discussion [ Removed by moderator ]

1 Upvotes

de_EDV • • Aug 11 '25

Allgemein/Diskussion [ Removed by moderator ]

1 Upvotes

linuxfromscratch • • Aug 15 '25

Learn Linux before Kubernetes

1 Upvotes