<?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: Ananthu PM</title>
    <description>The latest articles on Debug School by Ananthu PM (@ananthupmadhu_853).</description>
    <link>https://www.debug.school/ananthupmadhu_853</link>
    <image>
      <url>https://www.debug.school/images/IZlEZ1SXrs0knFD-_Sdq-w80WEpbwrUIp2Ie7QgPSvY/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvdXNl/ci9wcm9maWxlX2lt/YWdlLzcwNy8yM2Nm/NmQwOC1jYzM3LTRm/YjItOGZjYS0yODM1/MTllMWQ5YjQucG5n</url>
      <title>Debug School: Ananthu PM</title>
      <link>https://www.debug.school/ananthupmadhu_853</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/ananthupmadhu_853"/>
    <language>en</language>
    <item>
      <title>K8S - Service</title>
      <dc:creator>Ananthu PM</dc:creator>
      <pubDate>Mon, 25 Sep 2023 07:34:41 +0000</pubDate>
      <link>https://www.debug.school/ananthupmadhu_853/k8s-service-816</link>
      <guid>https://www.debug.school/ananthupmadhu_853/k8s-service-816</guid>
      <description>&lt;h2&gt;
  
  
  What is service?
&lt;/h2&gt;

&lt;p&gt;service is a routing used to manage network traffic between pods.&lt;br&gt;
When we have multiple pods service make management and discovery of service make easy.&lt;/p&gt;

&lt;p&gt;service manage pods which match the pods label with service selector field.&lt;/p&gt;

&lt;p&gt;Service can be creating as 4 types:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;clusterip&lt;/li&gt;
&lt;li&gt;nodeport&lt;/li&gt;
&lt;li&gt;loadbalancer&lt;/li&gt;
&lt;li&gt;ExternalName &lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  clusterip
&lt;/h3&gt;

&lt;p&gt;cluserip used to create service which need to accessible only inside the cluster.&lt;br&gt;
which manage different pods as single endpoint.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;kubectl create service clusterip service-name --tcp=5678:80
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  nodeport
&lt;/h3&gt;

&lt;p&gt;nodeport used to create service and port forward to each Node/host port include master node.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;kubectl create service nodeport service-name --tcp=5678:80
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  loadbalancer
&lt;/h3&gt;

&lt;p&gt;load balancer create service that can be accessible from out side as single endpoint and this service balance the traffic and route the traffic to the node port which port forward to the clusterip service.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;kubectl create service loadbalancer service-name --tcp=5678:80
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
    </item>
    <item>
      <title>Assignment#2 – Day 2</title>
      <dc:creator>Ananthu PM</dc:creator>
      <pubDate>Fri, 22 Sep 2023 12:02:08 +0000</pubDate>
      <link>https://www.debug.school/ananthupmadhu_853/assignment2-day-2-emb</link>
      <guid>https://www.debug.school/ananthupmadhu_853/assignment2-day-2-emb</guid>
      <description>&lt;h2&gt;
  
  
  What is Namespaces? Explain with Image
&lt;/h2&gt;

&lt;p&gt;Namespaces is a logical division in cluster&lt;/p&gt;

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

&lt;p&gt;Pod is atomic logical unit which contain containers.&lt;/p&gt;

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

&lt;p&gt;Replica-Sets create to overcome replication controller bugs, which help to create multiple instances of pod.&lt;/p&gt;

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

&lt;p&gt;Deployment contain: replica, controller, rollout, rollback ,version , which use Replica Sets set for replica and controller&lt;br&gt;
rollback , rollout, version for versioning and upgrade or downgrade the application in less time. &lt;br&gt;
recreate and rollback are 2 rollback strategy and rollback is default&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.debug.school/images/KuxaItfd7KIB_r1SCnsHcIVQRZpnfQvc-Ln1IVJ9iu8/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMva2dyOXA3/eTFleWtiNGFtMWF2/MmEuUE5H" class="article-body-image-wrapper"&gt;&lt;img src="https://www.debug.school/images/KuxaItfd7KIB_r1SCnsHcIVQRZpnfQvc-Ln1IVJ9iu8/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMva2dyOXA3/eTFleWtiNGFtMWF2/MmEuUE5H" alt="Image description" width="800" height="455"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>K8S for me</title>
      <dc:creator>Ananthu PM</dc:creator>
      <pubDate>Thu, 21 Sep 2023 09:14:30 +0000</pubDate>
      <link>https://www.debug.school/ananthupmadhu_853/k8s-for-me-1564</link>
      <guid>https://www.debug.school/ananthupmadhu_853/k8s-for-me-1564</guid>
      <description>&lt;h2&gt;
  
  
  What is Kubernetes?
&lt;/h2&gt;

&lt;p&gt;Kubernetes is application that help to manage and scale the containers easily for large scale applications.&lt;/p&gt;

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

&lt;p&gt;In containerized application we have lots of drawback like scalability, auto heal, maintainability. &lt;br&gt;
K8s introduced to overcome this all the problems. &lt;/p&gt;

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

&lt;p&gt;K8s have master Nodes or multi master nodes and worker nodes, where master node manages schedule job for worker node. through the help of apiservers, controllers and schedulers.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.debug.school/images/JJnRPzvVqAKU-sLYRLx067rFyPoh_jYzJBoDDC3OxyM/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvdDVxZHl1/Z216Z2RjbGtkZHpp/bXIuUE5H" class="article-body-image-wrapper"&gt;&lt;img src="https://www.debug.school/images/JJnRPzvVqAKU-sLYRLx067rFyPoh_jYzJBoDDC3OxyM/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvdDVxZHl1/Z216Z2RjbGtkZHpp/bXIuUE5H" alt="Image description" width="800" height="437"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;api-server, controller manger, etcd, scheduler &lt;/p&gt;

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

&lt;p&gt;kuelet, docker-engine, controller proxy&lt;/p&gt;

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