<?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>vaibhav.account &#8211; Best DevOps</title>
	<atom:link href="https://www.bestdevops.com/author/vaibhav-account/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, 06 Oct 2021 03:54:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.2</generator>
	<item>
		<title>Difference between kubectl exec and kubectl attach?</title>
		<link>https://www.bestdevops.com/difference-between-kubectl-exec-and-kubectl-attach/</link>
		
		<dc:creator><![CDATA[vaibhav.account]]></dc:creator>
		<pubDate>Wed, 06 Oct 2021 03:53:58 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=22097</guid>

					<description><![CDATA[kubectl attach kubectl exec We can attach to the main process run by the container, which is not always bash. [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"></p>



<figure class="wp-block-table"><table><tbody><tr><td><strong>kubectl attach</strong></td><td><strong>kubectl exec</strong></td></tr><tr><td> We can attach to the main process run by the container, which is not always bash. Which is the PID1. </td><td> It allows us to execute <em>any</em> process within the container </td></tr><tr><td>Attach to the one running (no choice)</td><td>Run any command you want to execute.</td></tr></tbody></table></figure>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How certifcate based auth works ?</title>
		<link>https://www.bestdevops.com/how-certifcate-based-auth-works/</link>
		
		<dc:creator><![CDATA[vaibhav.account]]></dc:creator>
		<pubDate>Wed, 06 Oct 2021 03:46:43 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=22094</guid>

					<description><![CDATA[We use PKI certificates for authentication over TLS in Kubernetes. If we install Kubernetes with &#8220;kubeadm&#8221; command, the certificates that [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">We use PKI certificates for authentication over TLS in Kubernetes. If we install Kubernetes with &#8220;kubeadm&#8221; command, the certificates that your cluster requires are automatically generated. You can also generate our own certificates.</p>



<p class="wp-block-paragraph">How Certificates are used in Kubernetes Cluster:</p>



<ul class="wp-block-list"><li>Client certificates for the kubelet to authenticate to the API server</li><li>Server certificate for the API server endpoint</li><li>Client certificates for administrators of the cluster to authenticate to the API server</li><li>Client certificates for the API server to talk to the kubelet</li><li>Client certificate for the API server to talk to etcd</li><li>Client certificate/kubeconfig for the controller manager to talk to the API server</li><li>Client certificate/kubeconfig for the scheduler to talk to the API server.</li></ul>



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



<p class="wp-block-paragraph">NOTE: If we install Kubernetes with kubeadm, certificates are stored in <code>/etc/kubernetes/pki</code></p>



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



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Kubernetes in Vaibhav&#8217;s Words !!</title>
		<link>https://www.bestdevops.com/kubernetes-in-vaibhavs-words/</link>
		
		<dc:creator><![CDATA[vaibhav.account]]></dc:creator>
		<pubDate>Mon, 04 Oct 2021 10:15:27 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=21986</guid>

					<description><![CDATA[What is Kubernetes?&#8212; Launched by Google&#8212; Part of CNCF&#8212; Written in golang&#8212; Kubernetes is a container orchestrator, and helps to [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph"><strong>What is Kubernetes?</strong><br>&#8212; Launched by Google<br>&#8212; Part of CNCF<br>&#8212; Written in golang<br>&#8212; Kubernetes is a container orchestrator, and helps to manage containerized applications<br>&#8212; Helps in workload placement on different nodes<br>&#8212; Does infrastructure abstraction<br>&#8212; Maintains desired state.</p>



<p class="wp-block-paragraph"><strong>Why Kubernetes?</strong><br>&#8212; speed of deployment<br>&#8212; ability of absorb changes<br>&#8212; ability to recover quickly<br>&#8212; We can deploy a scalable solution using kubernetes<br>&#8212; hide complexity in the cluster</p>



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



<p class="wp-block-paragraph"><strong>How Kubernetes works?</strong><br>Components of Kubernetes:</p>



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



<p class="wp-block-paragraph">&#8212; front-end to the control plane.<br>&#8212; expose the Rest API<br>&#8212; uses JSON format</p>



<h4 class="wp-block-heading">CLuster Store</h4>



<p class="wp-block-paragraph">&#8212; Persistent storage cluster state and config<br>&#8212; uses etcd<br>&#8212; Distributed .. consistent .. watchable</p>



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



<p class="wp-block-paragraph">Controls different controllers:<br>&#8212; node controller<br>&#8212; endpoint controller<br>&#8212; namespace controller</p>



<p class="wp-block-paragraph">Watchers the changes<br>Helps maintain desired state</p>



<h4 class="wp-block-heading">Kube-scheduler</h4>



<p class="wp-block-paragraph">keep watching api-server<br>api-server assign work to scheduler.</p>



<p class="wp-block-paragraph">Assignment of work to worker nodes<br>&#8212; affinity<br>&#8212; constraint<br>&#8212; resources</p>



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



<p class="wp-block-paragraph"><strong>What is POD?</strong><br>–- Compute unit<br>&#8212; running in worker node<br>&#8212; pod is instantiated not created by Kubelet<br>&#8212; Atomic unit of scheduling<br>&#8212; Pods cannot be re-deployed<br>&#8212; Contains one or more containers.<br>&#8212; Live till the container is live<br>&#8212; Lifecycle: pending &#8211;&gt; running &#8211;&gt; Failed / Succeed</p>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
