<?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: varunakg</title>
    <description>The latest articles on Debug School by varunakg (@varunakg_652).</description>
    <link>https://www.debug.school/varunakg_652</link>
    <image>
      <url>https://www.debug.school/images/3Pg5JhVPyAcMkxw5hiT0VglO-zkwJZhvFMdsAp9im5w/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvdXNl/ci9wcm9maWxlX2lt/YWdlLzE4OC84Y2I5/OGRmMy02YzdiLTQ1/ZDUtOWYzYi0zZGI2/Y2YyOTg0OTgucG5n</url>
      <title>Debug School: varunakg</title>
      <link>https://www.debug.school/varunakg_652</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/varunakg_652"/>
    <language>en</language>
    <item>
      <title>Learning in Kubernetes</title>
      <dc:creator>varunakg</dc:creator>
      <pubDate>Fri, 11 Nov 2022 05:51:54 +0000</pubDate>
      <link>https://www.debug.school/varunakg_652/learning-in-kubernetes-5bnn</link>
      <guid>https://www.debug.school/varunakg_652/learning-in-kubernetes-5bnn</guid>
      <description>&lt;p&gt;ETCD, Controller Manager, API Server, Scheduler, POD, Storage Class, Configmap, Secret, PV, PVC, Job, Cronjob, stateful, stateless&lt;/p&gt;

</description>
    </item>
    <item>
      <title>What is POD?</title>
      <dc:creator>varunakg</dc:creator>
      <pubDate>Wed, 09 Nov 2022 07:36:50 +0000</pubDate>
      <link>https://www.debug.school/varunakg_652/what-is-pod-1e4p</link>
      <guid>https://www.debug.school/varunakg_652/what-is-pod-1e4p</guid>
      <description>&lt;p&gt;A pod is the smallest execution unit in Kubernetes. A pod encapsulates one or more applications. If a pod (or the node it executes on) fails, Kubernetes can automatically create a new replica of that pod to continue operations. &lt;br&gt;
When pods contain multiple containers, communications, and data sharing between them is simplified. Since all containers in a pod share the same network namespace, they can locate each other and communicate via localhost. Pods can communicate with each other by using another pods IP address or by referencing a resource that resides in another pod.&lt;br&gt;
Pods can include containers that run when the pod is started, say to perform initiation required before the application containers run. Additionally, pods simplify scalability, enabling replica pods to be created and shut down automatically based on changes in demand.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How Kubernetes works?All components and roles of their components</title>
      <dc:creator>varunakg</dc:creator>
      <pubDate>Wed, 09 Nov 2022 07:32:24 +0000</pubDate>
      <link>https://www.debug.school/varunakg_652/how-kubernetes-worksall-components-and-roles-of-their-components-3jhh</link>
      <guid>https://www.debug.school/varunakg_652/how-kubernetes-worksall-components-and-roles-of-their-components-3jhh</guid>
      <description>&lt;p&gt;Kubernetes is a system that manages containers (containerized applications) where a container could be explained as a lightweight virtual machine. To build an application you need to build a bunch of containers and then use Kubernetes to manage those containers.&lt;/p&gt;

&lt;p&gt;A Kubernetes cluster has two main components—the control plane and data plane, machines used as compute resources :&lt;br&gt;
-The control plane hosts the components used to manage the Kubernetes cluster. &lt;br&gt;
-Worker nodes can be virtual machines (VMs) or physical machines. A node hosts pods, which run one or more containers. &lt;/p&gt;

