<?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: Sarmila P</title>
    <description>The latest articles on Debug School by Sarmila P (@sarmilait1993_583).</description>
    <link>https://www.debug.school/sarmilait1993_583</link>
    <image>
      <url>https://www.debug.school/images/fvGJ0uz0Wnx9Wcgqs5KtnOk8Hr-s_x6W7qNPTUnZacM/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvdXNl/ci9wcm9maWxlX2lt/YWdlLzcyOS8xNDYy/NmRkNi01MjE3LTQ1/NjYtOTIyYS1iZjY3/N2E0NjdhZjEucG5n</url>
      <title>Debug School: Sarmila P</title>
      <link>https://www.debug.school/sarmilait1993_583</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/sarmilait1993_583"/>
    <language>en</language>
    <item>
      <title>Day 3 - Sarmila</title>
      <dc:creator>Sarmila P</dc:creator>
      <pubDate>Thu, 19 Oct 2023 04:00:07 +0000</pubDate>
      <link>https://www.debug.school/sarmilait1993_583/day-3-sarmila-1o65</link>
      <guid>https://www.debug.school/sarmilait1993_583/day-3-sarmila-1o65</guid>
      <description>&lt;h2&gt;
  
  
  Daemon Sets
&lt;/h2&gt;

&lt;p&gt;Min/Max one pod per node eg: kubectl canal and proxy&lt;/p&gt;

&lt;h2&gt;
  
  
  Jobs
&lt;/h2&gt;

&lt;p&gt;To compute a work one time&lt;/p&gt;

&lt;h2&gt;
  
  
  Cron Jobs
&lt;/h2&gt;

&lt;p&gt;To execute regular scheduled actions&lt;/p&gt;

&lt;h2&gt;
  
  
  Config Maps
&lt;/h2&gt;

&lt;p&gt;Save configs, keys in a config file used by application instead of hardcoding in the application properties&lt;/p&gt;

&lt;h2&gt;
  
  
  Services
&lt;/h2&gt;

&lt;p&gt;Network Load Balancer to deal which pods to connect with&lt;/p&gt;

&lt;h2&gt;
  
  
  Service Types -
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1.Cluster IP&lt;/strong&gt; - Accessible only within the cluster&lt;br&gt;
&lt;strong&gt;2.Node Port&lt;/strong&gt; - Can be accessed from outside the cluster&lt;br&gt;
&lt;strong&gt;3.Load Balancer&lt;/strong&gt; - Balances the input request load (used aws load balancer - this needs to be linked with DNS)&lt;br&gt;
*&lt;em&gt;4.External *&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Ingress
&lt;/h2&gt;

&lt;p&gt;*&lt;em&gt;Application Load Balancer *&lt;/em&gt;&lt;br&gt;
To reduce the usage of Load balancers, routing rules can be specified to enable traffic, routing with security&lt;br&gt;
2 main components: Rule, Controller (exposed to Load Balancer)&lt;br&gt;
3 Types:&lt;br&gt;
Name Based - Based on Domain Names&lt;br&gt;
Path Based - Based on application path &lt;br&gt;
TLS Based&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Day 02 - Sarmila</title>
      <dc:creator>Sarmila P</dc:creator>
      <pubDate>Tue, 17 Oct 2023 12:09:41 +0000</pubDate>
      <link>https://www.debug.school/sarmilait1993_583/day-02-sarmila-5c5n</link>
      <guid>https://www.debug.school/sarmilait1993_583/day-02-sarmila-5c5n</guid>
      <description>&lt;p&gt;&lt;strong&gt;Namespaces&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Namespace is a logical separation of resources within the cluster&lt;/li&gt;
&lt;li&gt;Namespaces was introduced to overcome 2 problems,
   1.To avoid problems while using the shared resources by diff applications
   2.To restrict access over resources&lt;/li&gt;
&lt;li&gt;Pods will come under namespaces&lt;/li&gt;
&lt;li&gt;When pods are under a namespace ,namespace will be true&lt;/li&gt;
&lt;li&gt;&lt;p&gt;When pods are under a worker node, namespace will be false&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Any namespace will be classified under one of the below category,&lt;br&gt;
System - Created by Kubernetes&lt;br&gt;
Public - Common resources&lt;br&gt;
Default - When no namespace is provided&lt;br&gt;
Admin - For admin roles&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;When namespace is deleted, all respective pods will get deleted&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Accessing resources:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Create&lt;/strong&gt;- create/ create -f yaml&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Read&lt;/strong&gt;- get/ get -f yaml&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Update&lt;/strong&gt;- edit / apply -f yaml&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Delete&lt;/strong&gt;- delete / delete -f yaml&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Debugging/Troubleshooting strategies&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Logs&lt;/li&gt;
&lt;li&gt;attach&lt;/li&gt;
&lt;li&gt;Exec&lt;/li&gt;
&lt;li&gt;Port forward&lt;/li&gt;
&lt;li&gt;copy&lt;/li&gt;
&lt;li&gt;auth&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Deployment in Kubernetes:&lt;br&gt;
1.Replication - controls number of replications without writing many yaml files&lt;br&gt;
2.Controller - controls replication&lt;br&gt;
3.Versioning - controls the version&lt;br&gt;
4.Rollout - To roll out the changes(Recreate - Delete and create all the container and Rolling update)&lt;br&gt;
5.RollBack - To roll back to the older version&lt;/p&gt;

