<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>sumitrj &#8211; Best DevOps</title>
	<atom:link href="https://www.bestdevops.com/author/sumitrj/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.bestdevops.com</link>
	<description>Lets Learn, Do it &#38; Share! Thats a Best DevOps!!!</description>
	<lastBuildDate>Fri, 04 Feb 2022 10:08:51 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.3</generator>
	<item>
		<title>Kubernetes replicasets</title>
		<link>https://www.bestdevops.com/kubernetes-replicasets/</link>
		
		<dc:creator><![CDATA[sumitrj]]></dc:creator>
		<pubDate>Thu, 16 Sep 2021 06:22:43 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=21479</guid>

					<description><![CDATA[Kubernetes has a feature of deploying multiple replicas of a pod and managing them from workstation. Each of these sets [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Kubernetes has a feature of deploying multiple replicas of a pod and managing them from workstation. Each of these sets of replicas of a pod are called replicasets.</p>



<p class="wp-block-paragraph">Replicasets can be created, deleted, updated in a single time. These are shown as deployments in the kubectl cli</p>



<p class="wp-block-paragraph">Creating deployment:</p>



<p class="wp-block-paragraph">kubectl create deployment rajesh &#8211;image=scmgalaxy/nginx-devopsschoolv1 &#8211;replicas=3 -n=sumit</p>



<p class="wp-block-paragraph">Getting list of replicas deployed in namespace:</p>



<p class="wp-block-paragraph">kubectl get deploy -n=sumit</p>



<p class="wp-block-paragraph">Scale deployment:</p>



<p class="wp-block-paragraph">kubectl scale &#8211;replicas=3 deploy/rajesh -n=sumit</p>



<p class="wp-block-paragraph">O/p:<br>deployment.apps/rajesh scaled<br>[centos@ip-172-31-22-14 ~]$ kubectl get deploy -n=sumit<br>NAME READY UP-TO-DATE AVAILABLE AGE<br>rajesh 3/3 3 3 4m43s</p>



<p class="wp-block-paragraph">Delete deployment:</p>



<p class="wp-block-paragraph">kubectl delete deploy rajesh -n=sumit<br>deployment.apps &#8220;rajesh&#8221; deleted</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Kubernetes, how it works</title>
		<link>https://www.bestdevops.com/kubernetes-how-it-works/</link>
		
		<dc:creator><![CDATA[sumitrj]]></dc:creator>
		<pubDate>Wed, 15 Sep 2021 10:03:35 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=21396</guid>

					<description><![CDATA[Kubernetes is a container orchestrator tool. It solves the problem of manually launching, monitoring and maintaining container applications. A Kubernetes [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Kubernetes is a container orchestrator tool.</p>



<p class="wp-block-paragraph">It solves the problem of manually launching, monitoring and maintaining container applications. </p>



<p class="wp-block-paragraph">A Kubernetes cluster is a set of Nodes and a control plane (aka master)</p>



<p class="wp-block-paragraph">Master controls all the nodes, it does so by using following components:</p>



<p class="wp-block-paragraph">a) API server:</p>



<p class="wp-block-paragraph">All incoming and outgoing communication with the cluster is done through API server.</p>



<p class="wp-block-paragraph">It communicates using JSON files and communication can be established through a set of REST API</p>



<p class="wp-block-paragraph">b) Cluster Store:</p>



<p class="wp-block-paragraph">It maintains all information about cluster in etcd form.</p>



<p class="wp-block-paragraph">It maintains record of health and actions of all nodes.</p>



<p class="wp-block-paragraph">c) Controller Manager:</p>



<p class="wp-block-paragraph">It is a script that is always running to monitor all activities in a cluster.</p>



<p class="wp-block-paragraph">d) Kube-scheduler:</p>



<p class="wp-block-paragraph">It watches API server for all incoming tasks and schedule nodes based on affinity, constraint and resource requirement.</p>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">Each node contains </p>



<p class="wp-block-paragraph">a) Kubelet:</p>



<p class="wp-block-paragraph">It is the main Kubernetes agent, as long as it is running, the node can be said to be a part of the cluster.</p>



<p class="wp-block-paragraph">It registers itself with the master.</p>



<p class="wp-block-paragraph">It instantiates a pod.</p>



<p class="wp-block-paragraph">&#8212; Pod is a logical entity to group containers. </p>



<p class="wp-block-paragraph">b) Container Engine:</p>



