<?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>Harshit_Tiwari &#8211; Best DevOps</title>
	<atom:link href="https://www.bestdevops.com/author/harshit_tiwari/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:04:02 +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>Define kubernetes ReplicaSets with Example and commands</title>
		<link>https://www.bestdevops.com/define-kubernetes-replicasets-with-example-and-commands-4/</link>
		
		<dc:creator><![CDATA[Harshit_Tiwari]]></dc:creator>
		<pubDate>Thu, 16 Sep 2021 06:57:49 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=21490</guid>

					<description><![CDATA[Replicaset: A ReplicaSet is one of the Kubernetes controllers that makes sure we have a specified number of pod replicas [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">Replicaset:</h2>



<p class="wp-block-paragraph">A ReplicaSet is one of the Kubernetes controllers that makes sure we have a specified number of pod replicas running. A ReplicaSet&#8217;s purpose is to maintain a stable set of replica Pods running at any given time. As such, it is often used to guarantee the availability of a specified number of identical Pods.</p>



<p class="wp-block-paragraph"> You can define Deployments to create new ReplicaSets, or to remove existing Deployments and adopt all their resources with new Deployments.</p>



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



<ol class="wp-block-list"><li>creating replicaset:</li></ol>


<pre class="wp-block-code"><span><code class="hljs language-javascript">&#91;centos@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-22</span><span class="hljs-number">-14</span> harshit]$ kubectl create deployment harshit --image=scmgalaxy/nginx-devopsschoolv1 --replicas=<span class="hljs-number">3</span> -n=harshit
deployment.apps/harshit created
&#91;centos@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-22</span><span class="hljs-number">-14</span> harshit]$ kubectl <span class="hljs-keyword">get</span> deployment -n=harshit
NAME      READY   UP-TO-DATE   AVAILABLE   AGE
harshit   3/3     3            3           15s
&#91;centos@ip-172-31-22-14 harshit]$ kubectl <span class="hljs-keyword">get</span> pod -n=harshit
NAME                       READY   STATUS    RESTARTS   AGE
harshit                    1/1     Running   0          109m
harshit-5gk8t              1/1     Running   0          8m58s
harshit-7c675b8d4f-dlv8l   1/1     Running   0          34s
harshit-7c675b8d4f-p9gmv   1/1     Running   0          34s
harshit-7c675b8d4f-xf7r7   1/1     Running   0          34s
harshit-xtftw              1/1     Running   0          8m58s</code></span></pre>


<p class="wp-block-paragraph">2.scaling replicaset:</p>


<pre class="wp-block-code"><span><code class="hljs language-javascript">&#91;centos@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-22</span><span class="hljs-number">-14</span> harshit]$ kubectl scale --replicas=<span class="hljs-number">1</span> deploy/harshit -n=harshit
deployment.apps/harshit scaled
&#91;centos@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-22</span><span class="hljs-number">-14</span> harshit]$ kubectl <span class="hljs-keyword">get</span> deploy -n=harshit
NAME      READY   UP-TO-DATE   AVAILABLE   AGE
harshit   1/1     1            1           12m
</code></span></pre>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>What is Kubernetes and its features-</title>
		<link>https://www.bestdevops.com/what-is-kubernetes/</link>
		
		<dc:creator><![CDATA[Harshit_Tiwari]]></dc:creator>
		<pubDate>Wed, 15 Sep 2021 10:00:20 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=21385</guid>

					<description><![CDATA[Kubernetes is an open-source platform for automated deployment, scaling, and management of containers and containerized applications. Features of Kubernetes: &#160;Automating [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"> Kubernetes is an open-source platform for automated deployment, scaling, and management of containers and containerized applications.</p>



<h2 class="wp-block-heading">Features of Kubernetes:</h2>



<ul class="wp-block-list"><li>&nbsp;Automating many processes of applications and services deployment that before were carried out manually</li><li>&nbsp;Kubernetes checks constantly the health of nodes and containers</li><li>It takes care of scaling and failover for the application</li><li>Kubernetes is able to load balance and distribute the network traffic so that the deployment is stable.</li><li>Scale resources and applications in real time</li><li>Orchestrate containers on multiple hosts</li></ul>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>List out features of docker-compose</title>
		<link>https://www.bestdevops.com/list-out-features-of-docker-compose/</link>
		
		<dc:creator><![CDATA[Harshit_Tiwari]]></dc:creator>
		<pubDate>Wed, 15 Sep 2021 05:04:14 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=21332</guid>

					<description><![CDATA[1.Compose is a tool for defining and running multi-container Docker applications 2. A YAML file is used to configure all [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">1.Compose is a tool for defining and running multi-container Docker applications</p>



<p class="wp-block-paragraph">2. A YAML file is used to configure all the application services</p>



<p class="wp-block-paragraph">3. With a single command the services can be created and started using the defined configurations</p>



<p class="wp-block-paragraph">4. Compose has command to start , stop and rebuild services.</p>



<p class="wp-block-paragraph">5. docker-compose can be used to view the status of the running services.</p>



<p class="wp-block-paragraph">6. It can stream the log output of running services.</p>



<p class="wp-block-paragraph">7.docker-compose only recreates containers that have changed.</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_46374"  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>What is tempfs in docker volume and how to use it?</title>
		<link>https://www.bestdevops.com/what-is-tempfs-in-docker-volume-and-how-it-use-it-2/</link>
		
		<dc:creator><![CDATA[Harshit_Tiwari]]></dc:creator>
		<pubDate>Tue, 14 Sep 2021 12:18:05 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=21317</guid>

					<description><![CDATA[A&#160;tmpfs&#160;mount is temporary, and only persisted in the host memory. When the container stops, the&#160;tmpfs&#160;mount is removed, and files written [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">A&nbsp;<code>t</code>mpfs&nbsp;mount is temporary, and only persisted in the host memory. When the container stops, the&nbsp;<code>tmpfs</code>&nbsp;mount is removed, and files written there won’t be persisted.</p>



<p class="wp-block-paragraph"> This is useful to temporarily store sensitive files that you don’t want to persist in either the host or the container writable layer</p>


<pre class="wp-block-code"><span><code class="hljs language-php"><span class="hljs-comment"># example to use tmpfs mount </span>

docker run -itd --name harshit5 --mount type=tmpfs,destination=/opt/harshit ubuntu</code></span></pre>


<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_89634"  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>
