<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Harsh Verma on Medium]]></title>
        <description><![CDATA[Stories by Harsh Verma on Medium]]></description>
        <link>https://medium.com/@harshverma59?source=rss-db62d60c7dc2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*n4J_Gw_syJA16Y9DhwpK8Q.png</url>
            <title>Stories by Harsh Verma on Medium</title>
            <link>https://medium.com/@harshverma59?source=rss-db62d60c7dc2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 11:38:05 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@harshverma59/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Beyond Vibe Code: Next-Gen AI Engineers and Startup Tokenized Ecosystems Will Redefine the Software…]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@harshverma59/beyond-vibe-code-next-gen-ai-engineers-and-startup-tokenized-ecosystems-will-redefine-the-software-4c2d7dc52f8e?source=rss-db62d60c7dc2------2"><img src="https://cdn-images-1.medium.com/max/1000/0*_FvcZomxjlgon0iG" width="1000"></a></p><p class="medium-feed-snippet">From conversational coding to AI-native monetization, a new software economy is emerging the one built on autonomous agents.</p><p class="medium-feed-link"><a href="https://medium.com/@harshverma59/beyond-vibe-code-next-gen-ai-engineers-and-startup-tokenized-ecosystems-will-redefine-the-software-4c2d7dc52f8e?source=rss-db62d60c7dc2------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@harshverma59/beyond-vibe-code-next-gen-ai-engineers-and-startup-tokenized-ecosystems-will-redefine-the-software-4c2d7dc52f8e?source=rss-db62d60c7dc2------2</link>
            <guid isPermaLink="false">https://medium.com/p/4c2d7dc52f8e</guid>
            <category><![CDATA[ai-agent-development]]></category>
            <category><![CDATA[ai-agents-in-action]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[ai-agents-review]]></category>
            <dc:creator><![CDATA[Harsh Verma]]></dc:creator>
            <pubDate>Tue, 31 Mar 2026 01:27:06 GMT</pubDate>
            <atom:updated>2026-03-31T01:27:06.285Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Helm with YugabyteDB : GKE(Google Kubernetes Engine)]]></title>
            <link>https://medium.com/@harshverma59/helm-with-yugabytedb-gke-google-kubernetes-engine-9099b62548cd?source=rss-db62d60c7dc2------2</link>
            <guid isPermaLink="false">https://medium.com/p/9099b62548cd</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[helm]]></category>
            <category><![CDATA[yugabyte]]></category>
            <category><![CDATA[gke]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <dc:creator><![CDATA[Harsh Verma]]></dc:creator>
            <pubDate>Tue, 02 Apr 2019 06:09:03 GMT</pubDate>
            <atom:updated>2019-04-02T06:09:03.106Z</atom:updated>
            <content:encoded><![CDATA[<h3>Helm with YugabyteDB : GKE(Google Kubernetes Engine)</h3><p>This blog will provide quick overview of helm that helps to manage kubernetes applications, providing startup guide with detailed installation steps and practical hands on of using YugabyteDB.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PueEqdRqCt-CRUUy0lEeBA.png" /></figure><p>Before going into installation and details, follow the quick guide to get the overview of aforementioned database, GK-Engine and Helm.</p><p><strong>YugabyteDB</strong> : <a href="https://www.yugabyte.com/">https://www.yugabyte.com/</a> , <a href="https://github.com/YugaByte/yugabyte-db">https://github.com/YugaByte/yugabyte-db</a></p><p><strong>GKE</strong> : <a href="https://cloud.google.com/kubernetes-engine/">https://cloud.google.com/kubernetes-engine/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7eg83P1zd0jiRjUOp14Dvg.jpeg" /></figure><p><strong>Helm</strong> : <a href="https://helm.sh/">https://helm.sh/</a> , <a href="https://github.com/helm/helm">https://github.com/helm/helm</a></p><blockquote><strong>What is Helm ?</strong>: In brief, <strong>Helm is a Package Manager for Kubernetes. </strong>Helm helps you manage Kubernetes applications — Helm Charts help you define, install, and upgrade even the most complex Kubernetes application.</blockquote><p><strong>Some common terminology when using helm :</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*SOwl01WUdfSqOHg7oRN0Sg.jpeg" /></figure><blockquote><strong>Tiller</strong> is a server that runs inside your Kubernetes Cluster anytime you install Helm. Tiller manages installations of your Helm Charts. As Tiller installs containers into your Kubernetes Cluster on your behalf, security around this process should be a high priority for you.</blockquote><p>Once you have Helm installed in your Kubernetes Cluster and everything going, you can add big functionality with a single line of code.</p><blockquote><strong>What is YugabyteDB ?:</strong> In their own astounding definition; <strong>YugaByte DB </strong>is<strong> “</strong>an open source, cloud native, distributed SQL database. Powered by a high-performance, globally-distributed document store that is built ground-up with inspiration from Google Spanner, YugaByte DB aims to make applications agile like never before”.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*9jkZu7gOMjOEXT1FuEahHA.jpeg" /></figure><blockquote><strong>What is GKE ? : </strong>As per official site;<strong> </strong>Google Kubernetes Engine provides a managed environment for deploying, managing, and scaling your containerized applications using Google infrastructure. The environment GKE provides consists of multiple machines (specifically, <a href="https://cloud.google.com/compute">Google Compute Engine</a> instances) grouped together to form a <a href="https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture">cluster</a>.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/934/1*TOmkqA1zT7bwST3QHaH5cA.png" /><figcaption>Helm Manager</figcaption></figure><ul><li><strong><em>Before Starting the Helm installation, create a service account in google cloud platform and provide respective “editor” permission for the project.</em></strong></li></ul><p>Let’s dig into swing ride of installation and details.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*Z2CQDW4AKkifWptDzzwoDw.gif" /><figcaption>Easy Drive to Helm</figcaption></figure><h4><strong>To Install and initiative helm, follow the steps below using GKE(google kubernetes engine) :</strong></h4><ol><li>Ensure that you have enabled the Google Kubernetes Engine API.<a href="https://console.cloud.google.com/apis/library/container.googleapis.com?q=kubernetes%20engine"> ENABLE GOOGLE KUBERNETES ENGINE API</a></li><li>Click the above link and Tap on ENABLE button to activate the API</li><li>Setup the cluster in GCP with required zones and config using google cloud platform.</li><li>Click the link :<a href="https://console.cloud.google.com/kubernetes/list?project=ringed-robot-229102&amp;folder&amp;organizationId">https://console.cloud.google.com/kubernetes/list?project=ringed-robot-229102&amp;folder&amp;organizationId</a></li></ol><p><strong>4.1) This will open the following below window of GCP :</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*32x0tyrCqvHvR_72" /></figure><p><strong>4.2) Click on Create Cluster Button to the get the cluster config window :</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0LjL_TlUYGg9X9Vd" /></figure><p><strong>4.3) Choose the standard Cluster and keep the default config, allow http services for cluster and click on Create button</strong></p><ul><li>-&gt;&gt; This will take approx. 2–5 min to initiate the Kubernetes cluster and then the below cluster state is observed in GCP automatically</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*eBrrejzMngPiNZG8" /></figure><p><strong>4.4) To enable shell(terminal) of cluster click on Connect button, you will be directed to cluster cloud-shell SSH terminal.</strong></p><p><strong>4.5) Check if the cluster is running using command :</strong></p><pre><strong>gcloud container clusters list</strong></pre><p><strong>This will provide the sample output :</strong></p><p>harshverma59@cloudshell:~ (ringed-robot-229102)$ gcloud container clusters listNAME LOCATION MASTER_VERSION MASTER_IP MACHINE_TYPE NODE_VERSION NUM_NODES STATUSstandard-cluster-1 us-central1-a 1.11.7-gke.4 35.193.74.122 n1-standard-1 1.11.7-gke.4 3 RUNNING</p><p><strong>Check the Kubernetes cluster</strong> <strong>info using command</strong> :</p><pre>kubectl cluster-info</pre><p>-&gt;&gt; Kubernetes master is running at<a href="https://35.225.152.43/"> https://35.225.152.43</a></p><h3><strong>Helm Installation Guide:</strong></h3><p><strong>Now install Helm 2.13.0 version on same cluster machine :</strong></p><p>1. wget <a href="https://storage.googleapis.com/kubernetes-helm/helm-v2.13.0-linux-amd64.tar.gz">https://storage.googleapis.com/kubernetes-helm/helm-v2.13.0-linux-amd64.tar.gz</a></p><p>-&gt;&gt; This will download the helm on machine as tar setup</p><p>2. Check the same using command : ls</p><pre>harshverma59@cloudshell:~ (ringed-robot-229102)$ ls</pre><p><strong>Ouput :</strong></p><p>helm-v2.13.0-linux-amd64.tar.gz README-cloudshell.txt</p><p>3. Now un-tar the folder and move the helm to bin :</p><pre><strong>tar -zxvf helm-v2.13.0-linux-amd64.tar.gz<br>sudo mv linux-amd64/helm /usr/local/bin/helm</strong></pre><p>4) Helm is successfully setup run command to verify:</p><pre><strong>helm help</strong></pre><p>5) <strong>Now, lets create a Service account associated with created cluster and deploy the service account template :</strong></p><pre><strong>kubectl create serviceaccount — namespace kube-system tiller</strong></pre><pre>Output :</pre><pre>harshverma59@cloudshell:~ (ringed-robot-229102)$ kubectl create serviceaccount — namespace kube-system tiller<br>serviceaccount/tiller created</pre><p>now, lets create cluster role binding associated with tiller service account</p><pre><strong>kubectl create clusterrolebinding tiller-cluster-rule — clusterrole=cluster-admin — serviceaccount=kube-system:tiller</strong></pre><pre><strong>Output :</strong></pre><pre>harshverma59@cloudshell:~ (ringed-robot-229102)$ kubectl create clusterrolebinding tiller-cluster-rule — clusterrole=cluster-admin — serviceaccount=kube-system:tiller</pre><pre>clusterrolebinding.rbac.authorization.k8s.io/tiller-cluster-rule created</pre><pre><strong>kubectl patch deploy — namespace kube-system tiller-deploy -p</strong> <strong>‘{“spec”:{“template”:{“spec”:{“serviceAccount”:”tiller”}}}}’</strong></pre><p><strong>6) Initialize both client and server, Upgrade the created service account :</strong></p><pre><strong>helm init — service-account tiller — upgrade</strong></pre><p>7) You can check the version of both client and server using command :</p><pre><strong>helm version</strong></pre><pre><strong>Output :</strong></pre><pre>harshverma59@cloudshell:~ (ringed-robot-229102)$ helm version</pre><pre>Client: &amp;version.Version{SemVer:”v2.13.0&quot;, GitCommit:”79d07943b03aea2b76c12644b4b54733bc5958d6&quot;, GitTreeState:”clean”}</pre><pre>Server: &amp;version.Version{SemVer:”v2.13.0&quot;, GitCommit:”79d07943b03aea2b76c12644b4b54733bc5958d6&quot;, GitTreeState:”clean”}</pre><h4><strong>YugaByte DB Setup with Helm :</strong></h4><ol><li><strong>Now the helm client and server are initiated clone the YugaByte DB:</strong></li></ol><p>For creating the yugabyte cluster, you have to first clone the yugabyte-db and then create a YugaByte service account in your Kubernetes cluster.</p><p><strong>Use command to clone :</strong></p><pre><strong>git clone</strong><a href="https://github.com/YugaByte/yugabyte-db.git"><strong> https://github.com/YugaByte/yugabyte-db.git</strong></a></pre><pre><strong>output :</strong></pre><pre>harshverma59@cloudshell:~ (ringed-robot-229102)$ git clone<a href="https://github.com/YugaByte/yugabyte-db.git"> https://github.com/YugaByte/yugabyte-db.git</a></pre><pre>Cloning into ‘yugabyte-db’…remote: Enumerating objects: 745, done.remote: Counting objects: 100% (745/745), done.remote: Compressing objects: 100% (418/418), done.remote: Total 71070 (delta 285), reused 505 (delta 268), pack-reused 70325Receiving objects: 100% (71070/71070), 56.24 MiB | 18.35 MiB/s, done.Resolving deltas: 100% (50222/50222), done.Checking out files: 100% (8316/8316), done.</pre><p><strong>2. Go to YugaByteDB directory :</strong></p><pre><strong>cd ./yugabyte-db/cloud/kubernetes/helm/</strong></pre><p><strong>3. Create YugaByteDB yaml file :</strong></p><pre><strong>kubectl create -f yugabyte-rbac.yaml</strong></pre><p><strong>Sample Output :</strong></p><pre>harshverma59@cloudshell:~/yugabyte-db/cloud/kubernetes/helm<br>(ringed-robot-229102)$ kubectl create -f yugabyte-rbac.yaml</pre><pre>serviceaccount/yugabyte-helm<br><a href="http://createdclusterrolebinding.rbac.authorization.k8s.io/yugabyte-helm">createdclusterrolebinding.rbac.authorization.k8s.io/yugabyte-helm</a> created</pre><p><strong>4. The next step is to initialize Helm :</strong></p><p>Initialize helm with the service account but use the — upgrade flag to ensure that you can upgrade any previous initializations you may have made.</p><p><strong>Command :</strong></p><pre><strong>helm init — service-account yugabyte-helm — upgrade — wait</strong></pre><pre><strong>Output:</strong></pre><pre>harshverma59@cloudshell:~/yugabyte-db/cloud/kubernetes/helm (ringed-robot-229102)$ helm init — service-account yugabyte-helm — upgrade — wait</pre><pre>$HELM_HOME has been configured at /home/harshverma59/.helm.</pre><pre>Tiller (the Helm server-side component) has been upgraded to the current version.</pre><pre>Happy Helming!</pre><p><strong>After successful Helm Setup lets Install YugaByte DB :</strong></p><p>Install YugaByte DB in the Kubernetes cluster using the commands below:</p><pre><strong>1)</strong> <strong>helm install yugabyte — namespace yb-demo — name yb-demo — wait</strong></pre><pre><strong>2) helm install yugabyte — set resource.master.requests.cpu=0.1,resource.master.requests.memory=0.2Gi,resource.tserver.requests.cpu=0.1,resource.tserver.requests.memory=0.2Gi — namespace yb-demo — name yb-demo</strong></pre><pre><strong>Output :</strong></pre><pre>NAME: yb-demo</pre><pre>LAST DEPLOYED: Tue Mar 19 15:38:22 2019</pre><pre>NAMESPACE: yb-demo</pre><pre>STATUS: DEPLOYED</pre><pre>RESOURCES:</pre><pre>==&gt; v1/Pod(related)</pre><pre>NAME READY STATUS RESTARTS AGE</pre><pre>yb-master-0 0/1 Pending 0 0s</pre><pre>==&gt; v1/Service</pre><pre>NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE</pre><pre>yb-master-ui LoadBalancer 10.11.240.249 &lt;pending&gt; 7000:31547/TCP 0s</pre><h4><strong>Installing YugaByte DB with YSQL:</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/201/1*FOoa7-QDLxpHPp-uK0vR1Q.png" /></figure><ol><li>YugabyteDB provide YSQL support for SQL DB version support</li></ol><pre><strong>helm install yugabyte — wait — namespace yb-demo — name yb-demo — set “enablePostgres=true”</strong></pre><p>2. If you are running in a resource-constrained environment or a local environment such as minikube, you will have to change the default resource requirements by using the command below. See next section for a detailed description of these resource requirements.</p><pre><strong>helm install yugabyte — set resource.master.requests.cpu=0.1,resource.master.requests.memory=0.2Gi,resource.tserver.requests.cpu=0.1,resource.tserver.requests.memory=0.2Gi — namespace yb-demo — name yb-demo — set “enablePostgres=true”</strong></pre><p>3. Initialize the YSQL API (after ensuring that cluster is running — see “Check Cluster Status” below)</p><pre><strong>kubectl exec -it -n yb-demo yb-tserver-0 bash — -c “YB_ENABLED_IN_POSTGRES=1 FLAGS_pggate_master_addresses=yb-master-0.yb-masters.yb-demo.svc.cluster.local:7100,yb-master-1.yb-masters.yb-demo.svc.cluster.local:7100,</strong><a href="http://yb-master-2.yb-masters.yb-demo.svc.cluster.local:7100/"><strong>yb-master-2.yb-masters.yb-demo.svc.cluster.local:7100</strong></a><strong> /home/yugabyte/postgres/bin/initdb -D /tmp/yb_pg_initdb_tmp_data_dir -U postgres”</strong></pre><pre><strong>Sample Output :</strong></pre><pre>harshverma59@cloudshell:~/yugabyte-db/cloud/kubernetes/helm (ringed-robot-229102)$ kubectl exec -it -n yb-demo yb-tserver-0 bash — -c “YB_ENABLED_IN_POSTGRES=1 FLAGS_pggate_master_addresses=yb-master-0.yb-masters</pre><pre>.yb-demo.svc.cluster.local:7100,yb-master-1.yb-masters.yb-demo.svc.cluster.local:7100,<a href="http://yb-master-2.yb-masters.yb-demo.svc.cluster.local:7100/">yb-master-2.yb-masters.yb-demo.svc.cluster.local:7100</a> /home/yugabyte/postgres/bin/initdb -D /tmp/yb_pg_initdb_tmp_data_dir -U postgres”</pre><pre>The files belonging to this database system will be owned by user “root”.</pre><pre>This user must also own the server process.</pre><pre>The database cluster will be initialized with locale “C”.</pre><pre>The default database encoding has accordingly been set to “SQL_ASCII”.</pre><pre>The default text search configuration will be set to “english”.</pre><pre>ok</pre><pre>performing post-bootstrap initialization … I0319 21:26:40.250283 72<a href="http://mem_tracker.cc:240/"> mem_tracker.cc:240</a>] MemTracker: hard memory limit is 3.070368 GB</pre><pre>W0319 21:27:20.557303 78<a href="http://outbound_call.cc:350/"> outbound_call.cc:350</a>] RPC callback for RPC call yb.tserver.TabletServerService.Read -&gt; { remote: 10.8.0.9:7100 idx: 6 protocol: 0x00007fb35d1ee7f8 -&gt; tcp } , state=FINISHED_SUCCESS. blocked reactor thread for 56757us</pre><pre>ok</pre><pre>syncing data to disk … ok</pre><p><strong>4) Connect using PSQL client as shown below :</strong></p><pre><strong>kubectl exec -n yb-demo -it yb-tserver-0 /home/yugabyte/postgres/bin/psql — -U postgres -d postgres -h yb-tserver-0.yb-tservers.yb-demo -p 5433</strong></pre><pre><strong>Sample Output :</strong></pre><pre>harshverma59@cloudshell:~/yugabyte-db/cloud/kubernetes/helm (ringed-robot-229102)$ kubectl exec -n yb-demo -it yb-tserver-0 /home/yugabyte/postgres/bin/psql — -U postgres -d postgres -h yb-tserver-0.yb-tservers.yb-demo -p 5433</pre><pre>psql (11.2)</pre><pre>Type “help” for help.</pre><pre>postgres=#</pre><p><strong>5) Now we are inside Postgres shell lets dump a big data file and create respective schema DB.</strong></p><p>lets, load the data file to cluster directory</p><pre>wget<a href="https://raw.githubusercontent.com/curran/data/gh-pages/vegaExamples/airports.csv"> https://raw.githubusercontent.com/curran/data/gh-pages/vegaExamples/airports.csv</a></pre><p>Create New Database :</p><pre>CREATE DATABASE airportdb;</pre><p>Connect to Airport DB :</p><pre>\c airportdb</pre><pre>You are now connected to database “airportdb” as user “postgres”.</pre><p><strong>Create Respective table schema :</strong></p><pre>CREATE TABLE airport(iata VARCHAR , name VARCHAR , city VARCHAR ,state VARCHAR , country VARCHAR , latitude VARCHAR, longitude VARCHAR);</pre><p><strong>Insert Data from Local :</strong></p><pre>psql -d airportdb — user=postgres -c “\copy airport FROM ‘airports.csv’ delimiter ‘,’ csv header”</pre><p><strong>View Data :</strong></p><pre>select * from airport limit 5;</pre><pre>airportdb=# select * from airport limit 5;</pre><pre>iata | name | city | state | country | latitude | longitude</pre><pre> — — — + — — — — — — — — — — — + — — — — — — — — — + — — — -+ — — — — -+ — — — — — — -+ — — — — — — — </pre><pre>00M | Thigpen | Bay Springs | MS | USA | 31.95376472 | -89.23450472</pre><pre>00R | Livingston Municipal | Livingston | TX | USA | 30.68586111 | -95.01792778</pre><pre>00V | Meadow Lake | Colorado Springs | CO | USA | 38.94574889 | -104.5698933</pre><pre>01G | Perry-Warsaw | Perry | NY | USA | 42.74134667 | -78.05208056</pre><pre>01J | Hilliard Airpark | Hilliard | FL | USA | 30.6880125 | -81.90594389</pre><pre>01M | Tishomingo County | Belmont | MS | USA | 34.49166667 | -88.20111111</pre><p><strong>Now exit the DB shell and check Cluster Status and monitoring using Helm:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*n6EmIVhlgVooVJX23WwZzA.jpeg" /><figcaption>Helm monitoring Manager</figcaption></figure><pre><strong>helm status yb-demo</strong></pre><pre>Output :</pre><pre>LAST DEPLOYED: Fri Oct 5 09:04:46 2018NAMESPACE: yb-demo STATUS: DEPLOYED RESOURCES: ==&gt; v1/Service NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE yb-tservers ClusterIP None &lt;none&gt; 7100/TCP,9000/TCP,6379/TCP,9042/TCP 7s yb-masters ClusterIP None &lt;none&gt; 7100/TCP,7000/TCP 7s yb-master-ui LoadBalancer 10.106.132.116 &lt;pending&gt; 7000:30613/TCP 7s ==&gt; v1/StatefulSet NAME DESIRED CURRENT AGE yb-master 3 3 7s yb-tserver 3 3 7s ==&gt; v1/Pod(related) NAME READY STATUS RESTARTS AGE yb-master-0 0/1 Pending 0 7s yb-master-1 0/1 Pending 0 7s yb-master-2 0/1 Pending 0 7s yb-tserver-0 0/1 Pending 0 7s yb-tserver-1 0/1 Pending 0 7s yb-tserver-2 0/1 Pending 0 7s</pre><p><strong>Check the Service pods :</strong></p><pre><strong>$ kubectl get pods — namespace yb-demo</strong></pre><pre><strong>Sample Output :</strong></pre><pre>harshverma59@cloudshell:~/yugabyte-db/cloud/kubernetes/helm (ringed-robot-229102)$ kubectl get pods — namespace yb-demo</pre><pre>NAME READY STATUS RESTARTS AGE</pre><pre>yb-master-0 1/1 Running 0 1</pre><pre>hyb-master-1 1/1 Running 0 1hyb-master-2 1/1 Running 0 1</pre><pre>hyb-tserver-0 1/1 Running 0 1</pre><pre>hyb-tserver-1 1/1 Running 0 1</pre><pre>hyb-tserver-2 1/1 Running 0 1h</pre><p><strong>Check the created service states:</strong></p><pre><strong>kubectl get services — namespace yb-demo</strong></pre><pre>Output :</pre><pre>harshverma59@cloudshell:~/yugabyte-db/cloud/kubernetes/helm (ringed-robot-229102)$ kubectl get services — namespace yb-demo</pre><pre>NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE</pre><pre>yb-master-ui LoadBalancer 10.11.240.249 35.188.191.223 7000:31547/TCP 1</pre><pre>hyb-masters ClusterIP None &lt;none&gt; 7100/TCP,7000/TCP 1</pre><pre>hyb-tservers ClusterIP None &lt;none&gt; 7100/TCP,9000/TCP,6379/TCP,9042/TCP,5433/TCP 1h</pre><p><strong>You can even check the history of the yb-demo helm chart. :</strong></p><pre><strong>helm history yb-demo</strong></pre><pre><strong>Output :</strong></pre><pre>harshverma59@cloudshell:~/yugabyte-db/cloud/kubernetes/helm (ringed-robot-229102)$ helm history yb-demo</pre><pre>REVISION UPDATED STATUS CHART DESCRIPTION</pre><pre>1 Tue Mar 19 15:38:22 2019 DEPLOYED yugabyte-latest Install complete</pre><h4><strong>Configure Cluster using helm:</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*c1arMTM4XDudeCJdGJCbeA.jpeg" /><figcaption>Configuration Manager Helm</figcaption></figure><p><strong>CPU, Memory &amp; Replica Count</strong></p><p>The default values for the Helm chart are in the helm/yugabyte/values.yaml file. The most important ones are listed below. As noted in the Prerequisites section above, the defaults are set for a 3 nodes Kubernetes cluster each with 4 CPU cores and 15 GB RAM</p><pre><strong>helm upgrade — set resource.tserver.requests.cpu=8,resource.tserver.requests.memory=15Gi yb-demo ./yugabyte</strong></pre><pre><strong>Output :</strong></pre><pre>harshverma59@cloudshell:~/yugabyte-db/cloud/kubernetes/helm (ringed-robot-229102)$ helm upgrade — set resource.tserver.requests.cpu=8,resource.tserver.requests.memory=15Gi yb-demo ./yugabyte</pre><pre>Connect to one of the tablet server: kubectl exec — namespace yb-demo -it yb-tserver-0 bash5. Run CQL shell from inside of a tablet server: kubectl exec — namespace yb-demo -it yb-tserver-0 bin/cqlsh yb-tserver-06. Cleanup YugaByte Pods helm delete yb-demo — purge NOTE: You need to manually delete the persistent volume kubectl delete pvc — namespace yb-demo -l app=yb-master kubectl delete pvc — namespace yb-demo -l app=yb-tserver</pre><p><strong>Upgrade Cluster using helm:</strong></p><pre><strong>helm upgrade yb-demo yugabyte — set Image.tag=1.1.0.3-b6 — wait</strong></pre><p><strong>Delete Cluster using helm:</strong></p><pre><strong>helm del — purge yb-demo</strong></pre><pre><strong>Output :</strong></pre><pre>harshverma59@cloudshell:~/yugabyte-db/cloud/kubernetes/helm (ringed-robot-229102)$ helm del — purge yb-demo</pre><pre>release “yb-demo” deleted</pre><pre><strong>kubectl delete pvc — namespace yb-demo — all</strong></pre><pre><strong>Output :</strong></pre><pre>harshverma59@cloudshell:~/yugabyte-db/cloud/kubernetes/helm (ringed-robot-229102)$ kubectl delete pvc — namespace yb-demo — all</pre><pre>persistentvolumeclaim “datadir0-yb-master-0” deleted</pre><pre>persistentvolumeclaim “datadir0-yb-master-1” deleted</pre><pre>persistentvolumeclaim “datadir0-yb-tserver-0” deleted</pre><pre>persistentvolumeclaim “datadir0-yb-tserver-1” deleted</pre><pre>persistentvolumeclaim “datadir0-yb-tserver-2” deleted</pre><h4><strong>More read on Setting up YugabyteDB in Docker 3 node cluster mode :</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1007/1*ZLffV18F9OyRfYBoyNk9Mw.jpeg" /></figure><p><strong>How to Approach easily for YugabyteDB In Docker Mode</strong></p><p><strong>First install Docker :</strong></p><pre><a href="https://docs.docker.com/install/linux/docker-ce/debian/">https://docs.docker.com/install/linux/docker-ce/debian/</a></pre><h4><strong>yb-docker-ctl:</strong></h4><blockquote>Whats yb-docker-ctl ??</blockquote><blockquote><strong>yb-docker-ctl is a simple command line interface for administering local Docker clusters. It manages the</strong><a href="https://docs.yugabyte.com/latest/admin/yb-master/"><strong> yb-master</strong></a><strong> and</strong><a href="https://docs.yugabyte.com/latest/admin/yb-tserver/"><strong> yb-tserver</strong></a><strong> containers to perform the necessary administration.</strong></blockquote><pre>$ mkdir ~/yugabyte &amp;&amp; cd ~/yugabyte</pre><pre>$ wget <a href="https://downloads.yugabyte.com/yb-docker-ctl">https://downloads.yugabyte.com/yb-docker-ctl</a> &amp;&amp; chmod +x yb-docker-ctl</pre><pre>$ ./yb-docker-ctl -h</pre><p><strong>Create a 3 node local cluster with replication factor 3.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*ePY7SOS26aVp_pVg862k6g.png" /><figcaption>YugabyteDb with Docker</figcaption></figure><p>Each of these initial nodes run a yb-tserver process and a yb-master process. Note that the number of yb-masters in a cluster has to equal to the replication factor for the cluster to be considered as operating normally and the number of yb-tservers is equal to be the number of nodes.</p><pre>$ ./yb-docker-ctl create — rf 3</pre><p><strong>Check Status of Nodes :</strong></p><pre>$ ./yb-docker-ctl status</pre><p><strong>Add one More Node :</strong></p><pre>$ ./yb-docker-ctl add_node</pre><p><strong>Remove a node:</strong></p><pre>./yb-docker-ctl remove_node 3</pre><p><strong>Destroy cluster:</strong></p><pre><strong>$ ./yb-docker-ctl destroy</strong></pre><p><strong>Monitoring :</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/1*3XwfyLlTjmTIDossliv0-A.jpeg" /></figure><pre>./bin/yb-ctl status</pre><blockquote><strong>Find the below references to know more about Helm use cases, YugabyteDB blog, GKE Engine and other articles in this series.</strong></blockquote><p><strong>References :</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*Gc3Koukf6P2YPVwjg5osQA.gif" /></figure><ul><li><a href="https://medium.com/yugabyte/yugabyte-db-1-0-a-peek-under-the-hood-3b329e85c76e">YugaByte DB 1.0 — A Peek Under The Hood</a></li><li><a href="https://medium.com/yugabyte">The YugaByte Database Blog</a></li><li><a href="https://hackernoon.com/what-is-helm-and-why-you-should-love-it-74bf3d0aafc">What is Helm and why you should love it?</a></li><li><a href="https://medium.com/google-cloud/installing-helm-in-google-kubernetes-engine-7f07f43c536e">Installing Helm in Google Kubernetes Engine (GKE)</a></li><li><a href="https://www.yugabyte.com/">Distributed PostgreSQL for Modern Apps</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9099b62548cd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>