<?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 G</title>
    <description>The latest articles on Debug School by Harish G (@harishramu).</description>
    <link>https://www.debug.school/harishramu</link>
    <image>
      <url>https://www.debug.school/images/5NovAPqZmFyWuHHwdqxMFeyZGVyusQ4UigV1SXP5eKM/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvdXNl/ci9wcm9maWxlX2lt/YWdlLzcyOC8wZjI2/ODhlZi02Y2MzLTQw/ODgtOWUwNy1mMDYx/MmE5YzFjMTEucG5n</url>
      <title>Debug School: Harish G</title>
      <link>https://www.debug.school/harishramu</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/harishramu"/>
    <language>en</language>
    <item>
      <title>Deman set, Job and CronJob, ConfigMap, Services and Ingress Controller by Harish</title>
      <dc:creator>Harish G</dc:creator>
      <pubDate>Wed, 18 Oct 2023 12:15:16 +0000</pubDate>
      <link>https://www.debug.school/harishramu/deman-set-job-and-cronjob-configmap-services-and-ingress-controller-by-harish-59jl</link>
      <guid>https://www.debug.school/harishramu/deman-set-job-and-cronjob-configmap-services-and-ingress-controller-by-harish-59jl</guid>
      <description>&lt;h2&gt;
  
  
  Deman set
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt; It is used to instantiate pod in every available node.&lt;/li&gt;
&lt;li&gt; Min and max node created using deman set is 1.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Job and CronJob’s
&lt;/h2&gt;

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

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

&lt;ol&gt;
&lt;li&gt; Config map allows us to create and store the data as key-value pair.&lt;/li&gt;
&lt;li&gt; It will be accessible through out all the nodes.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt; Services are acts as a load balancer in the kubernetes cluster.&lt;/li&gt;
&lt;li&gt; We ClusterIP, NodePort, LoadBalancer services.&lt;/li&gt;
&lt;li&gt; CluserIp service is used when we need to access the pod with in the cluster.&lt;/li&gt;
&lt;li&gt; NodePort service is used when we need to access the pod out of the cluster.&lt;/li&gt;
&lt;li&gt; LoadBalancer service is used when we need to access the different or multiple pods.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt; Ingress is the rules specified to the controller. &lt;/li&gt;
&lt;li&gt; Ingress controller is an Application Load balancer.&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>What is Namespace,Pod's,ReplicationController, Replica set and Deployment by Harish</title>
      <dc:creator>Harish G</dc:creator>
      <pubDate>Tue, 17 Oct 2023 12:03:00 +0000</pubDate>
      <link>https://www.debug.school/harishramu/what-is-namespacepodsreplicationcontroller-replica-set-and-deployment-by-harish-ncp</link>
      <guid>https://www.debug.school/harishramu/what-is-namespacepodsreplicationcontroller-replica-set-and-deployment-by-harish-ncp</guid>
      <description>&lt;h2&gt;
  
  
  Namespace
&lt;/h2&gt;

&lt;ol&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;Using Name space we can restrict the access to other users and isolate the resources.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Pod
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Pod is the smallest entity of Kubernetes.&lt;/li&gt;
&lt;li&gt;Pod life cycle is – Pending, Running, Failed.&lt;/li&gt;
&lt;li&gt;Pod can’t be created they can only be instantiated.&lt;/li&gt;
&lt;li&gt;we can go inside the container using pod exec.&lt;/li&gt;
&lt;li&gt;we can get container logs using kubectl logs.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ol&gt;
&lt;li&gt;Replicationcontroller is used to instantiate multiple pods and control the running pods.&lt;/li&gt;
&lt;li&gt;Replica Set is the updated version of ReplicationController.
 
