<?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: Namrata</title>
    <description>The latest articles on Debug School by Namrata (@nam16786_65).</description>
    <link>https://www.debug.school/nam16786_65</link>
    <image>
      <url>https://www.debug.school/images/4V1J_rxH8PGaORq52AGWDgMDngP9nYWXb2bXZL26WXs/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvdXNl/ci9wcm9maWxlX2lt/YWdlLzczNC8wZDVh/ZmQzNC0wYWJiLTQ2/MzItYTE5Yy1jZDk0/YTE1OWU3NWEucG5n</url>
      <title>Debug School: Namrata</title>
      <link>https://www.debug.school/nam16786_65</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/nam16786_65"/>
    <language>en</language>
    <item>
      <title>Day 3 Kubernetes Namrata</title>
      <dc:creator>Namrata</dc:creator>
      <pubDate>Wed, 18 Oct 2023 12:06:49 +0000</pubDate>
      <link>https://www.debug.school/nam16786_65/day-3-kubernetes-namrata-3d7f</link>
      <guid>https://www.debug.school/nam16786_65/day-3-kubernetes-namrata-3d7f</guid>
      <description>&lt;p&gt;Deamonset&lt;br&gt;
Job&lt;br&gt;
CronJob&lt;br&gt;
ConfigMap&lt;br&gt;
Service&lt;br&gt;
Ingress&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Day 2-Namrata</title>
      <dc:creator>Namrata</dc:creator>
      <pubDate>Tue, 17 Oct 2023 11:49:38 +0000</pubDate>
      <link>https://www.debug.school/nam16786_65/day-2-namrata-6pk</link>
      <guid>https://www.debug.school/nam16786_65/day-2-namrata-6pk</guid>
      <description>&lt;p&gt;Namespace&lt;br&gt;
Pod&lt;br&gt;
Replication Controller&lt;br&gt;
Deployment&lt;/p&gt;

&lt;p&gt;Namespace is for isolation and management of kubernets resources.&lt;br&gt;
kubectl get namespaces&lt;/p&gt;

&lt;p&gt;Pod:&lt;br&gt;
Troubleshooting of pods&lt;br&gt;
attach&lt;br&gt;
port-forward&lt;br&gt;
exec&lt;br&gt;
kubectl auth can-i create pod&lt;/p&gt;

&lt;p&gt;Replication Controller&lt;br&gt;
Scale 1 pod to many controller&lt;/p&gt;

&lt;p&gt;apiVersion: v1&lt;br&gt;
kind: ReplicationController&lt;br&gt;
metadata:&lt;br&gt;
  name: rajeshrc&lt;br&gt;
spec:&lt;br&gt;
  replicas: 5&lt;br&gt;
  template:&lt;br&gt;
    metadata:&lt;br&gt;
      labels:&lt;br&gt;
        app: nginx&lt;br&gt;
    spec:&lt;br&gt;
      containers:&lt;br&gt;
      - name: nginx&lt;br&gt;
        image: scmgalaxy/nginx-devopsschoolv1&lt;/p&gt;

&lt;p&gt;Deployment&lt;/p&gt;

&lt;p&gt;replication&lt;br&gt;
rollout&lt;br&gt;
controlling&lt;br&gt;
rollback&lt;/p&gt;

</description>
    </item>
    <item>
      <title>What is Pod day 1 - Namrata</title>
      <dc:creator>Namrata</dc:creator>
      <pubDate>Mon, 16 Oct 2023 11:49:18 +0000</pubDate>
      <link>https://www.debug.school/nam16786_65/what-is-pod-day-1-namrata-3k1b</link>
      <guid>https://www.debug.school/nam16786_65/what-is-pod-day-1-namrata-3k1b</guid>
      <description>&lt;p&gt;Pod is the smallest  atomic unit.&lt;br&gt;
Pod contains containers&lt;br&gt;
IP Address is giving to POD &lt;br&gt;
IP Address is not given to containers.&lt;br&gt;
A pod may have more than 1 container and IP address will be same.&lt;/p&gt;

&lt;p&gt;We send a desire to apiserver which then instantiates pod&lt;/p&gt;

&lt;p&gt;Pods are not created , but instantiated.&lt;br&gt;
Static pods cannot be deleted.&lt;br&gt;
Static pods are instantiated by kubelet directly without help of api server.&lt;/p&gt;

&lt;p&gt;One pod can contain 2 containers , each container will have its IP address and a different port.&lt;/p&gt;

&lt;p&gt;When many pods are connected , data is shared using Pod Network.&lt;/p&gt;

&lt;p&gt;If there are 2 containers in pod , they talk to each other using localhost.&lt;/p&gt;

