<?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: Soumya</title>
    <description>The latest articles on Debug School by Soumya (@soumya840).</description>
    <link>https://www.debug.school/soumya840</link>
    <image>
      <url>https://www.debug.school/images/CoXZ7XBaF0aLpS4MhcKg_Oss5GYXMNCC7AmP1whSBc4/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvdXNl/ci9wcm9maWxlX2lt/YWdlLzcyNi80MDJk/NzY4MC0yOGYwLTRk/MTAtODFiZi1lNGVl/NGZmOWUwZjUucG5n</url>
      <title>Debug School: Soumya</title>
      <link>https://www.debug.school/soumya840</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/soumya840"/>
    <language>en</language>
    <item>
      <title>What is Daemon Set #3 By Soumya</title>
      <dc:creator>Soumya</dc:creator>
      <pubDate>Wed, 18 Oct 2023 12:02:40 +0000</pubDate>
      <link>https://www.debug.school/soumya840/what-is-daemon-set-3-by-soumya-552</link>
      <guid>https://www.debug.school/soumya840/what-is-daemon-set-3-by-soumya-552</guid>
      <description>&lt;h2&gt;
  
  
  Daemon Set
&lt;/h2&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1.  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.
2.  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;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  Jobs
&lt;/h2&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1. A job is something that runs the specified task using the container image provided in the template.
2. Once the task is completed successfully, the Job is considered finished.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  Crone Jobs
&lt;/h2&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1. Cron Job is a resource that allows you to run Jobs at scheduled intervals.
2. The job is created as a one-time Job when the schedule is met and then terminated.
3. 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;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  Config Map
&lt;/h2&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1. In Kubernetes, a Config Map is a resource that allows you to store configuration data separately from your application code. 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  Services
&lt;/h2&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1. Service is also known as network load balancer.
2. Service only send traffic to healthy pods.
3. Services can be accessible from outside the cluster.
4. It uses TCP by default and load balancing is Random load balancing by default.
5. Service can be configured for session affinity.
6. The labels of pods should be same as the selector labels of service to balance the load.
7. Expose command automatically take the labels from deployment and create a service and balance the load.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  Node Port
&lt;/h2&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1. Node port create a service with cluster IP and type is node port which can be accessible from outside.
2. Node port is something which is used to communicate from outside to the pod.
3. 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;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  Ingress Controller
&lt;/h2&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1. An Ingress Controller in Kubernetes is a component that manages and configures access to services within the cluster from external network traffic. 
2. It acts as a reverse proxy, handling incoming HTTP and HTTPS traffic, and then forwarding requests to the appropriate services and Pods based on the rules defined in the Ingress resource.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
    </item>
    <item>
      <title>What is Deployment #3 By Soumya</title>
      <dc:creator>Soumya</dc:creator>
      <pubDate>Tue, 17 Oct 2023 11:54:18 +0000</pubDate>
      <link>https://www.debug.school/soumya840/what-is-deployment-3-by-soumya-2l8k</link>
      <guid>https://www.debug.school/soumya840/what-is-deployment-3-by-soumya-2l8k</guid>
      <description>&lt;ol&gt;
&lt;li&gt;Troubleshooting of pods.&lt;/li&gt;
&lt;li&gt;A Replication Controller is one of the core components in Kubernetes that helps manage and ensure the desired number of replicas (Pods) are running and maintained within a cluster. &lt;/li&gt;
&lt;li&gt;It is a primitive and has been largely replaced by the more advanced and flexible ReplicaSet and Deployment controllers in modern Kubernetes.&lt;/li&gt;
&lt;li&gt;A ReplicaSet is a higher-level abstraction in Kubernetes that, like a Replication Controller, helps manage and ensure a desired number of replicas (Pods) are running within a cluster.&lt;/li&gt;
&lt;li&gt;Deployment is the best practice to use for pod creation.&lt;/li&gt;
&lt;li&gt;Deployment used rolling update policy for scaling by default.&lt;/li&gt;
&lt;li&gt;Deployment is consists of replication, controller, versioning, rollout, rollback.&lt;/li&gt;
&lt;li&gt;We can scale up the pods by using commands and all.
9.Namespace is a logical separation of cluster.
10.port forwarding can be done to forward the container port to the pod port.&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>What is POD #2 By Soumya</title>
      <dc:creator>Soumya</dc:creator>
      <pubDate>Mon, 16 Oct 2023 11:51:33 +0000</pubDate>
      <link>https://www.debug.school/soumya840/what-is-pod-2-by-soumya-3188</link>
      <guid>https://www.debug.school/soumya840/what-is-pod-2-by-soumya-3188</guid>
      <description>&lt;ol&gt;
