<?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: Harish Kumar G</title>
    <description>The latest articles on Debug School by Harish Kumar G (@harishkumarharuto_897).</description>
    <link>https://www.debug.school/harishkumarharuto_897</link>
    <image>
      <url>https://www.debug.school/images/5EAcEwb1lgBvzl4_CyjQ9LZw9nTKNIlKlN-F_oSm8HA/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvdXNl/ci9wcm9maWxlX2lt/YWdlLzcyMS82ZTRk/ZTUyZC1lZDlhLTQy/YmUtYTFjZi1mNDU1/ZTYzYTEzMjkucG5n</url>
      <title>Debug School: Harish Kumar G</title>
      <link>https://www.debug.school/harishkumarharuto_897</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/harishkumarharuto_897"/>
    <language>en</language>
    <item>
      <title>Day 3- Learning summary - Harish Kumar G</title>
      <dc:creator>Harish Kumar G</dc:creator>
      <pubDate>Thu, 19 Oct 2023 04:14:52 +0000</pubDate>
      <link>https://www.debug.school/harishkumarharuto_897/day-3-learning-summary-harish-kumar-g-305e</link>
      <guid>https://www.debug.school/harishkumarharuto_897/day-3-learning-summary-harish-kumar-g-305e</guid>
      <description>&lt;h2&gt;
  
  
  What are the ways to deploy pod?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;POD &lt;/li&gt;
&lt;li&gt;Replication controller&lt;/li&gt;
&lt;li&gt;ReplicationSets&lt;/li&gt;
&lt;li&gt;Deployement&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Daemon Set&lt;br&gt;
Job &amp;amp; CronJob&lt;br&gt;
ConfigMap&lt;br&gt;
Services&lt;br&gt;
Ingress&lt;/p&gt;

&lt;h2&gt;
  
  
  Daemon Set
&lt;/h2&gt;

&lt;p&gt;It is used to instantiate pod in every available node.&lt;br&gt;
Min and max node created using deman set is 1.&lt;br&gt;
kubectl get ds&lt;/p&gt;

&lt;h2&gt;
  
  
  Job &amp;amp; CronJob
&lt;/h2&gt;

&lt;p&gt;Job is the resource which runs the task and monitor it to complete.&lt;br&gt;
Cron job is the resource which runs the task and repeat it on defined schedule.&lt;/p&gt;

&lt;h2&gt;
  
  
  ConfigMap
&lt;/h2&gt;

&lt;p&gt;this is configurations required for service and we can use in service as volume mounts.&lt;br&gt;
its stored in etcd i.e. as key and value pair&lt;/p&gt;

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

&lt;p&gt;We call it as Service and not Load Balancer&lt;br&gt;
Service = Network Load Balancer&lt;br&gt;
Ingress = Application Load Balancer&lt;/p&gt;

&lt;p&gt;kubectl create svc -h&lt;/p&gt;

&lt;p&gt;*Ingress *&lt;br&gt;
Ingress is a way for enabling traffic. Also helps in routing.&lt;br&gt;
Ingress means a rule. It is an API object.&lt;br&gt;
Ingress controller is exposed with the load balancer.&lt;/p&gt;

&lt;p&gt;Path Based&lt;br&gt;
Name Based&lt;br&gt;
TLS Based&lt;/p&gt;

</description>
    </item>
    <item>
      <title>What is Namespace,troubleshoot PODs,ReplicationController,ReplicaSet &amp; Deployement by Harish Kumar G</title>
      <dc:creator>Harish Kumar G</dc:creator>
      <pubDate>Wed, 18 Oct 2023 04:04:31 +0000</pubDate>
      <link>https://www.debug.school/harishkumarharuto_897/what-is-namespacetroubleshoot-podsreplicationcontrollerreplicaset-deployement-by-harish-kumar-g-34bn</link>
      <guid>https://www.debug.school/harishkumarharuto_897/what-is-namespacetroubleshoot-podsreplicationcontrollerreplicaset-deployement-by-harish-kumar-g-34bn</guid>
      <description>&lt;h2&gt;
  
  
  Namespace:-
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Namespace is used to Structuralize the resources of the Clustered Horizontally. eg.. ram, diskspace, cpu etc&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;Any namespace will be classified under one of the below 
category,
&lt;strong&gt;System -&lt;/strong&gt; Created by Kubernetes
&lt;strong&gt;Public -&lt;/strong&gt; Common resources
&lt;strong&gt;Default -&lt;/strong&gt; When no namespace is provided
&lt;strong&gt;Admin -&lt;/strong&gt; For admin roles&lt;/li&gt;
&lt;li&gt;When namespace is deleted, all respective pods will get deleted&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Accessing resources:
&lt;/h2&gt;

&lt;p&gt;resources can be accessed either via command or config file.&lt;br&gt;
Create- create/ create -f yaml&lt;br&gt;
Read- get/ get -f yaml&lt;br&gt;
Update- edit / apply -f yaml&lt;br&gt;
Delete- delete / delete -f yaml&lt;/p&gt;

