<?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: VarunPuligilla1008</title>
    <description>The latest articles on Debug School by VarunPuligilla1008 (@varunrocksup_1008).</description>
    <link>https://www.debug.school/varunrocksup_1008</link>
    <image>
      <url>https://www.debug.school/images/pSUXMga4t6tL4YHANbQnWWkaN_MmH81s9VG_IV60JpU/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvdXNl/ci9wcm9maWxlX2lt/YWdlLzczMi8xNmJm/YTNiOC01NWVjLTQ3/OWYtOGNmNS00ODYw/ODJhY2EwOGYucG5n</url>
      <title>Debug School: VarunPuligilla1008</title>
      <link>https://www.debug.school/varunrocksup_1008</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/varunrocksup_1008"/>
    <language>en</language>
    <item>
      <title>Namespaces, PODs, Replicasets and Deployment</title>
      <dc:creator>VarunPuligilla1008</dc:creator>
      <pubDate>Tue, 17 Oct 2023 12:13:42 +0000</pubDate>
      <link>https://www.debug.school/varunrocksup_1008/namespaces-pods-replicasets-and-deployment-8je</link>
      <guid>https://www.debug.school/varunrocksup_1008/namespaces-pods-replicasets-and-deployment-8je</guid>
      <description>&lt;h2&gt;
  
  
  Namespaces
&lt;/h2&gt;

&lt;p&gt;Namespaces creates a logical separation in a cluster. Namespaces are used to create kubernetes resources like pods, replica sets and deployments.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pods
&lt;/h2&gt;

&lt;p&gt;Pods in kubernetes cluster are created using a markup language called yaml. A user can perform CRUD Operations on kubernetes resources. &lt;br&gt;
With the following list of commands a user can do troubleshooting:&lt;br&gt;
Troubleshooting and Debugging Commands:&lt;br&gt;
  describe      Show details of a specific resource or group of resources&lt;br&gt;
  logs          Print the logs for a container in a pod&lt;br&gt;
  attach        Attach to a running container&lt;br&gt;
  exec          Execute a command in a container&lt;br&gt;
  port-forward  Forward one or more local ports to a pod&lt;br&gt;
  proxy         Run a proxy to the Kubernetes API server&lt;br&gt;
  cp            Copy files and directories to and from containers&lt;br&gt;
  auth          Inspect authorization&lt;br&gt;
  debug         Create debugging sessions for troubleshooting workloads and nodes&lt;/p&gt;

&lt;h2&gt;
  
  
  ReplicaSets or ReplicaController
&lt;/h2&gt;

&lt;p&gt;ReplicaSets or ReplicaControllers are used to create 'n' number of instances based on need in a cluster. The instances can be scaled up or down too. &lt;/p&gt;

&lt;h2&gt;
  
  
  Deployment
&lt;/h2&gt;

&lt;p&gt;Deployments are used to enable versioning, Upgrades and Rollback along with controlling the replicas.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>POD by Varun</title>
      <dc:creator>VarunPuligilla1008</dc:creator>
      <pubDate>Mon, 16 Oct 2023 11:56:54 +0000</pubDate>
      <link>https://www.debug.school/varunrocksup_1008/pod-by-varun-3bin</link>
      <guid>https://www.debug.school/varunrocksup_1008/pod-by-varun-3bin</guid>
      <description>&lt;h2&gt;
  
  
  What is POD??
&lt;/h2&gt;

&lt;p&gt;A POD is an atomic unit of scheduling in kubernetes. PODs are used to run containers within it and which in turn brings up the applications. kubernetes contains static pods and cluster managed pods. cluster managed pods are monitored by controller manager and it ensures that the pods are always in desired state. Pods are always initialized but never created. The state pod the pod is always decided based on the status of the container within it. A pod can contain two containers within it. first one is primary and second container is called as side car. To create a pod, the user will have to use a declarative language yaml. Whenever, a yaml file is passed via kubectl, it gets converted to a json file and then send to kube-api server. The api-server will validate the kind value and then create a pod. Pods are associated with an IP. &lt;/p&gt;

