<?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>chandrasekhar.nulaka@hpe.com &#8211; Best DevOps</title>
	<atom:link href="https://www.bestdevops.com/author/chandrasekhar-nulakahpe-com/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>Thu, 09 Jun 2022 11:25:32 +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>Kubernets-test-chandra</title>
		<link>https://www.bestdevops.com/kubernets-test-chandra/</link>
					<comments>https://www.bestdevops.com/kubernets-test-chandra/#respond</comments>
		
		<dc:creator><![CDATA[chandrasekhar.nulaka@hpe.com]]></dc:creator>
		<pubDate>Thu, 09 Jun 2022 11:25:30 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=24573</guid>

					<description><![CDATA[What is POD &#8211; in 10 lines with 1 YAML example pod it will execute the containers . it may [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>What is POD &#8211; in 10 lines with 1 YAML example</strong></p>



<p class="wp-block-paragraph">pod it will execute the containers . it may contains tightly or loosely coupled containers and it has yaml file we can write pod instructions.</p>


<pre class="wp-block-code"><span><code class="hljs language-javascript">kubctl create ns chandra
vi pod.yaml
kubectl <span class="hljs-keyword">get</span> pods -n=chandra
kubectl apply -f pod.yaml -n=chandra
kubectl <span class="hljs-keyword">get</span> pods -n=chandra
kubectl <span class="hljs-keyword">get</span> pods -n=chandra -o wide
kubectl <span class="hljs-keyword">get</span> pods -n=chandra -o wide --show-labels
 kubectl <span class="hljs-keyword">get</span> pods -h
 vi pod.yaml
kubectl apply -f pod.yaml -n=chandra
kubectl delete -f pod.yaml -n=chandra
</code></span></pre>


<p class="wp-block-paragraph"><strong>What is ReplicationController &#8211; in 4 lines with 1 YAML example</strong></p>



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



<p class="wp-block-paragraph">Replication means multiple pods. we can create multiple pods at a time by using rc.yml file. we need to give option like replicas: 3 in spect section in rc.yml file.</p>



<p class="wp-block-paragraph">controller will recreate images. if you delete some images automatically recreate images in pod using controller. </p>



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


<pre class="wp-block-code"><span><code class="hljs language-javascript">vi rc.yaml
kubectl create -f rc.yaml -n=chandra
kubectl <span class="hljs-keyword">get</span> rc -n=chandra
kubectl <span class="hljs-keyword">get</span> pods -n=chandra
vi rc.yaml
kubectl apply -f rc.yaml -n=chandra
kubectl <span class="hljs-keyword">get</span> rc -n=chandra
kubectl <span class="hljs-keyword">get</span> pods -n=chandra
kubectl delete pods replicationcontroller-example-5hxrk replicationcontroller-example-8jpv9 
kubectl <span class="hljs-keyword">get</span> pods -n=chandra
kubectl delete rc replicationcontroller-example -n=chandra</code></span></pre>


<p class="wp-block-paragraph"><strong>What is ReplicaSets &#8211; in 4 lines with 1 YAML example</strong></p>



<p class="wp-block-paragraph">Replicasets means Replications and Controller and Versioning.</p>



<p class="wp-block-paragraph">creating multiple pods by using replication and when we delete any image in pod it will recreate by using controller</p>


<pre class="wp-block-code"><span><code class="hljs language-javascript">vi rc.yaml
kubectl create -f rc.yaml -n=chandra
kubectl <span class="hljs-keyword">get</span> rc -n=chandra
kubectl <span class="hljs-keyword">get</span> pods -n=chandra
vi rc.yaml
kubectl apply -f rc.yaml -n=chandra
kubectl <span class="hljs-keyword">get</span> rc -n=chandra
kubectl <span class="hljs-keyword">get</span> pods -n=chandra
kubectl delete pods replicationcontroller-example-5hxrk replicationcontroller-example-8jpv9 
kubectl <span class="hljs-keyword">get</span> pods -n=chandra
kubectl delete rc replicationcontroller-example -n=chandra</code></span></pre>


<p class="wp-block-paragraph"><strong>What is Deployment &#8211; in 10 lines with 1 YAML example</strong></p>



<p class="wp-block-paragraph">deployment is  combination of replicaset and rollout and rollback.</p>



<p class="wp-block-paragraph">deployment follow the pods creation and recreation by using controller , rollout create a version for deployment and rollback it will rollback the version</p>


<pre class="wp-block-code"><span><code class="hljs language-javascript">kubectl create deployment my-dep --image=scmgalaxy/nginx-devopsschoolv1 -n=chandra
 kubectl <span class="hljs-keyword">get</span> deploy -n=chandra
kubectl edit deploy my-dep -n=chandra
kubectl <span class="hljs-keyword">get</span> pod -n=chandra
 kubectl scale --replicas=5 deployment/my-dep -n=chandra
 kubectl delete pod my-dep-747b4ffb56-2ftv5 my-dep-747b4ffb56-8nvwk
kubectl <span class="hljs-keyword">get</span> pod -n=chandra

kubectl rollout -h
kubectl rollout history deploy/my-dep -n=chandra
kubectl edit deploy/my-dep -n=chandra
kubectl rollout history deploy/my-dep -n=chandra
 kubectl <span class="hljs-keyword">get</span> pods -n=rajesh -o wide
kubectl rollout history deploy/my-dep -n=chandra</code></span></pre>


<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.bestdevops.com/kubernets-test-chandra/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>docker test- chandrasekhar</title>
		<link>https://www.bestdevops.com/docker-test-chandrasekhar/</link>
					<comments>https://www.bestdevops.com/docker-test-chandrasekhar/#respond</comments>
		
		<dc:creator><![CDATA[chandrasekhar.nulaka@hpe.com]]></dc:creator>
		<pubDate>Wed, 08 Jun 2022 04:49:40 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=24504</guid>

					<description><![CDATA[1.What is Docker? docker containes collections of containers and we can use any type of platform language application. its lightweight [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>1.What is Docker?</strong></p>



<p class="wp-block-paragraph">docker containes collections of containers and we can use any type of platform language application. its lightweight and quick output.</p>



<p class="wp-block-paragraph"><strong>2. What is Container?</strong></p>



<p class="wp-block-paragraph">container containes images . each image have different type of layers like ubuntu, git, java &#8230; these images we can run using containers each image and each container have saparete unique id</p>



<p class="wp-block-paragraph"><strong>3.Top 10 commands with 1 example of using docker container</strong></p>



<p class="wp-block-paragraph">docker –version<br>docker pull unbuntu<br>docker ps<br>docker ps -a<br>docker kill containerid<br>docker commit containerid<br>docker login<br>docker push<br>docker rm containerid<br>docker rmi containerid<br>docker build containerid</p>



<p class="wp-block-paragraph"><strong>4. 5 commands with 1 example of using docker image</strong></p>


<pre class="wp-block-code"><span><code class="hljs">docker pull ubantu
docker exec -it ubantu
docker images
docker start imageid
docker stop image id
docker rm imageid
docker rmi imageid
</code></span></pre>


<p class="wp-block-paragraph"><strong>5. 5 commands with 1 example of using docker registry</strong></p>


<pre class="wp-block-code"><span><code class="hljs">docker pull ubantu
docker ubantu tag ramu chandra/june2022
docker login

docker push chandra/june2022
docker logout

</code></span></pre>]]></content:encoded>
					
					<wfw:commentRss>https://www.bestdevops.com/docker-test-chandrasekhar/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
