<?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: ASHISH KUMAR AWASTHI</title>
    <description>The latest articles on Debug School by ASHISH KUMAR AWASTHI (@ashishawasthig_541).</description>
    <link>https://www.debug.school/ashishawasthig_541</link>
    <image>
      <url>https://www.debug.school/images/xzwY2sW1IWjzecuFDH3Nu8XBnr1qzRYtwSrq_OIucoA/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvdXNl/ci9wcm9maWxlX2lt/YWdlLzcwNi9jMzY2/YmQ2Ny0yM2MwLTQ2/Y2MtYjUxNi1lM2Ri/YmFkZDIyZmQucG5n</url>
      <title>Debug School: ASHISH KUMAR AWASTHI</title>
      <link>https://www.debug.school/ashishawasthig_541</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/ashishawasthig_541"/>
    <language>en</language>
    <item>
      <title>Assignment-DAY3</title>
      <dc:creator>ASHISH KUMAR AWASTHI</dc:creator>
      <pubDate>Mon, 25 Sep 2023 07:46:20 +0000</pubDate>
      <link>https://www.debug.school/ashishawasthig_541/assignment-day3-46al</link>
      <guid>https://www.debug.school/ashishawasthig_541/assignment-day3-46al</guid>
      <description>&lt;p&gt;What is service?&lt;br&gt;
Services are endpoint which is used to create load balancing for pods. Different label used in load balancing .This label must match to the pod label as well load balance label in order to get proper load balancing.&lt;/p&gt;

&lt;p&gt;Why we need it?&lt;br&gt;
Services usually create load balancing at multiple Laval ie Pod level (front and beckend) or node level.&lt;br&gt;
Three type of service available:&lt;br&gt;
1) ClusterIP &lt;br&gt;
2) Node Port&lt;br&gt;
3) Load balancer &lt;/p&gt;

&lt;p&gt;How it works?&lt;br&gt;
First load balancer at pod level exposed the front end Pod port which is known as Cluster IP load balancing.&lt;br&gt;
Node port usually load balancer at Node port, which exposed the front end Pod level port to externally at Node level.&lt;br&gt;
It may needed to create load balancer externally at cloud end, to access container from outside world. This may be done with the help of DNS. &lt;/p&gt;

&lt;p&gt;Command for it&lt;br&gt;
Create two pod:--&lt;br&gt;
vi pod5.yaml&lt;br&gt;
vi pod6.yaml&lt;br&gt;
kubectl apply -f pod5.yaml&lt;br&gt;
kubectl apply -f pod6.yaml&lt;/p&gt;

&lt;p&gt;Create ClusterIP node balancer:-&lt;/p&gt;

&lt;p&gt;kubectl create service clusterip ash-cs --tcp=5678:80&lt;br&gt;
kubectl describe svc ash-cs&lt;br&gt;
kubectl get pods --show-labels&lt;br&gt;
!!--Modify the lable at Service ash-cs that must match to the pods.&lt;br&gt;
kubectl edit svc ash-cs&lt;/p&gt;

&lt;p&gt;!!--Create Node Port load Balancer:--&lt;br&gt;
kubectl create service nodeport ash-ns --tcp=5678:80&lt;br&gt;
kubectl get pods --show-labels&lt;/p&gt;

&lt;p&gt;!!--Modify the Label as per the pod lable:--&lt;br&gt;
kubectl edit svc ash-ns&lt;/p&gt;

&lt;p&gt;kubectl describe svc ash-ns&lt;br&gt;
kubectl describe svc ash-cs&lt;/p&gt;

