<?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: Rahul</title>
    <description>The latest articles on Debug School by Rahul (@rahjain8).</description>
    <link>https://www.debug.school/rahjain8</link>
    <image>
      <url>https://www.debug.school/images/zzyQsxjwWc-ms-WVcE1KBlDdVbPm8nDeHqqP2vhMKh4/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvdXNl/ci9wcm9maWxlX2lt/YWdlLzY5Mi81NWMx/ZWQzMi0zOGQ0LTQ5/MjEtYjk2ZS03Njc5/Y2NiZTE4ZTkucG5n</url>
      <title>Debug School: Rahul</title>
      <link>https://www.debug.school/rahjain8</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/rahjain8"/>
    <language>en</language>
    <item>
      <title>Services</title>
      <dc:creator>Rahul</dc:creator>
      <pubDate>Mon, 25 Sep 2023 07:30:37 +0000</pubDate>
      <link>https://www.debug.school/rahjain8/services-55d4</link>
      <guid>https://www.debug.school/rahjain8/services-55d4</guid>
      <description>&lt;h2&gt;
  
  
  what is Services
&lt;/h2&gt;

&lt;p&gt;Services are the resources which help to load balance the traffic route to the pods. Services works when the mapping defined in the Selector of service and labels defined at the pod is same.&lt;/p&gt;

&lt;h2&gt;
  
  
  Types of Services:
&lt;/h2&gt;

&lt;p&gt;1) ClusterIP- This is a default one. This works within the cluster.&lt;br&gt;
2) NodePort- This is the service exposed at the Node level. This can be accessed from outside the cluster&lt;br&gt;
3) LoadBalancer- This service will be created by kubernetes in conjuction with underlying environment. It can be AWS or Azure. This service has to add all the nodes where balancing needs to be done.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Assignment 2</title>
      <dc:creator>Rahul</dc:creator>
      <pubDate>Fri, 22 Sep 2023 11:55:53 +0000</pubDate>
      <link>https://www.debug.school/rahjain8/assignment-2-3823</link>
      <guid>https://www.debug.school/rahjain8/assignment-2-3823</guid>
      <description>&lt;h2&gt;
  
  
  What is Namespaces? Explain with Image
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.debug.school/images/Yj26_eOlSmrs_6q-rF97pgBK2Cxz2b0hX68d_1QTZU0/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvN2Y2eTNj/NGQxMnBiZndiZXg3/eW4ucG5n" class="article-body-image-wrapper"&gt;&lt;img src="https://www.debug.school/images/Yj26_eOlSmrs_6q-rF97pgBK2Cxz2b0hX68d_1QTZU0/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvN2Y2eTNj/NGQxMnBiZndiZXg3/eW4ucG5n" alt="Image description" width="800" height="416"&gt;&lt;/a&gt;&lt;br&gt;
Namespace is a logical separation of resources within the cluster so that if multiple teams are using the same cluster.&lt;br&gt;
In this image there are 3 namespaces shown:&lt;br&gt;
1) Default: This is a default namespace and all those resources which are deployed without any namespace will be deployed here.&lt;br&gt;
2) There are two other namespace viz: dev and qa created here&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Pod? Explain with Image
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.debug.school/images/adoQoCsm-rrNSYufyfOF0hxr3B19uMFVnBh7jUIdv4Q/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvMjRhNWhl/ZzFyejhlZHgxejZx/NHgucG5n" class="article-body-image-wrapper"&gt;&lt;img src="https://www.debug.school/images/adoQoCsm-rrNSYufyfOF0hxr3B19uMFVnBh7jUIdv4Q/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvMjRhNWhl/ZzFyejhlZHgxejZx/NHgucG5n" alt="Image description" width="442" height="440"&gt;&lt;/a&gt;&lt;br&gt;
Image is an atomic deployment which provide isolated environment to run your containers.&lt;br&gt;
You can run multiple containers within pod. In the current image there are 2 containers deployed within the same pod.&lt;br&gt;
Cluster manages the lifecycle of pods.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is ReplicaSets? Explain with Image
&lt;/h2&gt;

&lt;p&gt;A ReplicaSet  is a resource that ensures there is always a stable set of running pods for a specific workload.&lt;br&gt;
If due to some issues, few pods goes down it will help bring them back so that at any point of time desired state is met&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.debug.school/images/X-fy41VvrjsDxhdh8ptUrnt_kk6zpLQjOzVHPKaa3a0/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvMnV2NGFs/NWxicGU2amlmcmtv/aXMucG5n" class="article-body-image-wrapper"&gt;&lt;img src="https://www.debug.school/images/X-fy41VvrjsDxhdh8ptUrnt_kk6zpLQjOzVHPKaa3a0/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvMnV2NGFs/NWxicGU2amlmcmtv/aXMucG5n" alt="Image description" width="800" height="427"&gt;&lt;/a&gt;&lt;br&gt;
What is Deployment? Explain with Image&lt;br&gt;
A Deployment is a  declarative way to updates  Pods and ReplicaSets.&lt;/p&gt;

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

</description>
    </item>
    <item>
      <title>Kubernetes Introduction</title>
      <dc:creator>Rahul</dc:creator>
      <pubDate>Thu, 21 Sep 2023 09:15:08 +0000</pubDate>
      <link>https://www.debug.school/rahjain8/kubernetes-introduction-41km</link>
      <guid>https://www.debug.school/rahjain8/kubernetes-introduction-41km</guid>
      <description>&lt;h2&gt;
  
  
  What is Kubernetes?
&lt;/h2&gt;

&lt;p&gt;Kubernetes is an open source tool from CNCF community which is used to deploy  containers (work) and manage their lifecycle.&lt;/p&gt;

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

&lt;p&gt;Kubernetes is helping us to overcome some of the challenges brought by containerization w.r.t our scaling architecture. For Example:  Port conflicts if multiple instances of application requires same port for communication.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it works?
&lt;/h2&gt;

&lt;p&gt;Kubernetes creates a separate Pod or cluster overlay network which helps multiple containers deployed in same node or multiple nodes to talk directly. &lt;br&gt;
It uses Host network to communicate between Minnions and Master nodes. Worker Nodes chooses master during registration and exchange certificate during initial registration process and that is how they establish a relation.&lt;br&gt;
Scheduler decides which node to be picked to instantiate pod&lt;br&gt;
Any external request (Json or yaml) target to API server (via network load balancer) will be sent to the worker node.&lt;/p&gt;

&lt;h2&gt;
  
  
  What are the components of Master?
&lt;/h2&gt;

&lt;p&gt;There are 4 major components to consider any node to be MASTER. Below are those:&lt;br&gt;
1) Api server&lt;br&gt;
2) Controlloer&lt;br&gt;
3) Storage&lt;br&gt;
4) Scheduler&lt;/p&gt;

&lt;h2&gt;
  
  
  What are the components of Worker?
&lt;/h2&gt;

&lt;p&gt;1) Kubelet&lt;br&gt;
2) Kube proxy&lt;/p&gt;

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