<?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: Ganesha B S</title>
    <description>The latest articles on Debug School by Ganesha B S (@ganeshabelavadi).</description>
    <link>https://www.debug.school/ganeshabelavadi</link>
    <image>
      <url>https://www.debug.school/images/ug_2LyN00UOnSx_ko7SmL9T97IR10JObXHiq320ajus/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvdXNl/ci9wcm9maWxlX2lt/YWdlLzcyNC9jMGZi/OTcxMy1mNWI3LTQz/OWUtYWZiNi0wODNm/MWY4NmNiNTMucG5n</url>
      <title>Debug School: Ganesha B S</title>
      <link>https://www.debug.school/ganeshabelavadi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/ganeshabelavadi"/>
    <language>en</language>
    <item>
      <title>Day 3 Summary</title>
      <dc:creator>Ganesha B S</dc:creator>
      <pubDate>Wed, 18 Oct 2023 12:06:06 +0000</pubDate>
      <link>https://www.debug.school/ganeshabelavadi/day-3-summary-259</link>
      <guid>https://www.debug.school/ganeshabelavadi/day-3-summary-259</guid>
      <description>&lt;h2&gt;
  
  
  Daemon Set :
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt; A Daemon Set is a type of workload in Kubernetes that ensures that one and only Pod runs on all nodes within a cluster, It is basically used for proxy kind of services.&lt;/li&gt;
&lt;li&gt; Daemon Sets ensure that exactly one instance of a specified Pod is scheduled and running on each node that matches the Pod's node selector.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;A job is something that runs the specified task using the container image provided in the template.&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Once the task is completed successfully, the Job is considered finished.&lt;br&gt;
Crone Jobs:&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Cron Job is a resource that allows you to run Jobs at scheduled intervals.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The job is created as a one-time Job when the schedule is met and then terminated.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The Schedule field is used to specify when the job should run i.e.(schedule: "*/5 * * * *"). In this case, it runs every 5 minutes.&lt;br&gt;
Config Map:&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;In Kubernetes, a Config Map is a resource that allows you to store configuration data separately from your application code. &lt;br&gt;
Services :&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Service is also known as network load balancer.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Service only send traffic to healthy pods.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Services can be accessible from outside the cluster.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It uses TCP by default and load balancing is Random load balancing by default.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Service can be configured for session affinity.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The labels of pods should be same as the selector labels of service to balance the load.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Expose command automatically take the labels from deployment and create a service and balance the load.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Node port create a service with cluster IP and type is node port which can be accessible from outside.&lt;/li&gt;
&lt;li&gt;Node port is something which is used to communicate from outside to the pod.&lt;/li&gt;
&lt;li&gt;To access the pod inside the cluster we need to give the Service IP : port and to access from outside we need to give Node IP.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Ingress Controller:
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;An Ingress Controller in Kubernetes is a component that manages and configures access to services within the cluster from external network traffic. &lt;/li&gt;
&lt;li&gt;It acts as a reverse proxy, handling incoming HTTP and HTTPS traffic&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>Day 2 - Summary</title>
      <dc:creator>Ganesha B S</dc:creator>
      <pubDate>Tue, 17 Oct 2023 11:45:48 +0000</pubDate>
      <link>https://www.debug.school/ganeshabelavadi/day-2-summary-1p33</link>
      <guid>https://www.debug.school/ganeshabelavadi/day-2-summary-1p33</guid>
      <description>&lt;p&gt;Namespace&lt;br&gt;
POD&lt;br&gt;
Replication controller&lt;br&gt;
Deployment&lt;/p&gt;

&lt;p&gt;Create&lt;br&gt;
Read&lt;br&gt;
Update&lt;br&gt;
Delete&lt;/p&gt;

&lt;p&gt;Pods&lt;br&gt;
Namespace&lt;br&gt;
Nodes&lt;/p&gt;

&lt;p&gt;Log&lt;br&gt;
Attach&lt;/p&gt;

&lt;p&gt;Replication Controller&lt;br&gt;
replica set&lt;/p&gt;