&lt;p&gt;Here are the main components of the control plane:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;kube-apiserver : Provides an API that serves as the front end of a Kubernetes control plane. It is responsible for handling external and internal requests—determining whether a request is valid and then processing it.&lt;/li&gt;
&lt;li&gt;kube-scheduler : This component is responsible for scheduling pods on specific nodes according to automated workflows and user defined conditions, which can include resource requests, concerns like affinity and taints or tolerations, priority, persistent volumes (PV), and more.&lt;/li&gt;
&lt;li&gt;kube-controller-manager : The controller manager is responsible for several controllers that handle various automated activities at the cluster or pod level, including replication controller, namespace controller, service accounts controller, deployment, statefulset, and daemonset.&lt;/li&gt;
&lt;li&gt;etcd : A key-value database that contains data about your cluster state and configuration. Etcd is fault tolerant and distributed.&lt;/li&gt;
&lt;li&gt;cloud-controller-manager : It enables you to connect a Kubernetes cluster with the API of a cloud provider. &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Here are the main components of the Worker nodes:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Nodes : Nodes are physical or virtual machines that can run pods as part of a Kubernetes cluster.&lt;/li&gt;
&lt;li&gt;Pods : A pod serves as a single application instance, and is considered the smallest unit in the object model of Kubernetes. &lt;/li&gt;
&lt;li&gt;Container Runtime Engine : Each node comes with a container runtime engine, which is responsible for running containers.&lt;/li&gt;
&lt;li&gt;kubelet : Each node contains a kubelet, which is a small application that can communicate with the Kubernetes control plane.&lt;/li&gt;
&lt;li&gt;kube-proxy : All compute nodes contain kube-proxy, a network proxy that facilitates Kubernetes networking services.&lt;/li&gt;
&lt;li&gt;Container Networking : Container networking enables containers to communicate with hosts or other containers.&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>Why we need Kubernetes?</title>
      <dc:creator>varunakg</dc:creator>
      <pubDate>Wed, 09 Nov 2022 07:15:37 +0000</pubDate>
      <link>https://www.debug.school/varunakg_652/why-we-need-kubernetes-26dk</link>
      <guid>https://www.debug.school/varunakg_652/why-we-need-kubernetes-26dk</guid>
      <description>&lt;ol&gt;
&lt;li&gt;Container orchestration savings.&lt;/li&gt;
&lt;li&gt;Increased DevOps efficiency for microservices architecture.&lt;/li&gt;
&lt;li&gt;Deploying workloads in multicloud environments.&lt;/li&gt;
&lt;li&gt;More portability with less chance of vendor lock-in.&lt;/li&gt;
&lt;li&gt;Automation of deployment and scalability.&lt;/li&gt;
&lt;li&gt;App stability and availability in a cloud environment.&lt;/li&gt;
&lt;li&gt;Open-source benefits of Kubernetes.&lt;/li&gt;
&lt;li&gt;Free Cloud Solution.&lt;/li&gt;
&lt;li&gt;Architectural advantages.
10.Simplified DevOps and performance.&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>Q1. What is Kubernetes?</title>
      <dc:creator>varunakg</dc:creator>
      <pubDate>Wed, 09 Nov 2022 07:09:07 +0000</pubDate>
      <link>https://www.debug.school/varunakg_652/q1-what-is-kubernetes-ipi</link>
      <guid>https://www.debug.school/varunakg_652/q1-what-is-kubernetes-ipi</guid>
      <description>&lt;p&gt;1-Kubernetes is a system that manages containers where a container could be explained as a lightweight virtual machine.&lt;br&gt;
2-To build an application you need to build a bunch of containers and then use Kubernetes to manage those containers. &lt;br&gt;
3-This sounds like something very difficult and time-consuming, but the advantage is that Kubernetes can create and scale containers automatically and manage storage among all the containers.&lt;br&gt;
4-Kubernetes does load balancing when there is too much traffic.&lt;br&gt;
5-Kubernetes helps you do some storage stuff with a disc.&lt;br&gt;
6-Kubernetes eliminates many of the manual processes involved in deploying and scaling containerized applications and standardizes them.&lt;br&gt;
7-Kubernetes orchestration allows you to build application services that span multiple containers, schedule containers across a cluster, scale those containers, and manage their health over time.&lt;br&gt;
8-Kubernetes High-Availability is another benefit because if something fails, it will replace it and restart over.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>wait Block until one or more containers stop, then print their exit codes</title>
      <dc:creator>varunakg</dc:creator>
      <pubDate>Mon, 07 Nov 2022 13:30:15 +0000</pubDate>
      <link>https://www.debug.school/varunakg_652/waitblock-until-one-or-more-containers-stop-then-print-their-exit-codes-2hbm</link>
      <guid>https://www.debug.school/varunakg_652/waitblock-until-one-or-more-containers-stop-then-print-their-exit-codes-2hbm</guid>
      <description>&lt;p&gt;Answer :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.debug.school/images/Py00DBE3cXwCtgkVEZKCzbAKffUTjt1-lDlsJxWqHXY/w:880/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvN3B2bDF1/Z3Z1MnhrYjJpeHhr/bXUucG5n" class="article-body-image-wrapper"&gt;&lt;img src="https://www.debug.school/images/Py00DBE3cXwCtgkVEZKCzbAKffUTjt1-lDlsJxWqHXY/w:880/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvN3B2bDF1/Z3Z1MnhrYjJpeHhr/bXUucG5n" alt="Image description" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>update Update configuration of one or more containers</title>
      <dc:creator>varunakg</dc:creator>
      <pubDate>Mon, 07 Nov 2022 13:07:51 +0000</pubDate>
      <link>https://www.debug.school/varunakg_652/updateupdate-configuration-of-one-or-more-containers-20h4</link>
      <guid>https://www.debug.school/varunakg_652/updateupdate-configuration-of-one-or-more-containers-20h4</guid>
      <description>&lt;p&gt;[root@localhost ~]# docker ps -a&lt;br&gt;
