<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cluster on Samarthya</title><link>https://samarthya.me/tags/cluster/</link><description>Recent content in Cluster on Samarthya</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© Samarthya 2018-2026. All rights reserved.</copyright><lastBuildDate>Tue, 15 Feb 2022 12:00:00 +0000</lastBuildDate><atom:link href="https://samarthya.me/tags/cluster/index.xml" rel="self" type="application/rss+xml"/><item><title>`Devspace`: Managing Apps in Kubernetes</title><link>https://samarthya.me/posts/devspace-managing-apps-in-kubernetes/</link><pubDate>Tue, 15 Feb 2022 12:00:00 +0000</pubDate><guid>https://samarthya.me/posts/devspace-managing-apps-in-kubernetes/</guid><description>&lt;h2 class="relative group"&gt;What is &lt;code&gt;devspace&lt;/code&gt;?&#10; &lt;div id="what-is-devspace" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#what-is-devspace" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;&lt;code&gt;devspace&lt;/code&gt; is a CLI tool for kubernetes, which can help you configure, deploy, debug. and test your application inside Kubernetes.&lt;/p&gt;</description></item><item><title>Adding Node to a cluster</title><link>https://samarthya.me/posts/adding-node-to-a-cluster/</link><pubDate>Thu, 06 Jan 2022 06:58:31 +0000</pubDate><guid>https://samarthya.me/posts/adding-node-to-a-cluster/</guid><description>&lt;p&gt;In this blog, I will try add a new node to the already running cluster.&lt;/p&gt;&#10;&#10;&lt;h2 class="relative group"&gt;My Cluster&#10; &lt;div id="my-cluster" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#my-cluster" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;root@master&amp;gt;k get nodes&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;NAME STATUS ROLES AGE VERSION&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mydevmachine001830.samarthya.me Ready &amp;lt;none&amp;gt; 22h v1.23.1&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mydevmachine002687.samarthya.me Ready &amp;lt;none&amp;gt; 41d v1.23.1&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mydevmachine003277.samarthya.me Ready &amp;lt;none&amp;gt; 131d v1.23.1&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mydevmachine003278.samarthya.me Ready &amp;lt;none&amp;gt; 131d v1.23.1&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mydevmachine003417.samarthya.me Ready &amp;lt;none&amp;gt; 4m55s v1.23.1&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mydevmachine003968.samarthya.me Ready &amp;lt;none&amp;gt; 131d v1.23.1&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mydevmachine003969.samarthya.me Ready control-plane,master 131d v1.23.1&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mydevmachine003970.samarthya.me Ready &amp;lt;none&amp;gt; 131d v1.23.1&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mydevmachine003979.samarthya.me Ready &amp;lt;none&amp;gt; 29m v1.23.1&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#10;&#10;&lt;h2 class="relative group"&gt;Steps to follow&#10; &lt;div id="steps-to-follow" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#steps-to-follow" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Install &lt;code&gt;docker&lt;/code&gt;&lt;/li&gt;&#10;&lt;li&gt;Install &lt;code&gt;kubeadm&lt;/code&gt;, &lt;code&gt;kubectl&lt;/code&gt; &amp;amp; &lt;code&gt;kubelet&lt;/code&gt;&lt;/li&gt;&#10;&lt;li&gt;Join the cluster using the token&lt;/li&gt;&#10;&lt;li&gt;Check the node has joined the cluster&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&#10;&lt;h3 class="relative group"&gt;Step 1: Install docker&#10; &lt;div id="step-1-install-docker" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#step-1-install-docker" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h3&gt;&#10;&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo yum install -y yum-utils&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo yum-config-manager \&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --add-repo \&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; https://download.docker.com/linux/centos/docker-ce.repo&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#10;&lt;p&gt;When adding repo make sure the repo has been added successfully to the machine&lt;/p&gt;</description></item><item><title>Quick: Cheat Sheet</title><link>https://samarthya.me/posts/quick-cheat-sheet/</link><pubDate>Fri, 08 Jan 2021 11:04:34 +0000</pubDate><guid>https://samarthya.me/posts/quick-cheat-sheet/</guid><description>&lt;p&gt;A cheat sheet for Installing K8S cluster.&lt;/p&gt;&#10;&#10;&lt;h2 class="relative group"&gt;Step1:&#10; &lt;div id="step1" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#step1" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Check your OS?&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;code&gt;cat /etc/issue&lt;/code&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;code&gt;lsb_release -a&lt;/code&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&#10;&lt;h2 class="relative group"&gt;Step 2:&#10; &lt;div id="step-2" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#step-2" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;Add the GPG key as described &lt;a href="https://docs.docker.com/engine/install/ubuntu/" target="_blank" rel="noreferrer"&gt;here&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Elastic Cluster API</title><link>https://samarthya.me/posts/elastic-cluster-api/</link><pubDate>Thu, 06 Feb 2020 00:00:00 +0000</pubDate><guid>https://samarthya.me/posts/elastic-cluster-api/</guid><description>&lt;blockquote&gt;&lt;p&gt;Elastic Stack Monitoring Service is available with XPack only.&lt;/p&gt;&#10;&lt;/blockquote&gt;&lt;p&gt;GET _cluster/settings&lt;/p&gt;&#10;&lt;p&gt;{&lt;br&gt;&#10;&amp;ldquo;persistent&amp;rdquo; : {&lt;br&gt;&#10;&amp;ldquo;xpack&amp;rdquo; : {&lt;br&gt;&#10;&amp;ldquo;monitoring&amp;rdquo; : {&lt;br&gt;&#10;&amp;ldquo;elasticsearch&amp;rdquo; : {&lt;br&gt;&#10;&amp;ldquo;collection&amp;rdquo; : {&lt;br&gt;&#10;&amp;ldquo;enabled&amp;rdquo; : &amp;ldquo;false&amp;rdquo;&lt;br&gt;&#10;}&lt;br&gt;&#10;},&lt;br&gt;&#10;&amp;ldquo;collection&amp;rdquo; : {&lt;br&gt;&#10;&amp;ldquo;enabled&amp;rdquo; : &amp;ldquo;true&amp;rdquo;&lt;br&gt;&#10;}&lt;br&gt;&#10;}&lt;br&gt;&#10;}&lt;br&gt;&#10;},&lt;br&gt;&#10;&amp;ldquo;transient&amp;rdquo; : { }&lt;br&gt;&#10;}&lt;/p&gt;</description></item></channel></rss>