<?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: rathi</title>
    <description>The latest articles on Debug School by rathi (@rathipriya1_971).</description>
    <link>https://www.debug.school/rathipriya1_971</link>
    <image>
      <url>https://www.debug.school/images/H1WC-XQIcvmcqSPxAz9wMt_HG_wqMPNoHb_D_qD34DM/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvdXNl/ci9wcm9maWxlX2lt/YWdlLzEzOC9hODUw/NWIyMi0yNTNhLTQ4/NDgtYTRkNS1iYjE3/NGVhNzk2ZDEucG5n</url>
      <title>Debug School: rathi</title>
      <link>https://www.debug.school/rathipriya1_971</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/rathipriya1_971"/>
    <language>en</language>
    <item>
      <title>K8-POD/Deploy/Service)</title>
      <dc:creator>rathi</dc:creator>
      <pubDate>Wed, 19 Oct 2022 09:16:39 +0000</pubDate>
      <link>https://www.debug.school/rathipriya1_971/k8-poddeployservice-30le</link>
      <guid>https://www.debug.school/rathipriya1_971/k8-poddeployservice-30le</guid>
      <description>&lt;p&gt;*&lt;em&gt;POD *&lt;/em&gt;&lt;br&gt;
POD is atomic unit of scheduling in K8 cluster which is instantiated by Kubelet&lt;br&gt;
POD is an api resource in k8 cluster which can be created or deleted.&lt;br&gt;
It is application or service.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Characteristics of pod&lt;/strong&gt;&lt;br&gt;
POD can contain one or more containers.&lt;br&gt;
All pods can communicated with other pods in same cluster.&lt;br&gt;
Same POD cannot be redeployed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Deployment and its feature&lt;/strong&gt;&lt;br&gt;
Deployment is K8 resource kind.&lt;br&gt;
&lt;strong&gt;Features&lt;/strong&gt;&lt;br&gt;
Deployment can be rolled out or rolled back.&lt;br&gt;
Deployment can be versioned.&lt;br&gt;
Deployment can be configured by replicas.&lt;br&gt;
Deployment can be scaled up or down&lt;br&gt;
Deployments can be created/modified or deleted.&lt;br&gt;
Deployment strategy can be recreate or rollingupdate&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Services and its types&lt;/strong&gt;&lt;br&gt;
Service is a load balancer and its types can be network or application.&lt;br&gt;
Service load balances pod/network level.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Kubernetes Architecture and its components.</title>
      <dc:creator>rathi</dc:creator>
      <pubDate>Tue, 18 Oct 2022 06:33:00 +0000</pubDate>
      <link>https://www.debug.school/rathipriya1_971/kubernetes-architecture-and-its-components-39ib</link>
      <guid>https://www.debug.school/rathipriya1_971/kubernetes-architecture-and-its-components-39ib</guid>
      <description>&lt;p&gt;&lt;strong&gt;Kubernetes Architecture&lt;/strong&gt;&lt;br&gt;
1)K8 Architecture consists of Master(s) and Worker Nodes. Worker node can have multiple pods.&lt;br&gt;
2)Worker Node contains PODs and PODS contain one or more containers.&lt;br&gt;
3)Deployment Instruction is received by Master and it is in charge to instantiate the pod.&lt;br&gt;
4)Master of Linux can be combined with worker nodes of windows too (but with recent version of windows) (Doubt)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Component of master and its role for each&lt;/strong&gt;&lt;br&gt;
1)Kubi-APIServer - Receives all instructions in the form of JSON.(REST)&lt;br&gt;
2)Cluster Store . Key Value pair. Cluster information is persisted in this. powered by etcd.&lt;br&gt;
3)Kube Controller manager - Controllers different type of controllers. Watches and maintains desired state.&lt;br&gt;
4)Kube Scheduler - Watches APIServer for new pod requests. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Component of worker and its role for each....&lt;/strong&gt;&lt;br&gt;
1)Kubelet - Main agent in worker node. Registers node with the cluster. Instantiates pod. Reports to master.&lt;br&gt;
Responsible for pod lifecycle.(Pending-running-Success). &lt;br&gt;
No same pod can be received. But Similar pod can be maintained.&lt;br&gt;
2)Container Engine - Pulls images. Usually docker. Recently it is rkt.&lt;br&gt;
3)Kube Proxy - It takes care of networking relevant requirements of the newly created pod.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Problems solved by K8</title>
      <dc:creator>rathi</dc:creator>
      <pubDate>Tue, 18 Oct 2022 04:42:17 +0000</pubDate>
      <link>https://www.debug.school/rathipriya1_971/problems-solved-by-k8-54im</link>
      <guid>https://www.debug.school/rathipriya1_971/problems-solved-by-k8-54im</guid>
      <description>&lt;p&gt;1)Scalability challenges due to container based deployment.&lt;br&gt;
2)Network Load Balancing issue due to container applications running on same port.&lt;br&gt;
3)Auto discovery of new services.&lt;br&gt;
4)Manages docker host(s) at any scale.&lt;br&gt;
5)Workload placement - Placement of containers on appropriate clusters or nodes.&lt;br&gt;
6)Auto Scale up or Scale down of container services.&lt;br&gt;
7)Configuration Management and Secret managemen for larger cluster of container applications.&lt;br&gt;
8)Self Healing capability.&lt;br&gt;
9)Container monitoring  capability and manages health of the cluster.&lt;br&gt;
10)It also works well to manage micro service based applications , where applications need to talk to each other.&lt;br&gt;
11)Avoids human intervention. &lt;br&gt;
12)Reduces time and effort and cost and provides service to the customer with high performance.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Rathipriya Assigment - Docker Training Day1</title>
      <dc:creator>rathi</dc:creator>
      <pubDate>Mon, 17 Oct 2022 11:27:17 +0000</pubDate>
      <link>https://www.debug.school/rathipriya1_971/rathipriya-assigment-docker-training-day1-5cmf</link>
      <guid>https://www.debug.school/rathipriya1_971/rathipriya-assigment-docker-training-day1-5cmf</guid>
      <description>&lt;p&gt;**  Difference between docker kill and docker stop?**&lt;br&gt;&lt;br&gt;
    "docker stop" command stops all processes gracefully whereas docker kills  the processes abruptly. &lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;It is also noticed that docker kill works on running containers only. 
If it is executed on non running containers then below error is seen.
root@ip-172-31-22-5:/home/ubuntu# docker stop rathi
rathi
root@ip-172-31-22-5:/home/ubuntu# docker kill rathi
Error response from daemon: Cannot kill container: rathi: Container 5cbe35371e6122791a5504d6e4315241cc423895fc77580132a55663d8b108e9 is not running
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;docker pause and docker unpause difference&lt;/strong&gt;&lt;br&gt;
        &lt;em&gt;Docker pause&lt;/em&gt; puts all the threads of specified container threads to suspended state. &lt;br&gt;
        _Docker unpaus_e resumes all the threads of the specified container to running state.&lt;br&gt;
**&lt;br&gt;
URL of the images pushed**&lt;br&gt;
&lt;a href="https://hub.docker.com/repository/registry-1.docker.io/rathipriya28052020/rathidocimg/tags?page=1&amp;amp;ordering=last_updated"&gt;https://hub.docker.com/repository/registry-1.docker.io/rathipriya28052020/rathidocimg/tags?page=1&amp;amp;ordering=last_updated&lt;/a&gt;&lt;/p&gt;

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