<?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: Samuel Oshobugie</title>
    <description>The latest articles on DEV Community by Samuel Oshobugie (@samueloshobugie).</description>
    <link>https://dev.to/samueloshobugie</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%2F1088069%2F85f7eae8-6138-4fa0-936d-8f6b9b90f3cd.jpeg</url>
      <title>DEV Community: Samuel Oshobugie</title>
      <link>https://dev.to/samueloshobugie</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/samueloshobugie"/>
    <language>en</language>
    <item>
      <title>Version Control System</title>
      <dc:creator>Samuel Oshobugie</dc:creator>
      <pubDate>Wed, 17 Sep 2025 22:25:19 +0000</pubDate>
      <link>https://dev.to/samueloshobugie/version-control-system-n4c</link>
      <guid>https://dev.to/samueloshobugie/version-control-system-n4c</guid>
      <description>&lt;p&gt;version control system&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Installing Kubernetes using Minikube</title>
      <dc:creator>Samuel Oshobugie</dc:creator>
      <pubDate>Fri, 19 Jan 2024 12:08:54 +0000</pubDate>
      <link>https://dev.to/samueloshobugie/installing-kubernetes-using-minikube-42ab</link>
      <guid>https://dev.to/samueloshobugie/installing-kubernetes-using-minikube-42ab</guid>
      <description>&lt;p&gt;Kubernetes is an open source system to deploy, scale and manage containerized applications anywhere. &lt;/p&gt;

&lt;p&gt;You can choose to install it locally on your host machine or use it via a cloud provider such as GCP and AWS.&lt;/p&gt;

&lt;p&gt;Using Kubernetes via a cloud provider is usually the best option, but you can also choose to run it locally. &lt;/p&gt;

&lt;p&gt;Installing it on your local machine is not a hassle at all but could be tricky at times. We would be digging deep and exploring all our options.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;INSTALLING ON A MAC&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To install kubernetes on a mac you should install a lightweight virtual machine first called hyperkit. Preferably use brew for your installation&lt;/p&gt;

&lt;p&gt;&lt;code&gt;brew install hyperkit&lt;/code&gt;&lt;br&gt;
&lt;code&gt;brew install minikube&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;If you have an older version of minikube with a virtual machine it is best to uninstall that first with &lt;/p&gt;

&lt;p&gt;&lt;code&gt;minikube delete&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;then reinstall afresh &lt;/p&gt;

&lt;p&gt;&lt;code&gt;brew install hyperkit&lt;/code&gt;&lt;br&gt;
&lt;code&gt;brew install minikube&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;to start the minikube cluster you need to point minikube to the vm - hyperkit&lt;/p&gt;

&lt;p&gt;&lt;code&gt;minikube start --vm-driver=hyperkit&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Please note that during installation minikube installed kubectl as a dependency. &lt;/p&gt;

&lt;p&gt;when all is done, you can check their versions for confirmation&lt;/p&gt;

&lt;p&gt;&lt;code&gt;kubectl version&lt;/code&gt;&lt;br&gt;
&lt;code&gt;minikube version&lt;/code&gt;&lt;br&gt;
&lt;code&gt;minikube status&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;&lt;code&gt;kubectl get nodes&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;INSTALLING ON A LINUX MACHINE&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Installing kubernetes on a linux machine you first need to update the machine with &lt;/p&gt;

&lt;p&gt;&lt;code&gt;sudo apt update&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;then install a virtual machine that kubernetes will run on preferably a lightweight vm &lt;/p&gt;

&lt;p&gt;&lt;code&gt;sudo apt update&lt;/code&gt;&lt;br&gt;
&lt;code&gt;sudo apt install virtualbox&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;or if you prefer qemu-kvm virtual machine&lt;/p&gt;

&lt;p&gt;&lt;code&gt;sudo apt update&lt;/code&gt;&lt;br&gt;
&lt;code&gt;sudo apt install qemu-kvm libvirt-clients libvirt-daemon-system&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;When installation is complete, the next step is to install kubectl&lt;/p&gt;

&lt;p&gt;&lt;code&gt;sudo apt update&lt;/code&gt;&lt;br&gt;
&lt;code&gt;sudo apt install kubectl&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;OR&lt;/p&gt;

&lt;p&gt;&lt;code&gt;snap install kubectl --classic&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Then finally you install minikube by installing its binary &lt;/p&gt;

&lt;p&gt;&lt;code&gt;curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64&lt;br&gt;
sudo install minikube-linux-amd64 /usr/local/bin/minikube&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;When installation is complete, to start the cluster you should point minikube to the virtual machine installed &lt;/p&gt;

&lt;p&gt;For VirtualBox&lt;/p&gt;

&lt;p&gt;&lt;code&gt;minikube start --driver=virtualbox&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;For KVM/QEMU&lt;/p&gt;

&lt;p&gt;&lt;code&gt;minikube start --driver=kvm2&lt;/code&gt;&lt;br&gt;
&lt;code&gt;minikube status&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;&lt;code&gt;kubectl get nodes&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;INSTALLING ON A LINUX MACHINE RUNNING ON A VIRTUAL MACHINE&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Most times this is usually the trickiest part, running a linux machine on a VM and you need yet another vm to run kubernetes, thats the analogy right? but yes and no.&lt;/p&gt;

&lt;p&gt;You see actually you need nested virtualization for this, thats a vm on another vm but one thing to note here is that docker can integrate so well with kubernetes so instead of using a vm on another vm we can use docker to serve as the driver hence no need for that vm. So how do we do this&lt;/p&gt;

&lt;p&gt;&lt;code&gt;sudo apt update&lt;/code&gt;&lt;br&gt;
&lt;code&gt;sudo apt install docker.io&lt;/code&gt;&lt;br&gt;
&lt;code&gt;docker version&lt;/code&gt;&lt;br&gt;
&lt;code&gt;systemctl start docker&lt;/code&gt; &lt;br&gt;
&lt;code&gt;systemctl status docker&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;ctrl + c to return&lt;/p&gt;

&lt;p&gt;&lt;code&gt;snap install kubectl --classic&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Next step install minikube   &lt;/p&gt;

&lt;p&gt;&lt;code&gt;curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64&lt;br&gt;
sudo install minikube-linux-amd64 /usr/local/bin/minikube&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;minikube version&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Now point minikube to docker like this &lt;/p&gt;

&lt;p&gt;&lt;code&gt;minikube start --driver=docker&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;This would raise an alarm, so add your user to the docker group to give it permission. Add it like this &lt;/p&gt;

&lt;p&gt;&lt;code&gt;sudo usermod -aG docker $USER &amp;amp;&amp;amp; newgrp docker&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;Run the command to start the minikube cluster &lt;/p&gt;

&lt;p&gt;&lt;code&gt;minikube start --driver=docker&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Note: ensure docker has space enough space and is not cluttered, to prune docker run &lt;/p&gt;

&lt;p&gt;&lt;code&gt;docker system prune -f&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Confirm install&lt;/p&gt;

&lt;p&gt;&lt;code&gt;kubectl version&lt;/code&gt;&lt;br&gt;
&lt;code&gt;minikube version&lt;/code&gt; &lt;br&gt;
&lt;code&gt;minikube status&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;Start&lt;/p&gt;

&lt;p&gt;&lt;code&gt;kubectl get nodes&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;Voila kubernetes is now up running !!!&lt;/p&gt;

</description>
      <category>kubernetes</category>
      <category>devops</category>
      <category>docker</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
