<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Senior Web &amp; Mobile Developer</title>
    <description>The latest articles on DEV Community by Senior Web &amp; Mobile Developer (@acodewizard).</description>
    <link>https://dev.to/acodewizard</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F241796%2F629042cd-6707-4ccb-960c-388c7eacb057.png</url>
      <title>DEV Community: Senior Web &amp; Mobile Developer</title>
      <link>https://dev.to/acodewizard</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/acodewizard"/>
    <language>en</language>
    <item>
      <title>Start Kubernetes on Windows from Minikube with Vmware</title>
      <dc:creator>Senior Web &amp; Mobile Developer</dc:creator>
      <pubDate>Sun, 12 Jun 2022 05:47:11 +0000</pubDate>
      <link>https://dev.to/acodewizard/start-kubernetes-on-windows-from-minikube-with-vmware-1fc4</link>
      <guid>https://dev.to/acodewizard/start-kubernetes-on-windows-from-minikube-with-vmware-1fc4</guid>
      <description>&lt;p&gt;Hi, I think you've already read how to setting up kubernetes on Windows with Minikube from here:&lt;br&gt;
&lt;a href="https://dev.to/harshadranganathan/setting-up-kubernetes-on-windows-with-minikube-2pp6"&gt;https://dev.to/harshadranganathan/setting-up-kubernetes-on-windows-with-minikube-2pp6&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Minikube is a tool that makes it easy to run Kubernetes locally. Minikube runs a single-node Kubernetes cluster inside a VM on your laptop for users looking to try out Kubernetes or develop with it day-to-day.&lt;/p&gt;

&lt;p&gt;When I installed VMware on my local system, it worked a little different, so I'd like to describe my little experience.&lt;/p&gt;

&lt;p&gt;I experienced these kubernetes and minikube in Ubuntu 20.04, and I am going to describe in compare to Linux.&lt;/p&gt;

&lt;p&gt;Let's start from installing Chocolatey.&lt;/p&gt;
&lt;h2&gt;
  
  
  Install Chocolatey
&lt;/h2&gt;

&lt;p&gt;Chocolatey is a package manager for Windows similar to apt install in MacOS. It simplifies our installation process so we will use it here.&lt;/p&gt;

&lt;p&gt;Open PowerShell as an administrator and run below commands.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Get-ExecutionPolicy

Set-ExecutionPolicy AllSigned

iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Install Minikube
&lt;/h2&gt;

&lt;p&gt;After chocolately is installed, run below command to install Minikube.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;choco install minikube
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;@Harshad described above V0.27 have an issue with shutdown, I had not experienced yet...&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Install VMware driver
&lt;/h2&gt;

&lt;p&gt;If you are going to use VMWare as the driver for Minikube, then run below command. If you installed VMWare software already, skip it.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;choco install virtualbox -y
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Start Minikube
&lt;/h2&gt;

&lt;p&gt;Open PowerShell as an administrator and run this command.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;minikube start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then Minikube will follow steps in below:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Downloads MinikubeISO and places it in .minikube folder in your user directory(E.g. C:/users/[username]/.minikube)&lt;/li&gt;
&lt;li&gt;Connects to VMware and runs a minikube virtual machine&lt;/li&gt;
&lt;li&gt;Downloads the necessary files and moves them to the cluster&lt;/li&gt;
&lt;li&gt;Runs a single-node Kubernetes cluster inside the VM&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Check minikube status
&lt;/h2&gt;

&lt;p&gt;To check if minikube is running use below command&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;minikube status
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Output is below&lt;/p&gt;

&lt;p&gt;&lt;code&gt;minikube: Running&lt;br&gt;
cluster: Running&lt;br&gt;
kubectl: Correctly Configured: pointing to minikube-vm at&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Run below command to access the Kubernetes dashboard:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;minikube dashboard

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>minikube</category>
      <category>kubernetes</category>
      <category>windows</category>
      <category>vmware</category>
    </item>
  </channel>
</rss>
