<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Debug School: Tanu Sharma</title>
    <description>The latest articles on Debug School by Tanu Sharma (@tansha610).</description>
    <link>https://www.debug.school/tansha610</link>
    <image>
      <url>https://www.debug.school/images/jmDgLE1MuVYePriVkThYqPfGN2VsqtsBodyU_2nkIUQ/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvdXNl/ci9wcm9maWxlX2lt/YWdlLzE2MC80ZGE3/ZDliZi00OWI1LTQz/MDQtYTVjYi1mYzhm/OTI0OTBiMTMucG5n</url>
      <title>Debug School: Tanu Sharma</title>
      <link>https://www.debug.school/tansha610</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/tansha610"/>
    <language>en</language>
    <item>
      <title>Assignment - 1 by Tanu Sharma</title>
      <dc:creator>Tanu Sharma</dc:creator>
      <pubDate>Thu, 20 Oct 2022 06:29:12 +0000</pubDate>
      <link>https://www.debug.school/tansha610/assignment-1-by-tanu-sharma-38d6</link>
      <guid>https://www.debug.school/tansha610/assignment-1-by-tanu-sharma-38d6</guid>
      <description>&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;What is Kubernetes?&lt;/strong&gt;&lt;br&gt;
Kubernetes deploys and manages application that are packaged and run as a containers and that are built in a ways that allow them to scale, self-heal and be updated in line with the modern cloud-like requirements.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;What are the 10 feature which we need at prod level, Kubernetes has it&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;1.container orchestrator&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;manages secrets&lt;/li&gt;
&lt;li&gt;load balancer&lt;/li&gt;
&lt;li&gt;Scale up and down automatically&lt;/li&gt;
&lt;li&gt;Self healable&lt;/li&gt;
&lt;li&gt;Storage orchestration&lt;/li&gt;
&lt;li&gt;rolling updates&lt;/li&gt;
&lt;li&gt;managing containers &lt;/li&gt;
&lt;li&gt;service discovery&lt;/li&gt;
&lt;li&gt;Packaging containers in pods&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Architecture of Kubernetes and few lines for each component&lt;/strong&gt;
K8s cluster contains two types of nodes master and worker nodes.
The master node acts as a control plane which has 
&amp;gt; apiserver : all communications btw all components happen through api server
&amp;gt; Cluster Store : contains all the clusters and uses etcd as database
&amp;gt; Controller Manager : manages multiple controllers. Monitors cluster components and responds to events
&amp;gt; Scheduler : Schedules the workload to worker nodes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The worker nodes has components which are - &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Kubelet : runs on every cluster node. main job is to watch apiserver for new work tasks&lt;br&gt;
Container runtime : the k8s needs it to perform the container related tasks&lt;br&gt;
Kube-proxy : responsible for local cluster networking. Ensures each node has a unique IP.&lt;br&gt;
Pods : The atomic unit of scheduling.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;What is POD, write a 10 lines explanation on POD&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;blockquote&gt;
&lt;p&gt;The atomic unit of scheduling.&lt;/p&gt;
&lt;/blockquote&gt;&lt;/li&gt;
&lt;li&gt;&lt;blockquote&gt;
&lt;p&gt;Pods is a way to group containers and assign the resources&lt;/p&gt;
&lt;/blockquote&gt;&lt;/li&gt;
&lt;li&gt;&lt;blockquote&gt;
&lt;p&gt;apps/containers runs inside the pods&lt;/p&gt;
&lt;/blockquote&gt;&lt;/li&gt;
&lt;li&gt;&lt;blockquote&gt;
&lt;p&gt;you can deploy, terminate and scale the apps&lt;/p&gt;
&lt;/blockquote&gt;&lt;/li&gt;
&lt;li&gt;&lt;blockquote&gt;
&lt;p&gt;Pods lifecycle : Pending-&amp;gt;Running-&amp;gt;succeeded/failed&lt;/p&gt;
&lt;/blockquote&gt;&lt;/li&gt;
&lt;li&gt;&lt;blockquote&gt;
&lt;p&gt;Pods are connected through pod network&lt;/p&gt;
&lt;/blockquote&gt;&lt;/li&gt;
&lt;li&gt;&lt;blockquote&gt;
&lt;p&gt;Pods can have tight and loose coupling&lt;/p&gt;
&lt;/blockquote&gt;&lt;/li&gt;
&lt;li&gt;&lt;blockquote&gt;
&lt;p&gt;Pods can be replaced by new pods if they die&lt;/p&gt;
&lt;/blockquote&gt;&lt;/li&gt;
&lt;li&gt;&lt;blockquote&gt;
&lt;p&gt;Pods can run more than one containers&lt;/p&gt;
&lt;/blockquote&gt;&lt;/li&gt;
&lt;li&gt;&lt;blockquote&gt;
&lt;p&gt;Each node can have multiple pods&lt;/p&gt;
&lt;/blockquote&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
  </channel>
</rss>