## Deployment&lt;/li&gt;
&lt;li&gt;Deployment is used to instantiate pod and control the running pods using help of Replica Set and pod.&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>What is Pod by Harish</title>
      <dc:creator>Harish G</dc:creator>
      <pubDate>Mon, 16 Oct 2023 11:56:55 +0000</pubDate>
      <link>https://www.debug.school/harishramu/what-is-pod-by-harish-55l6</link>
      <guid>https://www.debug.school/harishramu/what-is-pod-by-harish-55l6</guid>
      <description>&lt;h2&gt;
  
  
  What is Pod?
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt; Pod is the smallest entity of Kubernetes.&lt;/li&gt;
&lt;li&gt; Pod life cycle is – Pending, Running, Failed.&lt;/li&gt;
&lt;li&gt; Pod can’t be created they can only be instantiated.&lt;/li&gt;
&lt;li&gt; Pod can be configured in multiple ways eg. 1 pod having 1 container, 1 pod having 2 container , 1 cluster having 2 or more containers &lt;/li&gt;
&lt;li&gt; Ip is assigned to pod all containers in pod will have same IP address. &lt;/li&gt;
&lt;li&gt; In same pod having similar or same container is bad design. &lt;/li&gt;
&lt;li&gt; Containers inside the pod can communicate through localhost or with pod IP.&lt;/li&gt;
&lt;li&gt; To access the container, use the pod IP with port to access application. &lt;/li&gt;
&lt;li&gt; Pod can’t be deleted or paused.&lt;/li&gt;
&lt;li&gt;Pod helps us in scaling the application.&lt;/li&gt;
&lt;li&gt;Pod is instantiated by kubelet.&lt;/li&gt;
&lt;li&gt;Pod can we instantiated using the yml file.&lt;/li&gt;
&lt;li&gt;Type = pod will specify the yml to create pod.&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>What is Kubernetes by Harish</title>
      <dc:creator>Harish G</dc:creator>
      <pubDate>Mon, 16 Oct 2023 07:33:48 +0000</pubDate>
      <link>https://www.debug.school/harishramu/what-is-kubernetes-by-harish-123a</link>
      <guid>https://www.debug.school/harishramu/what-is-kubernetes-by-harish-123a</guid>
      <description>&lt;h2&gt;
  
  
  What is Kubernetes?
&lt;/h2&gt;

&lt;p&gt;Kubernetes (or k8s) is an orchestrator tool for containers. which helps to manage the containers in production environment.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why do we need Kubernetes?
&lt;/h2&gt;

&lt;p&gt;Kubernetes is used for managing the container. Which helps us in creating more reliable and scalable application. In production environment creating the application to be online and be available for large number of users is more important with the help of Kubernetes we can make our application more efficient and serve our customer. Kubernetes is helpful while upgrading out application with out any down time which help’s the us to role out any changes at any point of time. With the help of the role back feature we can roll back the upgrade or down gradle the feature with zero down time.&lt;br&gt;
Overall, the Kubernetes helps us in managing our application effortlessly and keep us healthy, wealthy, and happy.&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://www.debug.school/images/EV-lPhaj1N4mjdRDxSULfjAoN4TKM2DwHhM_Q0Xu_Xc/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvdWJwZHBk/bGUxM3FwYzdjZGNv/djYucG5n" class="article-body-image-wrapper"&gt;&lt;img src="https://www.debug.school/images/EV-lPhaj1N4mjdRDxSULfjAoN4TKM2DwHhM_Q0Xu_Xc/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvdWJwZHBk/bGUxM3FwYzdjZGNv/djYucG5n" alt="Image description" width="760" height="415"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As we discussed Kubernetes is an orchestrator tool for containers. Which will have cluster which consist of master and worker node. The master helps us in managing the worker node activities such as creating pods, maintaining pods etc in worker node, based on the instruction given by developer in YAML. &lt;/p&gt;

&lt;h2&gt;
  
  
  Explain each component of Kubernetes Architecture?
&lt;/h2&gt;

&lt;p&gt;Kubernetes Cluster have 2 major components. &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Master or control plain. &lt;/li&gt;
&lt;li&gt; Worker 
Master has 4 main components – ApiServer, Persistent volume, Controller, Scheduler 
Worker has 3 main component – Kubelet, Kube-proxy, Container.d&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://www.debug.school/images/EDsk3Li-CWBO51S09nANdiH7jqjSrerGwUDTmfZiW70/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvNWVzazJ5/bzZpNG0wN3g2YTA2/bWcucG5n" class="article-body-image-wrapper"&gt;&lt;img src="https://www.debug.school/images/EDsk3Li-CWBO51S09nANdiH7jqjSrerGwUDTmfZiW70/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvNWVzazJ5/bzZpNG0wN3g2YTA2/bWcucG5n" alt="Image description" width="760" height="456"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Master or control plain. 
a.  ApiServer – This is the only gateway to communicate with in the cluster. All the requests are passed from apiServer.
b.  Persistent volume(etcd) – This is the source of truth in k8s. this is the memory unit of the Kubernetes.
c.  Controller – This is the watcher in Kubernetes. Which keeps listening in loop with all the components in k8s and getting the data or stat. 
d.  Scheduler – This helps in scheduling the container or tasks in cluster. &lt;/li&gt;
&lt;li&gt; Worker 
a.  Kubelet – This is used in managing the pod. Eg. Initializing the pods etc 
b.  Proxy – This is the network component of pod which helps to communicate between the different pod, host etc.
c.  Container.d – This the containerizing host which help to run the docker container on node or worker. &lt;/li&gt;
&lt;/ol&gt;

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