<?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: rijil</title>
    <description>The latest articles on Debug School by rijil (@rijilabraham_590).</description>
    <link>https://www.debug.school/rijilabraham_590</link>
    <image>
      <url>https://www.debug.school/images/L_IAx0PLWd8Gmb2ToAoj3fmmWpEg58NNVQ2oPfqb69I/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvdXNl/ci9wcm9maWxlX2lt/YWdlLzE0My9mZDVi/ZGEzYS1iNmFmLTQ4/ZjMtYTQ1Yy03MzY5/OTRkMmQ2YzQucG5n</url>
      <title>Debug School: rijil</title>
      <link>https://www.debug.school/rijilabraham_590</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/rijilabraham_590"/>
    <language>en</language>
    <item>
      <title>Assignment - day3</title>
      <dc:creator>rijil</dc:creator>
      <pubDate>Wed, 19 Oct 2022 09:20:00 +0000</pubDate>
      <link>https://www.debug.school/rijilabraham_590/assignment-day3-2o32</link>
      <guid>https://www.debug.school/rijilabraham_590/assignment-day3-2o32</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is POD? 5 Characteristics of pod&lt;/strong&gt;&lt;br&gt;
Pod is the most basic unit for scheduling in Kubernetes.&lt;br&gt;
It contains one or more containers.&lt;br&gt;
It is ephemeral.&lt;br&gt;
Has its own IP&lt;br&gt;
Pods share all kernel resources&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is Deployment and each feature of it with 1 example&lt;/strong&gt;&lt;br&gt;
Deployment is a method of creating pods with applications and ensuring that the desired number of pods(replicas) is always running on the cluster.&lt;br&gt;
Replication + Controller + Versioning + Rollout + Rollback&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is Services and types of Services?&lt;/strong&gt;&lt;br&gt;
A k8s service is a Network LoadBalancer.&lt;br&gt;
If you want to Load balance Pod by a Service, the label of the Service and the POD should match.&lt;br&gt;
Types:&lt;br&gt;
1) Node Port&lt;br&gt;
2) Load balancer (Ex - AWS LB)&lt;/p&gt;

</description>
    </item>
    <item>
      <title>K8s Architecture and Components</title>
      <dc:creator>rijil</dc:creator>
      <pubDate>Tue, 18 Oct 2022 06:36:00 +0000</pubDate>
      <link>https://www.debug.school/rijilabraham_590/k8s-architecture-and-components-cfd</link>
      <guid>https://www.debug.school/rijilabraham_590/k8s-architecture-and-components-cfd</guid>
      <description>&lt;h1&gt;
  
  
  Kubernetes Architecture:
&lt;/h1&gt;

&lt;p&gt;A k8s cluster consists of master and worker nodes.&lt;br&gt;
Master nodes manages the entire cluster.&lt;br&gt;
Worker nodes is where the workloads(pods) run.Each node can contain 1 or more Pods. Each pod contains one or more containers.&lt;/p&gt;

&lt;h1&gt;
  
  
  Master Node:
&lt;/h1&gt;

&lt;p&gt;Also called control plane. Will always be a linux box.&lt;br&gt;
Inorder to setup master we need 4 main softwares installed.&lt;br&gt;
1) API server : &lt;br&gt;
   This is the front end to the k8s cluster using which users interact with the cluster. Exposes REST API. Takes input in the form of json etc.&lt;/p&gt;

&lt;p&gt;2) Cluster Store:&lt;br&gt;
   Persistent storage for cluster powered by ETCD. It is like the database for the cluster always maintaining the cluster state and configs&lt;/p&gt;

&lt;p&gt;3) Controller Manager:&lt;br&gt;
   Watches for changes abd helps maintain the desired state&lt;/p&gt;

&lt;p&gt;4) kube-scheduler:&lt;br&gt;
   Watches apiserver for new pods. Assigns pod sceduling to nodes.&lt;/p&gt;

&lt;h1&gt;
  
  
  Worker Node:
&lt;/h1&gt;

&lt;p&gt;Also called minions or just nodes.&lt;br&gt;
Has 3 main componenets&lt;br&gt;
1) kubelet:&lt;br&gt;
   This is the k8s agent which is an exe running on each node.&lt;br&gt;
   Responsible for registring node with cluster by comunicating with API server&lt;/p&gt;

&lt;p&gt;2) Container Engine - example Docker,Rocket,containerd&lt;br&gt;
   Responsible for container management&lt;/p&gt;

&lt;p&gt;3) kube-proxy:&lt;br&gt;
   Responsible for k8s networking. Assings IP to pods, load balances across pods&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Assignment - Day2</title>
      <dc:creator>rijil</dc:creator>
      <pubDate>Tue, 18 Oct 2022 04:43:06 +0000</pubDate>
      <link>https://www.debug.school/rijilabraham_590/assignment-day2-5910</link>
      <guid>https://www.debug.school/rijilabraham_590/assignment-day2-5910</guid>
      <description>&lt;ul&gt;
&lt;li&gt;Kubernetes can manage multiple docker hosts (running several containers) reducing scalability issues&lt;/li&gt;
&lt;li&gt;Can fix networking issues&lt;/li&gt;
&lt;li&gt;Auto healing of Docker host by bringing the containers at a desired state&lt;/li&gt;
&lt;li&gt;k8s views the data center as one computer&lt;/li&gt;
&lt;li&gt;Load balancing services&lt;/li&gt;
&lt;li&gt;Fast deployment&lt;/li&gt;
&lt;li&gt;Container orchestrator&lt;/li&gt;
&lt;li&gt;Micro service orchestration&lt;/li&gt;
&lt;li&gt;Takes care of workload(container) placement&lt;/li&gt;
&lt;li&gt;Resource allocation&lt;/li&gt;
&lt;li&gt;Rollbacks&lt;/li&gt;
&lt;li&gt;Ability to absorb changes quickly and recover quickly&lt;/li&gt;
&lt;li&gt;Monitoring container health&lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
    <item>
      <title>Assignment</title>
      <dc:creator>rijil</dc:creator>
      <pubDate>Mon, 17 Oct 2022 07:54:11 +0000</pubDate>
      <link>https://www.debug.school/rijilabraham_590/assignment-ipi</link>
      <guid>https://www.debug.school/rijilabraham_590/assignment-ipi</guid>
      <description>&lt;p&gt;Docker stop vs kill&lt;br&gt;
docker stop attempts to gracefully shutdown container(s) while docker kill immediately stops/terminates them;&lt;br&gt;
docker stop issues a SIGTERM signal to the main process inside the container, while docker kill issues a SIGKILL signal;&lt;/p&gt;

&lt;p&gt;Docker pause vs unpause&lt;br&gt;
The docker pause command suspends all processes in the specified containers&lt;br&gt;
The docker unpause command un-suspends all processes in the specified containers&lt;/p&gt;

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