<?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: Yashin Jalal</title>
    <description>The latest articles on Debug School by Yashin Jalal (@yashinjalal).</description>
    <link>https://www.debug.school/yashinjalal</link>
    <image>
      <url>https://www.debug.school/images/3IOicYkt7NfFdsZAMgpdvu1h2-64a7GY2AW7pyBfukw/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvdXNl/ci9wcm9maWxlX2lt/YWdlLzY5OS8wYTBh/ZDU2Ny04YmE4LTRi/OGItOGQ0OS04MGJk/ZjU3ODc1MDEucG5n</url>
      <title>Debug School: Yashin Jalal</title>
      <link>https://www.debug.school/yashinjalal</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/yashinjalal"/>
    <language>en</language>
    <item>
      <title>Kubernetes training -SVC</title>
      <dc:creator>Yashin Jalal</dc:creator>
      <pubDate>Mon, 25 Sep 2023 07:29:17 +0000</pubDate>
      <link>https://www.debug.school/yashinjalal/kubernetes-training-svc-3ohf</link>
      <guid>https://www.debug.school/yashinjalal/kubernetes-training-svc-3ohf</guid>
      <description>&lt;p&gt;What is Service?&lt;br&gt;
Service is a kubernetes resource which allows to direct network traffic to pods. Service can also load balance traffic across multiple pods.&lt;/p&gt;

&lt;p&gt;There are three types of Services:&lt;br&gt;
CluseterIp : Default&lt;br&gt;
NodePort&lt;br&gt;
LoadBalancer&lt;/p&gt;

&lt;p&gt;Why do we need it?&lt;br&gt;
Since pods are ephemeral, it may be created and removed by Deployments, to preserve connection to the nodes, we can use services. Also, NodePort service helps to route traffic from external client through a port in the node.&lt;/p&gt;

&lt;p&gt;How it works?&lt;br&gt;
ClusterIp creates a cluster specific service, pods can use the service endpoint to send data to other pods. ClusterIp selects the target pods using the Labels specified in selector configuration. All pods matching the labels in selector will be managed by a Service.&lt;/p&gt;

&lt;p&gt;Nodeport exposes the service via an external port in all Nodes.&lt;/p&gt;

&lt;p&gt;Load Balancer works in cloud services it creates an external ip using the cloud load balancing capabilities in addition to the service functionality.&lt;/p&gt;

&lt;p&gt;Commands&lt;/p&gt;

&lt;p&gt;kubectl create svc clusterip svc-name port:targetPort&lt;br&gt;
kubectl create svc nodeport svc-name port:nodeport&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Assignment#2 – Day 2</title>
      <dc:creator>Yashin Jalal</dc:creator>
      <pubDate>Fri, 22 Sep 2023 11:50:07 +0000</pubDate>
      <link>https://www.debug.school/yashinjalal/assignment2-day-2-ja1</link>
      <guid>https://www.debug.school/yashinjalal/assignment2-day-2-ja1</guid>
      <description>&lt;p&gt;What is Namespaces? Explain with Image&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Namespaces is used to create multiple isolated execution environments for kubernetes resources as per different teams, departments etc. If no namespace is specified default namespace is used. Namespaces can be created and deleted using commands.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;What is Pod? Explain with Image&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Pod is the atomic unit of scheduling in kubernetes.
Pods are a logical unit used to group the containers.
Pods are instantiated not created. Instantiated by Kubelet 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;as instructed by scheduler. Pods can contain multiple containers.&lt;/p&gt;

&lt;p&gt;What is ReplicaSets? Explain with Image&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Replica set is used to run multiple replicas of a pod. 
Replicaset is similar to ReplicationController.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;What is Deployment? Explain with Image&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Deployment provides the capability of replca set along with a Update strategy.
Deployment can be updated using rollout command. 
Default strategy is Rolling Update, it can be changed to Recreate.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;a href="https://www.debug.school/images/4gbNARxnrn3eAv1wfJez4q2nJYyu47BTZyW9sNQQfy0/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvNW10a2J1/azkzYTN5NWU1Y3Bp/bzMucG5n" class="article-body-image-wrapper"&gt;&lt;img src="https://www.debug.school/images/4gbNARxnrn3eAv1wfJez4q2nJYyu47BTZyW9sNQQfy0/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvNW10a2J1/azkzYTN5NWU1Y3Bp/bzMucG5n" alt="Image description" width="709" height="796"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.debug.school/images/nOXQCWNl4TVoTOfjV00X59-YMOkdj4eVprSsycd4R9w/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvMmduMTlq/MjVkaHczdTk2c3hs/aTIucG5n" class="article-body-image-wrapper"&gt;&lt;img src="https://www.debug.school/images/nOXQCWNl4TVoTOfjV00X59-YMOkdj4eVprSsycd4R9w/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvMmduMTlq/MjVkaHczdTk2c3hs/aTIucG5n" alt="Image description" width="800" height="462"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Kubernetes Training</title>
      <dc:creator>Yashin Jalal</dc:creator>
      <pubDate>Thu, 21 Sep 2023 09:08:07 +0000</pubDate>
      <link>https://www.debug.school/yashinjalal/kubernetes-training-a2d</link>
      <guid>https://www.debug.school/yashinjalal/kubernetes-training-a2d</guid>
      <description>&lt;p&gt;What is Kubernetes?&lt;/p&gt;

&lt;p&gt;Kubernetes is tool used to orchestrate a fleet of containers across a data center. It provides the capability to manage the networking, storage, security while supporting the scalability and reliability and monitoring aspects of the containers.&lt;/p&gt;

&lt;p&gt;Why do we need it?&lt;br&gt;
To create and easily manage a large fleet of containers, ensuring reliability and availability.&lt;/p&gt;

&lt;p&gt;How it works?&lt;br&gt;
A kubernetes deployment contains multiple masters and minion nodes. The control plane is used to orchestrate the deployment and management of the lifecycle of containers in the minions. &lt;/p&gt;

&lt;p&gt;What are the components of Master?&lt;br&gt;
KubeScheduler&lt;br&gt;
Kube Controller Manager&lt;br&gt;
Etcd KV store&lt;br&gt;
Kube API Server&lt;/p&gt;

&lt;p&gt;What are the components of Worker?&lt;/p&gt;

&lt;p&gt;Kubelet&lt;br&gt;
Container Runtime&lt;br&gt;
KubeProxy&lt;/p&gt;

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