<?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>RanjanKP &#8211; Best DevOps</title>
	<atom:link href="https://www.bestdevops.com/author/ranjankp/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>Wed, 18 Aug 2021 11:32:11 +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>Architecture and components of Kubernetes</title>
		<link>https://www.bestdevops.com/architecture-and-components-of-kubernetes/</link>
		
		<dc:creator><![CDATA[RanjanKP]]></dc:creator>
		<pubDate>Wed, 18 Aug 2021 11:32:09 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=19376</guid>

					<description><![CDATA[kube-apiserver kubernetes API server validates and configures data for the api objects which include pods, services, replications controllers and others. [&#8230;]]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image"><img decoding="async" src="https://www.aquasec.com/wp-content/uploads/2020/11/Kubernetes-101-Architecture-Diagram.jpg" alt="" /></figure>



<h2 class="wp-block-heading"> kube-apiserver </h2>



<p class="wp-block-paragraph">kubernetes API server validates and configures data for the api objects which include pods, services, replications controllers and others. This is the only component that communicates with the etcd cluster, making sure data is stored in etcd and is in agreement with the service details of the deployed pods</p>



<h2 class="wp-block-heading">kube-controller</h2>



<p class="wp-block-paragraph">It runs number of distinct controller processes in the background( replication controller controls number of replicas in a pod). And it will regulate the shared state of the cluster and perform  routine tasks. When a change in a service configuration occurs. The controller spots the change and starts working towards the new desire state.</p>



<h2 class="wp-block-heading">kube-scheduler</h2>



<p class="wp-block-paragraph">It reads the requirements and schedules it on the nodes, this will runs each time there is a need to schedule pods. It must know the total resources available as well as resources allocated to existing workloads on each node.</p>



<h2 class="wp-block-heading">kubelet</h2>



<p class="wp-block-paragraph">Regularly taking in new or modified pod specifications and ensuring that pods and their containers are healthy  and running in the desired state. This component also reports to the apiserver on the health of the host where it is running.</p>



<h2 class="wp-block-heading">kub-proxy</h2>



<p class="wp-block-paragraph">A service that runs on each worker node to deal with individual host, it performs request forwarding to the correct pods/container across the various isolated networks in a cluster.</p>



<h2 class="wp-block-heading">kubectl</h2>



<p class="wp-block-paragraph">Command line toll that interacts with kube-apiserver and send commands to the master node. Each command is converted into an API call.</p>



<h2 class="wp-block-heading">etcd</h2>



<p class="wp-block-paragraph">It is used to store the all data, as kubernetes is a distributed systems so its configuration data, state data and metadata.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Answer: Assignment for Docker Day-2</title>
		<link>https://www.bestdevops.com/answer-assignment-for-docker-day-2/</link>
		
		<dc:creator><![CDATA[RanjanKP]]></dc:creator>
		<pubDate>Tue, 17 Aug 2021 07:42:24 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=19321</guid>

					<description><![CDATA[Define a docker image in points Docker Image has many layers which holds the information required for the configuration. Base [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">Define a docker image in points</h2>



<ol class="wp-block-list"><li>Docker Image has many layers which holds the information required for the configuration.</li><li>Base image + parent image + layers+ container layer + docker manifest.</li><li>Each of the files that make up a Docker image is known as a <strong>layer</strong>.</li><li>These layers form a series of <strong>intermediate images</strong>, built one on top of the other in stages, where each layer is dependent on the layer immediately below it. Thus, you should organize layers that change most often as high up the stack as possible. This is because, when you make changes to a layer in your image, Docker not only rebuilds that particular layer, but all layers built from it. Therefore, a change to a layer at the top of a stack involves the least amount of computational work to rebuild the entire image.</li><li>Each time Docker launches a container from an image, it adds a thin writable layer, known as the container layer, which stores all changes to the container throughout its runtime.</li><li>The first layer of a Docker image is known as the parent image. It’s the foundation upon which all other layers are built and provides the basic building blocks for your container environments.</li><li>A base image is an empty first layer, which allows you to build your Docker images from scratch.</li><li>The image in <strong>JSON</strong> format and comprises information such as image tags, a digital signature, and details on how to configure the container for different types of host platforms.</li></ol>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Answer: Assignment Day2</title>
		<link>https://www.bestdevops.com/answer-assignment-day2/</link>
		
		<dc:creator><![CDATA[RanjanKP]]></dc:creator>
		<pubDate>Tue, 17 Aug 2021 05:44:09 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=19283</guid>

					<description><![CDATA[Update: On go we can change the settings of the container using Update command Before updating the memory-swap After updating [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">Update:</h2>



<p class="wp-block-paragraph">On go we can change the settings of the container using Update command</p>



<p class="wp-block-paragraph">Before updating the memory-swap</p>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="485" height="356" src="https://www.bestdevops.com/wp-content/uploads/2021/08/image-99.png" alt="" class="wp-image-19301" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/image-99.png 485w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-99-300x220.png 300w" sizes="(max-width: 485px) 100vw, 485px" /></figure>



<p class="wp-block-paragraph">After updating the memory-swap and memory</p>



<figure class="wp-block-image size-full"><img decoding="async" width="880" height="30" src="https://www.bestdevops.com/wp-content/uploads/2021/08/image-101.png" alt="" class="wp-image-19309" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/image-101.png 880w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-101-300x10.png 300w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-101-768x26.png 768w" sizes="(max-width: 880px) 100vw, 880px" /></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="444" height="277" src="https://www.bestdevops.com/wp-content/uploads/2021/08/image-100.png" alt="" class="wp-image-19307" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/image-100.png 444w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-100-300x187.png 300w" sizes="(max-width: 444px) 100vw, 444px" /></figure>



<h2 class="wp-block-heading">Wait:</h2>



<p class="wp-block-paragraph">Docker wait command waits for 1 or more container to exit and provides the return status of the docker exit.<br>Once docker wait is used the control will go inside the container and waits there until its get exited.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="311" src="https://www.bestdevops.com/wp-content/uploads/2021/08/image-102-1024x311.png" alt="" class="wp-image-19311" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/image-102-1024x311.png 1024w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-102-300x91.png 300w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-102-768x233.png 768w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-102-1536x466.png 1536w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-102.png 1794w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Answer: Assignment Day 1</title>
		<link>https://www.bestdevops.com/assignment-day-1-ranjan/</link>
		
		<dc:creator><![CDATA[RanjanKP]]></dc:creator>
		<pubDate>Mon, 16 Aug 2021 10:09:12 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=19179</guid>

					<description><![CDATA[What is the diff between docker stop and docker kill? docker stop will send SIGTERM to the process and docker [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">What is the diff between docker stop and docker kill?</h2>



<p class="wp-block-paragraph"><strong>docker stop</strong> will send SIGTERM to the process and docker will have some-time seconds to clean up like saving files or emitting some messages.</p>


<pre class="wp-block-code"><span><code class="hljs language-xml">docker stop  <span class="hljs-tag">&lt;<span class="hljs-name">docker_id</span>&gt;</span>
docker inspect <span class="hljs-tag">&lt;<span class="hljs-name">docker_id</span>&gt;</span></code></span></pre>


<p class="wp-block-paragraph">Will return &#8220;ExitCode:0&#8221;</p>



<p class="wp-block-paragraph"><strong>docker kill </strong>will terminate the process used in-case the docker is in locked up state or not responding state.</p>


<pre class="wp-block-code"><span><code class="hljs language-xml">docker kill <span class="hljs-tag">&lt;<span class="hljs-name">docker_id</span>&gt;</span>
docker inspect <span class="hljs-tag">&lt;<span class="hljs-name">docker_id</span>&gt;</span></code></span></pre>


<p class="wp-block-paragraph">Will return &#8220;ExitCode:137&#8221;</p>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" decoding="async" src="https://www.bestdevops.com/wp-content/uploads/2021/08/exit-code-1024x33.png" alt="" class="wp-image-19232" width="915" height="29" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/exit-code-1024x33.png 1024w, https://www.bestdevops.com/wp-content/uploads/2021/08/exit-code-300x10.png 300w, https://www.bestdevops.com/wp-content/uploads/2021/08/exit-code-768x25.png 768w, https://www.bestdevops.com/wp-content/uploads/2021/08/exit-code-1536x49.png 1536w, https://www.bestdevops.com/wp-content/uploads/2021/08/exit-code.png 1619w" sizes="auto, (max-width: 915px) 100vw, 915px" /></figure>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