CONTAINER ID   IMAGE         COMMAND              CREATED       STATUS                   PORTS                               NAMES&lt;br&gt;
a629508cfe3e   httpd         "httpd-foreground"   2 hours ago   Up 2 hours               80/tcp                              elastic_lederberg&lt;br&gt;
94eb9f15fa12   httpd         "httpd-foreground"   2 hours ago   Up 2 hours               0.0.0.0:81-&amp;gt;80/tcp, :::81-&amp;gt;80/tcp   angry_merkle&lt;br&gt;
b05697f3d130   httpd         "httpd-foreground"   2 hours ago   Up 2 hours               0.0.0.0:80-&amp;gt;80/tcp, :::80-&amp;gt;80/tcp   vigilant_jepsen&lt;br&gt;
d8c997ec449e   httpd         "httpd-foreground"   2 hours ago   Up 2 hours               80/tcp                              xenodochial_lederberg&lt;br&gt;
b32155889703   httpd         "httpd-foreground"   3 hours ago   Created                                                      vj2&lt;br&gt;
d9362521b23b   httpd         "httpd-foreground"   3 hours ago   Created                                                      agitated_jackson&lt;br&gt;
b14acb2bfc36   hello-world   "/hello"             6 hours ago   Exited (0) 6 hours ago                                       awesome_zhukovsky&lt;br&gt;
693a7fc72262   hello-world   "/hello"             6 hours ago   Exited (0) 6 hours ago                                       quirky_wiles&lt;br&gt;
[root@localhost ~]#  docker update --restart=on-failure:3 b32155889703 vj2&lt;br&gt;
b32155889703&lt;br&gt;
vj2&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Diff between docker pause and docker unpause?</title>
      <dc:creator>varunakg</dc:creator>
      <pubDate>Mon, 07 Nov 2022 12:59:11 +0000</pubDate>
      <link>https://www.debug.school/varunakg_652/diff-between-docker-pause-and-docker-unpause-351f</link>
      <guid>https://www.debug.school/varunakg_652/diff-between-docker-pause-and-docker-unpause-351f</guid>
      <description>&lt;p&gt;Answer : Pause means that the processes in the container stop running and they are be able to be resumed later. Unpause resumes all the processes in the specified container.&lt;/p&gt;

&lt;p&gt;[root@localhost ~]# docker pause vj1&lt;br&gt;
vj1&lt;br&gt;
[root@localhost ~]# docker ps -a&lt;br&gt;
CONTAINER ID   IMAGE         COMMAND              CREATED         STATUS                   PORTS     NAMES&lt;br&gt;
b32155889703   httpd         "httpd-foreground"   2 minutes ago   Created                            vj2&lt;br&gt;
15321b2e4b20   httpd         "httpd-foreground"   3 minutes ago   Up 35 seconds (Paused)   80/tcp    vj1&lt;br&gt;
d9362521b23b   httpd         "httpd-foreground"   4 minutes ago   Created                            agitated_jackson&lt;br&gt;
b14acb2bfc36   hello-world   "/hello"             3 hours ago     Exited (0) 3 hours ago             awesome_zhukovsky&lt;br&gt;
693a7fc72262   hello-world   "/hello"             3 hours ago     Exited (0) 3 hours ago             quirky_wiles&lt;br&gt;
[root@localhost ~]# docker unpause vj1&lt;br&gt;
vj1&lt;br&gt;
[root@localhost ~]# docker ps -a&lt;br&gt;
CONTAINER ID   IMAGE         COMMAND              CREATED         STATUS                   PORTS     NAMES&lt;br&gt;
b32155889703   httpd         "httpd-foreground"   3 minutes ago   Created                            vj2&lt;br&gt;
15321b2e4b20   httpd         "httpd-foreground"   3 minutes ago   Up 52 seconds            80/tcp    vj1&lt;br&gt;
d9362521b23b   httpd         "httpd-foreground"   5 minutes ago   Created                            agitated_jackson&lt;br&gt;
b14acb2bfc36   hello-world   "/hello"             3 hours ago     Exited (0) 3 hours ago             awesome_zhukovsky&lt;br&gt;
693a7fc72262   hello-world   "/hello"             3 hours ago     Exited (0) 3 hours ago             quirky_wiles&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Diff between docker stop and docker kill?</title>
      <dc:creator>varunakg</dc:creator>
      <pubDate>Mon, 07 Nov 2022 12:41:41 +0000</pubDate>
      <link>https://www.debug.school/varunakg_652/diff-between-docker-stop-and-docker-kill-4do0</link>
      <guid>https://www.debug.school/varunakg_652/diff-between-docker-stop-and-docker-kill-4do0</guid>
      <description>&lt;p&gt;Answer : Stop attempts to trigger a graceful shutdown by sending the standard POSIX signal whereas kill just kills the process by default.&lt;/p&gt;