&lt;p&gt;Check the access using mapped port and IP of Cluster and Node IP&lt;br&gt;
curl &lt;a href="http://10.111.228.235:5678"&gt;http://10.111.228.235:5678&lt;/a&gt;&lt;br&gt;
curl &lt;a href="http://10.100.232.215:5678"&gt;http://10.100.232.215:5678&lt;/a&gt;&lt;br&gt;
watch curl &lt;a href="http://10.111.228.235:5678"&gt;http://10.111.228.235:5678&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Assignment Day-2</title>
      <dc:creator>ASHISH KUMAR AWASTHI</dc:creator>
      <pubDate>Fri, 22 Sep 2023 12:07:01 +0000</pubDate>
      <link>https://www.debug.school/ashishawasthig_541/assignment-day-2-3l6</link>
      <guid>https://www.debug.school/ashishawasthig_541/assignment-day-2-3l6</guid>
      <description>&lt;p&gt;What is Namespaces? Explain with Image&lt;br&gt;
Namespace is the grouping inside the cluster, which can be created based on name, tag, resources etc. Each pod can be assigned to this group and can create logical grouping of pods.&lt;br&gt;
Such as namespace can be created based on memory resource or administrative tag. Pod can be assigned to these namespace which can be used limited memory assigned to the namespace or only administrator can access the pod.&lt;/p&gt;

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

&lt;p&gt;What is Pod? Explain with Image&lt;br&gt;
Pod is logical grouping. Its basic atomic unit. Pod may consist one or many container. Pod shares the resources of node.Pods can only be instantiated. Pods can be created using yaml.&lt;br&gt;
Pod created by scheduler on the request of worker node.&lt;br&gt;
Kubeproxy assign IP on newly created pod.&lt;/p&gt;

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

&lt;p&gt;What is ReplicaSets? Explain with Image&lt;br&gt;
Replicasets used to scale the pod. Using ReplicaSet one can create or remove large no of pod within a second.Replica set useful to rollout or rollback pods.&lt;br&gt;
Replicaset has two part:&lt;br&gt;
1) Controller&lt;br&gt;
2) Replication&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.debug.school/images/9FmEzJw31hv9rZogENfijHnND9JWx2MjDPW8PCCPpN0/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvM254dGFq/cHAwd2x3dmttcmkw/eXYucG5n" class="article-body-image-wrapper"&gt;&lt;img src="https://www.debug.school/images/9FmEzJw31hv9rZogENfijHnND9JWx2MjDPW8PCCPpN0/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvM254dGFq/cHAwd2x3dmttcmkw/eXYucG5n" alt="Image description" width="800" height="540"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What is Deployment? Explain with Image&lt;br&gt;
Deployment use to create or remove or replace large no of pod.It is usefull in production when large no of pod need to replace by any reason such as updated software, version control etc. &lt;br&gt;
It has below component&lt;br&gt;
1) versioning&lt;br&gt;
2) Replication&lt;br&gt;
3) Controlling&lt;br&gt;
4) Rollout&lt;br&gt;
5) Roll Back&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.debug.school/images/A4GZ7U8vlaoLXGf_lqmYG7F2cfQogXBiG4JJ2NphvQQ/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvZzV5bHg0/bHIwcnc3dDJiZzkx/cjAucG5n" class="article-body-image-wrapper"&gt;&lt;img src="https://www.debug.school/images/A4GZ7U8vlaoLXGf_lqmYG7F2cfQogXBiG4JJ2NphvQQ/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvZzV5bHg0/bHIwcnc3dDJiZzkx/cjAucG5n" alt="Image description" width="651" height="787"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>What is Kubernetes?</title>
      <dc:creator>ASHISH KUMAR AWASTHI</dc:creator>
      <pubDate>Thu, 21 Sep 2023 09:03:18 +0000</pubDate>
      <link>https://www.debug.school/ashishawasthig_541/what-is-kubernetes-1hji</link>
      <guid>https://www.debug.school/ashishawasthig_541/what-is-kubernetes-1hji</guid>
      <description>&lt;p&gt;Kubernetes is management platform which controls and manages container. Kubernetes resolve the problem which usually encountered in Docker like scalability, Load balancing, Self heal etc &lt;/p&gt;

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