<?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: Subbarao</title>
    <description>The latest articles on Debug School by Subbarao (@subbubrahma_9).</description>
    <link>https://www.debug.school/subbubrahma_9</link>
    <image>
      <url>https://www.debug.school/images/75oHBZrgSmFl2wk20yUymlkJSIaNLy_-IpCXhn3tdG4/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvdXNl/ci9wcm9maWxlX2lt/YWdlLzczNS9jMzdm/NGJlNS0xOWY4LTQw/NzUtYTViZS0zZWEz/ZTQwYWRjNmQucG5n</url>
      <title>Debug School: Subbarao</title>
      <link>https://www.debug.school/subbubrahma_9</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/subbubrahma_9"/>
    <language>en</language>
    <item>
      <title>Day3: Assignment #1-subba</title>
      <dc:creator>Subbarao</dc:creator>
      <pubDate>Wed, 18 Oct 2023 12:11:50 +0000</pubDate>
      <link>https://www.debug.school/subbubrahma_9/day3-assignment-1-subba-c0</link>
      <guid>https://www.debug.school/subbubrahma_9/day3-assignment-1-subba-c0</guid>
      <description>&lt;ol&gt;
&lt;li&gt;what are the ways to deploy pod?
pod
Replication controller
Replica set
deployment 
Daemon sets
stateful sets&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Daemon sets: min and max one pod per node.  example for this &lt;strong&gt;canal&lt;/strong&gt;&lt;br&gt;
canal is netwrok plugin for proxy. &lt;br&gt;
similarly we have kube-proxy which acts eternet/bridge. &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;what is job and cronjob&lt;br&gt;
job we can define the container and it will go off once it is done.&lt;br&gt;
cronjob, we can define the job at regular intervals&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;config map&lt;br&gt;
this is configurations required for service and we can use in service as volume mounts. &lt;br&gt;
its stored in etcd i.e. as key and value pair&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;load balancer&lt;br&gt;
we have n/w load balancer and application load balancer&lt;br&gt;
application load balancer example is ingress.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;there were 4 service types &lt;br&gt;
clustered ip&lt;br&gt;
external name&lt;br&gt;
load balancer&lt;br&gt;
nodeport&lt;/p&gt;

&lt;p&gt;with clusteredip we can create load balancer but we need match the selector label&lt;/p&gt;

&lt;p&gt;Nodeport will create service of type clusteredtype and will make service available to all hosts&lt;/p&gt;

&lt;p&gt;loadbalancer: it is ahead of the cluster and we can redirect to service and then load balancer and to nodes&lt;/p&gt;

&lt;p&gt;Ingress: to manage application well we will have to use ingress which is outside of kubernetes and it balances the load &lt;br&gt;
3types are there in ingress&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;path based&lt;/li&gt;
&lt;li&gt;Name based&lt;/li&gt;
&lt;li&gt;TLS Based &lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>Day 2: Assignment #1: Subba</title>
      <dc:creator>Subbarao</dc:creator>
      <pubDate>Tue, 17 Oct 2023 05:18:41 +0000</pubDate>
      <link>https://www.debug.school/subbubrahma_9/day-2-assignment-1-subba-2pbn</link>
      <guid>https://www.debug.school/subbubrahma_9/day-2-assignment-1-subba-2pbn</guid>
      <description>&lt;h2&gt;
  
  
  1. what is Namespace?
&lt;/h2&gt;

&lt;p&gt;Answer: A namespace provides scope for Kubernetes resources. it is useful when many users across multiple teams or projects use the same cluster. it is logical separation in a cluster. we can restrict access the one namespace to other. ALso we can restrict access the pods inside namespace. by default it is default name space if we wont provide any namespace. &lt;/p&gt;

</description>
    </item>
    <item>
      <title>Assignment #2: Pod- Subbarao</title>
      <dc:creator>Subbarao</dc:creator>
      <pubDate>Mon, 16 Oct 2023 11:50:46 +0000</pubDate>
      <link>https://www.debug.school/subbubrahma_9/assignment-2-pod-subbarao-3f9i</link>
      <guid>https://www.debug.school/subbubrahma_9/assignment-2-pod-subbarao-3f9i</guid>
      <description>&lt;h2&gt;
  
  
  1. what is POD?
&lt;/h2&gt;

