<?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: Asit sahoo</title>
    <description>The latest articles on Debug School by Asit sahoo (@asitsoracle_263).</description>
    <link>https://www.debug.school/asitsoracle_263</link>
    <image>
      <url>https://www.debug.school/images/3YkEWQY5nWecxXZmkpbxTbZdHQTual-bLhVtJRn_l_U/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvdXNl/ci9wcm9maWxlX2lt/YWdlLzE5OS8wY2Q0/NzVkYi1mMDNlLTRm/YTgtYjQ2Mi1lYmUy/MmIyODVmODgucG5n</url>
      <title>Debug School: Asit sahoo</title>
      <link>https://www.debug.school/asitsoracle_263</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/asitsoracle_263"/>
    <language>en</language>
    <item>
      <title>The list of resources which We learnt in this session with 1 liner explanation.</title>
      <dc:creator>Asit sahoo</dc:creator>
      <pubDate>Fri, 11 Nov 2022 05:52:38 +0000</pubDate>
      <link>https://www.debug.school/asitsoracle_263/the-list-of-resources-which-we-learnt-in-this-session-with-1-liner-explanation-558m</link>
      <guid>https://www.debug.school/asitsoracle_263/the-list-of-resources-which-we-learnt-in-this-session-with-1-liner-explanation-558m</guid>
      <description>&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Replication controller : It means number of pod replicas running at any one time .&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Deployment : It runs multiple replicas of the application and automatically replaces if any instance got failed, it ensures that one or more instance of your application is available.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Labels : It's a key value pair which identifies that are attached to objects such as pods.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Services : It works as  a Load balancer.&lt;br&gt;
 CLuster Ip : LoadBalance POD and Only accessible inside &lt;br&gt;
              cluster&lt;br&gt;
nodeport : Create clusterip svc , It would port-forward at &lt;br&gt;
           each node of the cluster&lt;br&gt;
loadbalancer : create LB and add each worker to LB.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Persistent Volume / PVC : PV means storage of cluster given by storage Administrator . PVC means we can claim the storage from PV and mount it to pod, containers.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Configmap and Secrets : Configmap used to store configuration of files , commandline arguments, environemnt files. &lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Secret used to store data in base 64 encoding format , &lt;br&gt;
    passwords, token.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Stateful set : It's always be in sequential order when ever we  create a pod like pod1--pod2 -- pod3 &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Daemon set : It's a agent used in each machine or VM. We normally used like one POD in each worker for better monitoring purpose , maintenance activity , security concerns. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Cron Job : It creates jobs on repeating schedule like in a crontab file.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>What is POD?</title>
      <dc:creator>Asit sahoo</dc:creator>
      <pubDate>Wed, 09 Nov 2022 07:49:35 +0000</pubDate>
      <link>https://www.debug.school/asitsoracle_263/what-is-pod-2ai2</link>
      <guid>https://www.debug.school/asitsoracle_263/what-is-pod-2ai2</guid>
      <description>&lt;ol&gt;
&lt;li&gt;It's a unit scheduling which contains containers inside pod.&lt;/li&gt;
&lt;li&gt;pods have multiple containers.&lt;/li&gt;
&lt;li&gt;tight coupling.&lt;/li&gt;
&lt;li&gt;Pod contains multi containers and with the resource allocation things.&lt;/li&gt;
&lt;li&gt;Pod is a deployable objects in kubernetes.&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>How Kubernetes works?</title>
      <dc:creator>Asit sahoo</dc:creator>
      <pubDate>Wed, 09 Nov 2022 07:46:24 +0000</pubDate>
      <link>https://www.debug.school/asitsoracle_263/how-kubernetes-works-2480</link>
      <guid>https://www.debug.school/asitsoracle_263/how-kubernetes-works-2480</guid>
      <description>&lt;p&gt;Kubernetes has the master and worker nodes .&lt;/p&gt;