&lt;p&gt;Replicaset + controller + Versoning + Rollout + Rollback&lt;/p&gt;

&lt;p&gt;Strategy :&lt;/p&gt;

&lt;p&gt;Recreate&lt;br&gt;
Rollingupdate&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Assignment #2 What is POD</title>
      <dc:creator>Ganesha B S</dc:creator>
      <pubDate>Mon, 16 Oct 2023 11:48:27 +0000</pubDate>
      <link>https://www.debug.school/ganeshabelavadi/assignment-2-what-is-pod-419m</link>
      <guid>https://www.debug.school/ganeshabelavadi/assignment-2-what-is-pod-419m</guid>
      <description>&lt;p&gt;A POD is one or more container, its application service. The most basic unit of work. Unit for scheduling. A POD will have status running, exited, ready. A POD contains one or more application.  POD is minion. Container resides inside the POD. There can be mutiple container in one POD, &amp;amp; One POd One Container design is always good.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Assignment #1</title>
      <dc:creator>Ganesha B S</dc:creator>
      <pubDate>Mon, 16 Oct 2023 07:25:43 +0000</pubDate>
      <link>https://www.debug.school/ganeshabelavadi/assignment-1-1ib4</link>
      <guid>https://www.debug.school/ganeshabelavadi/assignment-1-1ib4</guid>
      <description>&lt;h2&gt;
  
  
  What is Kubernetes?
&lt;/h2&gt;

&lt;p&gt;Kubernetes is container orchestration technology developed by Google and made as open source in 2014, managed by CNCF. This is written in Go Lang.&lt;br&gt;
Kubernetes a.k.a K8's helps in managing multiple docker containers. This helps in scaling, scheduling, monitoring container orchestration.&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://www.debug.school/images/PAee3T0pBScTBby32CsQfhsBSWAFxniTb2PboSwpVkU/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvY2dhMnkz/c28zZzUzeDl2eDh1/YzUucG5n" class="article-body-image-wrapper"&gt;&lt;img src="https://www.debug.school/images/PAee3T0pBScTBby32CsQfhsBSWAFxniTb2PboSwpVkU/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvY2dhMnkz/c28zZzUzeDl2eDh1/YzUucG5n" alt="Image description" width="800" height="438"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;To solve our customer day to day problems, there by easing out clinicians work flows&lt;/li&gt;
&lt;li&gt;To solve problem of High Availability&lt;/li&gt;
&lt;li&gt;To solve problem of Scalability&lt;/li&gt;
&lt;li&gt;Manage multiple docker hosts, run any number (1000's) containers.&lt;/li&gt;
&lt;li&gt;Self healing automated container orchestration.&lt;/li&gt;
&lt;li&gt;To have good Health wealth there by Happiness :-)&lt;/li&gt;
&lt;li&gt;Runtime automated upgrade&lt;/li&gt;
&lt;li&gt;To provide storage orchestration.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;Kubernetes will have Master and Worker node (minion), the master control the node as per request sent to api server. The POD which is a logical unit will have one or multiple nodes. Kubernetes creates pods and get the information about pods. It creates the required number of pods as per configuration.&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://www.debug.school/images/O7BJyfDvhh9oDjLKnfRI-aW_zIdcDhIJk7jmFYkDEHs/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvNmF3N2t1/cXVjMXl4djgzcmxj/MTIucG5n" class="article-body-image-wrapper"&gt;&lt;img src="https://www.debug.school/images/O7BJyfDvhh9oDjLKnfRI-aW_zIdcDhIJk7jmFYkDEHs/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvNmF3N2t1/cXVjMXl4djgzcmxj/MTIucG5n" alt="Image description" width="800" height="483"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;API Server: This is the api server through which we can send commands to K8's master node. Collection&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Cluster Store (etcd) : This acts as database stores information about pods in key value storage format.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Kube controller manager : This controls and manages commands sent api server&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Kube Scheduler : Assign tasks to minions/nodes based on availability CPU memory etc.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>kubernetes</category>
      <category>basics</category>
    </item>
  </channel>
</rss>