&lt;li&gt;Kubernetes consists of Master and Worker Nodes.&lt;/li&gt;
&lt;li&gt;Master node contains API Server, Cluster Storage, Controller manager and schedulers.&lt;/li&gt;
&lt;li&gt;The worker node contains kube-proxy, container engine and Kubelet.&lt;/li&gt;
&lt;li&gt;Pods are the place where the one or more than one container is running. &lt;/li&gt;
&lt;li&gt;To access the containers running inside the pods we need to access the pod IP.&lt;/li&gt;
&lt;li&gt;If more than one container is running inside a pod is called tight coupling and if one container is running inside one pod is called loose coupling.&lt;/li&gt;
&lt;li&gt;The best practice is to run one container inside one pod for unique port number.&lt;/li&gt;
&lt;li&gt;The Pod is something which only holds the container in it,if a container stops the pod will not start.&lt;/li&gt;
&lt;li&gt;We can use YML configuration files to create a pod.&lt;/li&gt;
&lt;li&gt;Pod holds the configuration information that determine how a container should run.&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>Assignment #1 By Soumya</title>
      <dc:creator>Soumya</dc:creator>
      <pubDate>Mon, 16 Oct 2023 07:29:09 +0000</pubDate>
      <link>https://www.debug.school/soumya840/assignment-1-by-soumya-2139</link>
      <guid>https://www.debug.school/soumya840/assignment-1-by-soumya-2139</guid>
      <description>&lt;h2&gt;
  
  
  What is Kubernetes?
&lt;/h2&gt;

&lt;p&gt;Kubernetes is an open source platform that automates Linux container operations. It is and orchestration platform for scheduling and automating the deployment, management, and scaling of containerized applications.&lt;/p&gt;

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

&lt;p&gt;Below are some reasons why we need Kubernetes :&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Kubernetes is Self-healing.&lt;/li&gt;
&lt;li&gt;Kubernetes is having storage orchestration. &lt;/li&gt;
&lt;li&gt;Kubernetes can handle multiple container which can be running in a single node or in multiple nodes.&lt;/li&gt;
&lt;li&gt;Kubernetes is having automated rollouts and rollbacks.&lt;/li&gt;
&lt;li&gt;Load balancing is taken care by Kubernetes.&lt;/li&gt;
&lt;li&gt;High availability is maintained by Kubernetes.&lt;/li&gt;
&lt;li&gt;Kubernetes is a open source and easily available.&lt;/li&gt;
&lt;li&gt;Managing the scaling of containers and clusters.&lt;/li&gt;
&lt;li&gt;Deploying images and containers.&lt;/li&gt;
&lt;li&gt;Kubernetes is able to store the configuration and security files as well.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ul&gt;
&lt;li&gt;Kubernetes works by Master and Worker. &lt;/li&gt;
&lt;li&gt;Master is the virtual machine which is present in one of the network and manages the workers. &lt;/li&gt;
&lt;li&gt;The workers are the nodes those contains one or more than one pods in it. &lt;/li&gt;
&lt;li&gt;Pods are the place where the one or more than one container is running. To access the containers running inside the pods we need to access the pod IP.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;1.Master&lt;br&gt;
  1.1 API Server : It is the Front-end to the control panel and exposes the APIs.&lt;br&gt;
  1.2 Scheduler : The scheduler is responsible for assigning work to the various nodes.&lt;br&gt;
  1.3 Cluster Storage : It is the persistent storage for cluster state and config.&lt;br&gt;
  1.4 Controller manager : The controller-manager is responsible for making sure that the shared state of the cluster is operating as expected.&lt;/p&gt;

&lt;p&gt;2.Worker&lt;br&gt;
  2.1 Kubelet : It register nodes with cluster and instantiate a pod.&lt;br&gt;
  2.2 Container Engine : It is responsible for running of the container. Kubernetes supports multiple container engines and the default one is containerd.&lt;br&gt;
  2.3 Kube-Proxy : The Kube-proxy routes traffic coming into a node from the service. It forwards requests for work to the correct containers.&lt;/p&gt;

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

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