<p class="wp-block-paragraph">It pulls images, start &amp; stops containers. It runs the containers</p>



<p class="wp-block-paragraph">c) Kube proxy</p>



<p class="wp-block-paragraph">It assigns IP addresses to pods, this allows access to load balancer.</p>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">Typical execution of launching a container:</p>



<ol class="wp-block-list"><li>Request goes to API server</li></ol>



<p class="wp-block-paragraph">2. API server checks availability in etcd as sent by control manager</p>



<p class="wp-block-paragraph">3. API server asks scheduler to communicate with node.</p>



<p class="wp-block-paragraph">4. Scheduler asks kubelet to instantiate pod</p>



<p class="wp-block-paragraph">5. Contaainer Engine launches containers and Kube proxy updates IP table</p>



<p class="wp-block-paragraph">6. IP can be used to access services</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>10 uses of docker-compose</title>
		<link>https://www.bestdevops.com/10-uses-of-docker-compose/</link>
		
		<dc:creator><![CDATA[sumitrj]]></dc:creator>
		<pubDate>Wed, 15 Sep 2021 04:52:55 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=21334</guid>

					<description><![CDATA[Runs multiple containers from a single file and allows common access a) docker-compose run: run file b) docker-compose create: create [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Runs multiple containers from a single file and allows common access</p>



<p class="wp-block-paragraph">a) docker-compose run: run file</p>



<p class="wp-block-paragraph">b) docker-compose create: create services</p>



<p class="wp-block-paragraph">c) docker-compose stop: stop services</p>



<p class="wp-block-paragraph">d) docker-compose up: create and run</p>



<p class="wp-block-paragraph">e) docker-compose down: stop </p>



<p class="wp-block-paragraph">f) docker-compose rm</p>



<p class="wp-block-paragraph">g) docker-compose ps </p>



<p class="wp-block-paragraph">h) docker-compose push</p>



<p class="wp-block-paragraph">i) docker-compose pull</p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe  id="_ytid_19927"  width="675" height="379"  data-origwidth="675" data-origheight="379" src="https://www.youtube.com/embed/?enablejsapi=1&#038;list=PLTCuRW0ikUdNVsbfTCwSq4hvG6i4_IjWt&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;" class="__youtube_prefs__  epyt-is-override  no-lazyload" title="YouTube player"  allow="fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen data-no-lazy="1" data-skipgform_ajax_framebjll=""></iframe>
</div></figure>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Docker Introduction Assignment</title>
		<link>https://www.bestdevops.com/docker-introduction-assignment/</link>
		
		<dc:creator><![CDATA[sumitrj]]></dc:creator>
		<pubDate>Mon, 13 Sep 2021 07:39:40 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=21192</guid>

					<description><![CDATA[Containerization is motivated by need of dynamic scaling and resource allocation. Docker allows us to work in different environments and [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Containerization is motivated by need of dynamic scaling and resource allocation. Docker allows us to work in different environments and share with different involved stakeholders with ease. </p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe  id="_ytid_12656"  width="675" height="379"  data-origwidth="675" data-origheight="379" src="https://www.youtube.com/embed/?enablejsapi=1&#038;list=PLTCuRW0ikUdNVsbfTCwSq4hvG6i4_IjWt&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;" class="__youtube_prefs__  epyt-is-override  no-lazyload" title="YouTube player"  allow="fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen data-no-lazy="1" data-skipgform_ajax_framebjll=""></iframe>
</div></figure>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