&lt;p&gt;[root@localhost ~]# docker ps -a&lt;br&gt;
CONTAINER ID   IMAGE         COMMAND              CREATED              STATUS                     PORTS     NAMES&lt;br&gt;
b32155889703   httpd         "httpd-foreground"   About a minute ago   Created                              vj2&lt;br&gt;
15321b2e4b20   httpd         "httpd-foreground"   2 minutes ago        Exited (0) 5 seconds ago             vj1&lt;br&gt;
d9362521b23b   httpd         "httpd-foreground"   3 minutes ago        Created                              agitated_jackson&lt;br&gt;
b14acb2bfc36   hello-world   "/hello"             3 hours ago          Exited (0) 3 hours ago               awesome_zhukovsky&lt;br&gt;
693a7fc72262   hello-world   "/hello"             3 hours ago          Exited (0) 3 hours ago               quirky_wiles&lt;br&gt;
[root@localhost ~]# docker start vj1&lt;br&gt;
vj1&lt;br&gt;
[root@localhost ~]# docker stop vj1&lt;br&gt;
vj1&lt;br&gt;
[root@localhost ~]# docker start vj1&lt;br&gt;
vj1&lt;br&gt;
[root@localhost ~]# docker ps -a&lt;br&gt;
CONTAINER ID   IMAGE         COMMAND              CREATED         STATUS                   PORTS     NAMES&lt;br&gt;
b32155889703   httpd         "httpd-foreground"   2 minutes ago   Created                            vj2&lt;br&gt;
15321b2e4b20   httpd         "httpd-foreground"   2 minutes ago   Up 6 seconds             80/tcp    vj1&lt;br&gt;
d9362521b23b   httpd         "httpd-foreground"   3 minutes ago   Created                            agitated_jackson&lt;br&gt;
b14acb2bfc36   hello-world   "/hello"             3 hours ago     Exited (0) 3 hours ago             awesome_zhukovsky&lt;br&gt;
693a7fc72262   hello-world   "/hello"             3 hours ago     Exited (0) 3 hours ago             quirky_wiles&lt;br&gt;
[root@localhost ~]# docker kill vj1&lt;br&gt;
vj1&lt;br&gt;
[root@localhost ~]# docker ps -a&lt;br&gt;
CONTAINER ID   IMAGE         COMMAND              CREATED         STATUS                       PORTS     NAMES&lt;br&gt;
b32155889703   httpd         "httpd-foreground"   3 minutes ago   Created                                vj2&lt;br&gt;
15321b2e4b20   httpd         "httpd-foreground"   4 minutes ago   Exited (137) 9 seconds ago             vj1&lt;br&gt;
d9362521b23b   httpd         "httpd-foreground"   5 minutes ago   Created                                agitated_jackson&lt;br&gt;
b14acb2bfc36   hello-world   "/hello"             3 hours ago     Exited (0) 3 hours ago                 awesome_zhukovsky&lt;br&gt;
693a7fc72262   hello-world   "/hello"             3 hours ago     Exited (0) 3 hours ago                 quirky_wiles&lt;/p&gt;

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