&lt;p&gt;Answer: POD is logical entity of container. pod contains many containers. All containers in pod share single IP but different ports. pod lifecycle contains different stages i.e. pending, running, failed. To make pod work we need to have Yaml files and that is declarative model and mention about requirement in yaml file. &lt;br&gt;
the phase of pod goes from VM-&amp;gt;container-&amp;gt;POD&lt;br&gt;
Pod spread across both master node and worker node. To get all pods we need to use &lt;br&gt;
kubectl get pods command. &lt;br&gt;
pod has different combinations like &lt;br&gt;
1 pod with single conatainer&lt;br&gt;
1 pod with multiple containers&lt;br&gt;
1 pod with 1 worker&lt;br&gt;
multiple pods with 1 worker.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Assignment #1: Subbarao</title>
      <dc:creator>Subbarao</dc:creator>
      <pubDate>Mon, 16 Oct 2023 07:22:14 +0000</pubDate>
      <link>https://www.debug.school/subbubrahma_9/what-is-kubernetes-subbarao-34j7</link>
      <guid>https://www.debug.school/subbubrahma_9/what-is-kubernetes-subbarao-34j7</guid>
      <description>&lt;h2&gt;
  
  
  1. what is kubernetes?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Answer&lt;/strong&gt;: Kubernetes also referred as k8s, it is an open source platform. It manages the containers across private, public, hybrid environments. we can manage microservice architecture to manage with kubernetes. we can do container orchestration with kubenetes. it was originated from borg-&amp;gt;omega-&amp;gt;kubernetes. &lt;/p&gt;

&lt;h2&gt;
  
  
  2. why do you need kubernetes?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Answer:&lt;/strong&gt; One of the benefits of Kubernetes is that it makes building and running complex applications much simpler. Standard services like local DNS and basic load-balancing that most applications need are easy to use. The pods that wrap around containers are easy to build configurations. One single API much easier to create applications that manage other applications. Developers can concentrate on the applications rather than focusing on build and manage. &lt;/p&gt;

&lt;h2&gt;
  
  
  3. How kubernets works?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Answer:&lt;/strong&gt; kubernetes works as master-workernode architecure. In the Master node we have 4 components &lt;br&gt;
&lt;strong&gt;(a)Kube-apiserver:&lt;/strong&gt; it is the front end to the control panel and it consumes json.&lt;br&gt;
&lt;strong&gt;(b)Cluster store:&lt;/strong&gt; it is persistence data that means the data stores in Database. &lt;br&gt;
etcd is the database was used in cluster store and its kind of mongoDB.&lt;br&gt;
&lt;strong&gt;(c)Kube-controller-manager:&lt;/strong&gt;&lt;br&gt;
Here we have different types of controllers like &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Node controller&lt;/li&gt;
&lt;li&gt;Endpoints controller&lt;/li&gt;
&lt;li&gt;Namespace controller
All interacts with API server and informs the each controller status 
&lt;strong&gt;(d)Kube-scheduler:&lt;/strong&gt; it watches apiserver for new pods. its consists of affinity/anti-affinity,constraints,resources. &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;kubectl controlls master server.&lt;/p&gt;

&lt;p&gt;In the worker node &lt;br&gt;
we have Kubelet, container engine, kube-proxy. &lt;br&gt;
&lt;strong&gt;kubelet:&lt;/strong&gt;  the main kubernetes agent registers node with clsuter watches apiserver instantiates pods reports back to master exposes endpoint on 10255&lt;br&gt;
&lt;strong&gt;container engine:&lt;/strong&gt; which manages all the containers in pods.&lt;br&gt;
pod is logical entity &lt;br&gt;
&lt;strong&gt;kube-proxy:&lt;/strong&gt; all containers in pod gets single IP. &lt;/p&gt;

&lt;h2&gt;
  
  
  4. Exaplin kubernetes architecure?
&lt;/h2&gt;

&lt;p&gt;Kubernetes architecture, also sometimes called Kubernetes application deployment architecture or Kubernetes client server architecture, is used to compose, scale, deploy, and manage application containers across host clusters. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.debug.school/images/_QDfqkduD7iu64zOSaSfez0Z1EjWPuSUgI_rN_xr6Jg/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvMTB4MDNp/MndjNGFjZDRycDE1/ZDYucG5n" class="article-body-image-wrapper"&gt;&lt;img src="https://www.debug.school/images/_QDfqkduD7iu64zOSaSfez0Z1EjWPuSUgI_rN_xr6Jg/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvMTB4MDNp/MndjNGFjZDRycDE1/ZDYucG5n" alt="Image description" width="800" height="566"&gt;&lt;/a&gt;&lt;/p&gt;

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