<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>K8s on mahroot's blog</title><link>https://mahroot.dev/tags/k8s/</link><description>Recent content in K8s on mahroot's blog</description><generator>Hugo</generator><language>en-us</language><copyright>&lt;a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener"&gt;CC BY-NC 4.0&lt;/a&gt;</copyright><lastBuildDate>Thu, 19 Mar 2026 23:33:57 +0100</lastBuildDate><atom:link href="https://mahroot.dev/tags/k8s/index.xml" rel="self" type="application/rss+xml"/><item><title>Day 0 - linux primitives that make k8s possible</title><link>https://mahroot.dev/posts/day-0---linux-primitives-that-make-k8s-possible/</link><pubDate>Thu, 19 Mar 2026 23:33:57 +0100</pubDate><guid>https://mahroot.dev/posts/day-0---linux-primitives-that-make-k8s-possible/</guid><description>&lt;h2 id="so-what-what-happen-when-we-install-k8s-"&gt;so what what happen when we install k8s ?&lt;/h2&gt;
&lt;p&gt;when we install k8s actually we get this processes
we can separate them logically (they are not separated physically like not namespaces or something)
they are just have a different roles :&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;Our Physical Machine (or VM)
│
├── Control plan processes ← just Linux processes
│ ├── etcd (a process)
│ ├── kube-apiserver (a process)
│ ├── kube-scheduler (a process)
│ └── kube-controller-manager (a process)
│
└── Worker Node processes ← also just Linux processes
 ├── kubelet (a process)
 ├── kube-proxy (a process)
 └── containerd (a process)
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id="so-what-is-a-node-"&gt;so what is a node ?&lt;/h2&gt;
&lt;p&gt;a node it&amp;rsquo;s just a machine (VM/ cloud instance) that k8s know about it and can schedule a work onto it&lt;/p&gt;</description></item><item><title>etcd</title><link>https://mahroot.dev/posts/day-1---etcd/</link><pubDate>Thu, 19 Mar 2026 23:31:51 +0100</pubDate><guid>https://mahroot.dev/posts/day-1---etcd/</guid><description>&lt;h1 id="setup"&gt;setup&lt;/h1&gt;
&lt;p&gt;i have 3 VMs: vm1, vm2 and vm3&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Node&lt;/th&gt;
 &lt;th&gt;IP Address&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;node1&lt;/td&gt;
 &lt;td&gt;172.31.253.147&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;node2&lt;/td&gt;
 &lt;td&gt;172.31.250.205&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;node3&lt;/td&gt;
 &lt;td&gt;172.31.253.194&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;img src="https://mahroot.dev/images/Pasted%20image%2020260319171638.png" alt="Pasted image 20260319171638"&gt;&lt;/p&gt;
&lt;h1 id="step1-install-etcd-on-all-3-nodes-and-create-the-data-dir"&gt;step1: Install etcd on ALL 3 Nodes and create the data dir&lt;/h1&gt;
&lt;p&gt;&lt;img src="https://mahroot.dev/images/Pasted%20image%2020260319171828.png" alt="Pasted image 20260319171828"&gt;&lt;/p&gt;
&lt;p&gt;let&amp;rsquo;s verify the version and create the data directory
&lt;img src="https://mahroot.dev/images/Pasted%20image%2020260319171932.png" alt="Pasted image 20260319171932"&gt;&lt;/p&gt;
&lt;h1 id="step2-create-the-etcd-systemd-service"&gt;step2: Create the etcd systemd Service&lt;/h1&gt;
&lt;p&gt;&lt;img src="https://mahroot.dev/images/Pasted%20image%2020260319172432.png" alt="Pasted image 20260319172432"&gt;&lt;/p&gt;
&lt;p&gt;we do the same thing for other VMs changing just the ip add
for example for node1&lt;/p&gt;</description></item><item><title>containerd vs OCI, and the k8s architecture</title><link>https://mahroot.dev/ilt/2026/03/04/04-03-26/</link><pubDate>Wed, 04 Mar 2026 00:00:00 +0000</pubDate><guid>https://mahroot.dev/ilt/2026/03/04/04-03-26/</guid><description>&lt;h1 id="what-is-the-different-between-containerd-and-oci-open-container-initiative"&gt;what is the different between containerd and OCI (open container initiative)&lt;/h1&gt;
&lt;p&gt;writing &amp;hellip;&lt;/p&gt;
&lt;h1 id="k8s-architecture"&gt;k8s architecture&lt;/h1&gt;
&lt;p&gt;&lt;img src="https://mahroot.dev/images/Pasted%20image%2020260304201507.png" alt="Pasted image 20260304201507"&gt;&lt;/p&gt;
&lt;p&gt;thanks @djalal for explications &amp;lt;3
writing &amp;hellip;&lt;/p&gt;</description></item></channel></rss>