&lt;p&gt;How do you define pods ?&lt;br&gt;
api server: v1&lt;br&gt;
Kind: pOD&lt;br&gt;
metadata&lt;/p&gt;

&lt;p&gt;No pods are every "redeployed"&lt;br&gt;
Its a unit of scheduling&lt;/p&gt;

&lt;p&gt;The Focus should be on :&lt;br&gt;
learning 65 resources&lt;br&gt;
YAML Files&lt;br&gt;
HELM chart&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Day 1 Kubernetes -Namrata</title>
      <dc:creator>Namrata</dc:creator>
      <pubDate>Mon, 16 Oct 2023 07:17:05 +0000</pubDate>
      <link>https://www.debug.school/nam16786_65/day-1-kubernetes-namrata-3ofa</link>
      <guid>https://www.debug.school/nam16786_65/day-1-kubernetes-namrata-3ofa</guid>
      <description>&lt;p&gt;1) What is Kubernetes?&lt;br&gt;
Answer: It is a container orchestration tool. For VM many options are there like AWS , Azure , GCP , but for containers there is only 1 option which is kubernetes, primarily to Compute, Storage , Load balancing , security , DB, DNS and  Security.&lt;/p&gt;

&lt;p&gt;2) Why do we need Kubernetes ?&lt;br&gt;
How to run containers at production level is the challenge.&lt;br&gt;
Docker can manage single host , containers brings scalability challenges. One stop solution for scalability , self-healing ,recovery , networking etc.&lt;/p&gt;

&lt;p&gt;3) How Kubernetes work ?&lt;/p&gt;

&lt;p&gt;Kubernetes run in worker node and inside that it's a pod.&lt;br&gt;
Master node manages worker nodes .Master controls the worker nodes .The Master is Linux whereas worker can be linux/windows.&lt;/p&gt;

&lt;p&gt;4) Kubernetes Architecture  ?&lt;/p&gt;

&lt;p&gt;API server is the ears , it hears the instructions and send it to the Cluster Store which is like brain and controller keeps a watch just like eyes and scheduler is like mouth which assigns the work to minions.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.debug.school/images/dotbMqc1xiHs4_PaISd090vqe-do8amdm2RAAyEb5m4/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvZ3J4dG05/Z3VqcWU4MmYydzF4/b2EucG5n" class="article-body-image-wrapper"&gt;&lt;img src="https://www.debug.school/images/dotbMqc1xiHs4_PaISd090vqe-do8amdm2RAAyEb5m4/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvZ3J4dG05/Z3VqcWU4MmYydzF4/b2EucG5n" alt="Image description" width="746" height="612"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5) Explain each component&lt;/p&gt;

&lt;p&gt;1) Master Node : Manages worker node .We need 4 s/w components &lt;br&gt;
 a) api-server :Is bascially registry or a frontend to control pane.&lt;br&gt;
b) Cluster-store: It is SOT . Like how you have DB so is its job.&lt;br&gt;
c) kube-controller-manager : If node is up or down , pod is up pr down and watched for changes .It runs continously.&lt;br&gt;
d) kube-scheduler: Assigns work to worker nodes.&lt;/p&gt;

&lt;p&gt;via kubectl we send desire to kubernetes which firstly hits API server and then further processing  happens.&lt;br&gt;
Kubectl runs in each worker and bugs API server continously.&lt;br&gt;
e) Pod - Is a logical entity , Container consumes RAM and CPU and not containers . Pod wraps the container. &lt;/p&gt;

&lt;p&gt;Pods are instantiated , Containers are created.You cannot go inside pods and see logs , but with containers yes.&lt;br&gt;
f) kube-proxy : Assigns IP Address to Pods and not to containers via IP tables . 4 container in a pod will have same IP Address.&lt;/p&gt;

&lt;p&gt;Note:&lt;br&gt;
1) All Nodes can communicate with All Pods&lt;br&gt;
2) All Pods can communicate with each other on all nodes&lt;br&gt;
3) API server is the only source of communication&lt;/p&gt;

&lt;p&gt;All we need to do is setup cluster , and via kubectl send desire to kubernets , rest is all managed by it.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>What is Kubernetes-Namrata</title>
      <dc:creator>Namrata</dc:creator>
      <pubDate>Mon, 16 Oct 2023 06:47:50 +0000</pubDate>
      <link>https://www.debug.school/nam16786_65/what-is-kubernetes-namrata-aff</link>
      <guid>https://www.debug.school/nam16786_65/what-is-kubernetes-namrata-aff</guid>
      <description></description>
    </item>
  </channel>
</rss>