</description>
    </item>
    <item>
      <title>Kubernetes Introduction by Varun</title>
      <dc:creator>VarunPuligilla1008</dc:creator>
      <pubDate>Mon, 16 Oct 2023 07:29:02 +0000</pubDate>
      <link>https://www.debug.school/varunrocksup_1008/kubernetes-introduction-by-varun-5321</link>
      <guid>https://www.debug.school/varunrocksup_1008/kubernetes-introduction-by-varun-5321</guid>
      <description>&lt;h2&gt;
  
  
  What is Kubernetes?
&lt;/h2&gt;

&lt;p&gt;Kubernetes is a container orchestration technology founded by google. In 2015, It was made open source and currently being managed by CNCF Foundation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Do we need Kubernetes? Explain in 10 lines
&lt;/h2&gt;

&lt;p&gt;We will need kubernetes to manage our applications that are deployed in production environments. Kubernetes can be configured on physical hardware server as well as on a Virtual Machine.&lt;br&gt;
Kubernetes provide us many capabilities in terms of scalability, high availability, auto scaling, load balancing incoming traffic, seamless upgrades and rollbacks. &lt;/p&gt;

&lt;h2&gt;
  
  
  How Kubernetes Works?
&lt;/h2&gt;

&lt;p&gt;Kubernetes works in master and slave model. All the containerized applications are deployed as a pod in a slave node. slave node a.k.a, worker node, minion etc., A master node can manage any number of worker nodes provided they have to be associated with master. A worker node can be registered or associated to a master node by using it's certificate. Once the worker node is associated, then the master node will start delegating tasks to worker node. &lt;/p&gt;

&lt;h2&gt;
  
  
  Kubernetes Architectecture. Explain each component with one line.
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.debug.school/images/erb_VdNlnyBfZ1o41fhEMqOrLf1iSJqnlWqwgBGMY3k/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvdTFpdHRz/ODN5NGwwYW5zdHRr/Y2MucG5n" class="article-body-image-wrapper"&gt;&lt;img src="https://www.debug.school/images/erb_VdNlnyBfZ1o41fhEMqOrLf1iSJqnlWqwgBGMY3k/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvdTFpdHRz/ODN5NGwwYW5zdHRr/Y2MucG5n" alt="Image description" width="772" height="463"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Kubernetes Architecture consists of Master and worker node. &lt;br&gt;
A node is tagged as a master node when it is configured with 4 components namely, kube-api server, controller manager, etcd &amp;amp; scheduler. &lt;br&gt;
A node is tagged as a worker node when it is configured with 3 components namely, kubelet, kube-proxy and container runtime.&lt;/p&gt;

&lt;p&gt;Kube API server is a component that contains 100's of APIs and is used to talk to worker nodes and the components within the entire cluster. API Server listens on port 6443&lt;/p&gt;

&lt;p&gt;controller manager is a component that will take care of lifecycle of cluster. It is will monitor the health status of pods, nodes and ensure that the cluster is always in desired state.&lt;/p&gt;

&lt;p&gt;Scheduler is a components that delegates the tasks or jobs to worker nodes based on the configured constraints.&lt;/p&gt;

&lt;p&gt;etcd is a key:value based cluster storage that manages all the secrets, &lt;br&gt;
certificate etc., within the cluster.&lt;/p&gt;

&lt;p&gt;Kubelet is a kubernetes agent that is installed on a worker node and is used to interact with kube-api server to do jobs.&lt;/p&gt;

&lt;p&gt;Kube-proxy is a component installed in worker node that takes care of assigning IPs and traffic routing within the nodes.&lt;/p&gt;

&lt;p&gt;container engine is a component installed in worker node that take care of running containers. &lt;/p&gt;

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