&lt;h2&gt;
  
  
  ReplicationController and Replica Set
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Replicationcontroller is used to instantiate multiple pods and control the running pods.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Replica Set is the updated version of ReplicationController.   &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Debugging/Troubleshooting strategies
&lt;/h2&gt;

&lt;p&gt;Logs&lt;br&gt;
attach&lt;br&gt;
Exec&lt;br&gt;
Port forward&lt;br&gt;
copy&lt;br&gt;
auth&lt;/p&gt;

&lt;h2&gt;
  
  
  Deployment
&lt;/h2&gt;

&lt;p&gt;Deployment is used to instantiate pod and control the running pods using help of Replica Set and pod.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>What is Pod - day 1 - Harish Kumar G</title>
      <dc:creator>Harish Kumar G</dc:creator>
      <pubDate>Mon, 16 Oct 2023 11:50:40 +0000</pubDate>
      <link>https://www.debug.school/harishkumarharuto_897/what-is-pod-day-1-harish-kumar-g-30gp</link>
      <guid>https://www.debug.school/harishkumarharuto_897/what-is-pod-day-1-harish-kumar-g-30gp</guid>
      <description>&lt;h2&gt;
  
  
  What is POD:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;POD is the smallest execution unit in kubernetes.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;POD can have one or more container applications.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;POD is ephemeral b nature.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;IF a pod fails, kubernetes can automatically create new pod to &lt;br&gt;
continue operations.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;every container in pod will have same address but different port numbers.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;LifeCycle of POD: Pending, Running, Succeeded, Failed, Unknown&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;No same POD can be created again, similar pod can be created but not same.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
    <item>
      <title>Assignment -1 from Harish Kumar G</title>
      <dc:creator>Harish Kumar G</dc:creator>
      <pubDate>Mon, 16 Oct 2023 07:21:12 +0000</pubDate>
      <link>https://www.debug.school/harishkumarharuto_897/assignment-1-from-harish-kumar-g-46j3</link>
      <guid>https://www.debug.school/harishkumarharuto_897/assignment-1-from-harish-kumar-g-46j3</guid>
      <description>&lt;h2&gt;
  
  
  What is Kubernetes?
&lt;/h2&gt;

&lt;p&gt;Kubernetes is a open source container orchestrator, developed by google and handed over to cncf in 2014. &lt;br&gt;
Helps in achieving Highly available and scalable of services.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;It is the only leading container orchestrator and actively growing open source tool available.&lt;/li&gt;
&lt;li&gt;Simplifies container management on multilpe hosts&lt;/li&gt;
&lt;li&gt;Easy for enterprises apps to be highly scalable&lt;/li&gt;
&lt;li&gt;Automates deployment &lt;/li&gt;
&lt;li&gt;Runs application with better stability&lt;/li&gt;
&lt;li&gt;Easy to roll out new software versions&lt;/li&gt;
&lt;li&gt;Kubernetes is portable and flexible&lt;/li&gt;
&lt;li&gt;It has a large community&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;Kubernetes follows master slave architecture, where master node overseas the entire cluster.&lt;/li&gt;
&lt;li&gt;Master effectively manages the scheduling, allocating the resources, monitoring the Health of the infrastructure.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Kubernetes Architectecture. Explain each component with  1 oneline.
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Kubernetes follows master slave architecture, where master node overseas the entire cluster.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;&lt;strong&gt;Master&lt;/strong&gt; : Overseas the entire cluster. composed of 4 entities.&lt;br&gt;
     * &lt;strong&gt;API server&lt;/strong&gt;: API server is the front end of kubernetes &lt;br&gt;
       control panel&lt;br&gt;
     * &lt;strong&gt;Cluster store&lt;/strong&gt;: Consistent and highly-available key value&lt;br&gt;&lt;br&gt;
       store used as Kubernetes' backing store for all cluster &lt;br&gt;
       data.&lt;br&gt;
     * &lt;strong&gt;controller manager&lt;/strong&gt;: manages different controller like Node &lt;br&gt;
       controller, job controller, Health status , this is a &lt;br&gt;
       continuous monitoring.&lt;br&gt;
     * &lt;strong&gt;Scheduler&lt;/strong&gt;: watches for newly created Pods with no assigned &lt;br&gt;
       node, and selects a node for them to run on.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Worker Node&lt;/strong&gt;: &lt;br&gt;
     * &lt;strong&gt;kubelet&lt;/strong&gt; : An agent that runs on each node in the cluster. &lt;br&gt;
       It makes sure that containers are running in a Pod.&lt;br&gt;
     * &lt;strong&gt;Container run-time&lt;/strong&gt;: A fundamental component that empowers &lt;br&gt;
       Kubernetes to run containers effectively. It is responsible &lt;br&gt;
       for managing the execution and lifecycle of containers &lt;br&gt;
       within the Kubernetes environment.  now the default &lt;br&gt;
       container run-time is containerd, docker is deprecated.&lt;br&gt;
     * &lt;strong&gt;Kube-proxy&lt;/strong&gt;: kube-proxy is a network proxy that runs on each &lt;br&gt;
       node in your cluster&lt;/p&gt;

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