&lt;p&gt;Matser Nodes:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Api Server which exposes the API(REST) consumes Json via manifets files.&lt;/li&gt;
&lt;li&gt;Cluster store which works as a storage names etcd kept data as 
key value pairs. &lt;/li&gt;
&lt;li&gt;kube control manager , node contoller, end point controller watches changes in any of pods in desired state.&lt;/li&gt;
&lt;li&gt;Kube scheduler check if any ne pods need to instantiate and communicate with APi server.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Worker nodes:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;container engine means pulling images, starting/stopping container.&lt;/li&gt;
&lt;li&gt;kubelet  watches api server, instantiate pods , exposes end points(10255)&lt;/li&gt;
&lt;li&gt;kube proxy it contains pod ip addresses, load balance across all services in pod.
3.&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>Why we need Kubernetes?</title>
      <dc:creator>Asit sahoo</dc:creator>
      <pubDate>Wed, 09 Nov 2022 07:16:59 +0000</pubDate>
      <link>https://www.debug.school/asitsoracle_263/why-we-need-kubernetes-54e3</link>
      <guid>https://www.debug.school/asitsoracle_263/why-we-need-kubernetes-54e3</guid>
      <description>&lt;ol&gt;
&lt;li&gt;Containers bring scalability challenges.&lt;/li&gt;
&lt;li&gt;Self healing.&lt;/li&gt;
&lt;li&gt;Storage orchestration.&lt;/li&gt;
&lt;li&gt;Automatically deployment purpose.&lt;/li&gt;
&lt;li&gt;Load balancing.&lt;/li&gt;
&lt;li&gt;Easy way to scale your application comparing to virtual machines.&lt;/li&gt;
&lt;li&gt;deploying images and containers.&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>What is kubernetes ?</title>
      <dc:creator>Asit sahoo</dc:creator>
      <pubDate>Wed, 09 Nov 2022 07:09:11 +0000</pubDate>
      <link>https://www.debug.school/asitsoracle_263/what-is-kubernetes--4cpi</link>
      <guid>https://www.debug.school/asitsoracle_263/what-is-kubernetes--4cpi</guid>
      <description>&lt;ol&gt;
&lt;li&gt;It is container Orchestrator.&lt;/li&gt;
&lt;li&gt;Improve the scalability things.&lt;/li&gt;
&lt;li&gt;Workload management .&lt;/li&gt;
&lt;li&gt;Automating software deployments, scaling and management.&lt;/li&gt;
&lt;li&gt;Desired state.&lt;/li&gt;
&lt;li&gt;Ability to recover quickly.&lt;/li&gt;
&lt;li&gt;Ability to do the changes required whenever needed.&lt;/li&gt;
&lt;li&gt;Speed of deployment.&lt;/li&gt;
&lt;li&gt;Ability to hide the complexity in the cluster.&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>Diff between docker stop and docker kill?</title>
      <dc:creator>Asit sahoo</dc:creator>
      <pubDate>Tue, 08 Nov 2022 05:04:27 +0000</pubDate>
      <link>https://www.debug.school/asitsoracle_263/diff-between-docker-stop-and-docker-kill-3546</link>
      <guid>https://www.debug.school/asitsoracle_263/diff-between-docker-stop-and-docker-kill-3546</guid>
      <description>&lt;p&gt;Docker stop command stops the container gracefully but if the docker stop command failed to terminate within the specified time Docker kill command forcefully terminate it.&lt;/p&gt;

&lt;p&gt;The docker kill command terminates the process abruptly. &lt;/p&gt;

</description>
    </item>
    <item>
      <title>Diff between docker pause and docker unpause?</title>
      <dc:creator>Asit sahoo</dc:creator>
      <pubDate>Tue, 08 Nov 2022 04:55:59 +0000</pubDate>
      <link>https://www.debug.school/asitsoracle_263/diff-between-docker-pause-and-docker-unpause-53c</link>
      <guid>https://www.debug.school/asitsoracle_263/diff-between-docker-pause-and-docker-unpause-53c</guid>
      <description>&lt;p&gt;docker pause 6157a3fe61aa&lt;br&gt;
   48  docker run httpd&lt;br&gt;
   49  docker pause asit&lt;br&gt;
   50  docker start asit&lt;br&gt;
   51  docker ps -a&lt;br&gt;
   52  docker pause 7ca9f93eb310&lt;br&gt;
   53  docker pause asit&lt;br&gt;
   54  docker stats asit&lt;br&gt;
   55  docker unpause asit&lt;br&gt;
   56  docker stats asit&lt;br&gt;
   57  docker ps&lt;br&gt;
CONTAINER ID   NAME          CPU %     MEM USAGE / LIMIT     MEM %     NET I/O     BLOCK I/O   PIDS&lt;br&gt;
34bc638e7336   keen_keller   0.01%     8.785MiB / 3.701GiB   0.23%     656B / 0B   0B / 0B     82&lt;/p&gt;

&lt;p&gt;Difference will be CPU will not be allocated while running docker pause and when we do unpause in CPU allocation will start.&lt;/p&gt;

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