</description>
    </item>
    <item>
      <title>What is Pod - Sarmila</title>
      <dc:creator>Sarmila P</dc:creator>
      <pubDate>Mon, 16 Oct 2023 11:50:07 +0000</pubDate>
      <link>https://www.debug.school/sarmilait1993_583/what-is-pod-sarmila-2ih6</link>
      <guid>https://www.debug.school/sarmilait1993_583/what-is-pod-sarmila-2ih6</guid>
      <description>&lt;ul&gt;
&lt;li&gt;Pod is an atomic unit of scheduling work&lt;/li&gt;
&lt;li&gt;One pod can have multiple containers running&lt;/li&gt;
&lt;li&gt;Pod will run as long as the containers are running (lifecycle includes pending, running, succeeded/Failed)&lt;/li&gt;
&lt;li&gt;Best approach for pods is to have one container per pod&lt;/li&gt;
&lt;li&gt;When multiple containers are running in the same file, resources will be shared&lt;/li&gt;
&lt;li&gt;Every container inside a pod will be having the same ip address but port number will be unique&lt;/li&gt;
&lt;li&gt;No pod will be ever redeployed&lt;/li&gt;
&lt;li&gt;Containers inside pods can communicate within the pods using localhost&lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
    <item>
      <title>Day 01 - By Sarmila</title>
      <dc:creator>Sarmila P</dc:creator>
      <pubDate>Mon, 16 Oct 2023 07:13:09 +0000</pubDate>
      <link>https://www.debug.school/sarmilait1993_583/day-01-by-sarmila-nk7</link>
      <guid>https://www.debug.school/sarmilait1993_583/day-01-by-sarmila-nk7</guid>
      <description>&lt;h2&gt;
  
  
  What is Kubernetes?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Kubernetes is an container orchestration system which helps in High availability, Scalability and Auto healing of the containers.&lt;/li&gt;
&lt;li&gt;It was developed by Google and maintained as open source by CNCF.&lt;/li&gt;
&lt;li&gt;It plays a huge role in maintaining containers in large scale.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why Do we need Kubernetes? Explain in 10 lines
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Kubernetes will be consider data center as a one machine&lt;/li&gt;
&lt;li&gt;It makes deployment easy&lt;/li&gt;
&lt;li&gt;It provides Self Healing of the containers&lt;/li&gt;
&lt;li&gt;It also ensures maintaining high scalability and availability of containers in large scale&lt;/li&gt;
&lt;li&gt;It can also provide features like storage and network orchestration&lt;/li&gt;
&lt;li&gt;Helps in effective service discovery and load balancing&lt;/li&gt;
&lt;li&gt;It provides security&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How Kubernetes Works?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Kubernetes will be consider data center as a one machine (cluster) and it works based on master-worker model&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Kubernetes Architecture. Explain each component with  1 line.
&lt;/h2&gt;

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

&lt;p&gt;&lt;strong&gt;Api Server:&lt;/strong&gt; Will receive json inputs and provides response (Eg: any requests, state of pods)&lt;br&gt;
&lt;strong&gt;Cluster Store:&lt;/strong&gt; Stores each changes (eg: cluster state, configs) in etcd database&lt;br&gt;
&lt;strong&gt;Controller Manager:&lt;/strong&gt; Watches for the changes in loop&lt;br&gt;
&lt;strong&gt;Kube Scheduler:&lt;/strong&gt; Will schedule work to worker pod&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Kublet:&lt;/strong&gt; Will register node with cluster, keep watching api server for work and instantiates the node and reports back to master&lt;br&gt;
&lt;strong&gt;Container Engine:&lt;/strong&gt; Where our actual containerization works&lt;br&gt;
&lt;strong&gt;Kube-proxy:&lt;/strong&gt; It will act as a proxy server inside cluster&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.debug.school/images/5l1MDRLmIZi8THzdJ664i65SZQMSTWYBJenYLiCde7s/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvdWx6cTJ6/NjNiZnNzejhiNHhq/ZjIucG5n" class="article-body-image-wrapper"&gt;&lt;img src="https://www.debug.school/images/5l1MDRLmIZi8THzdJ664i65SZQMSTWYBJenYLiCde7s/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvdWx6cTJ6/NjNiZnNzejhiNHhq/ZjIucG5n" alt="Image description" width="800" height="336"&gt;&lt;/a&gt;&lt;/p&gt;

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