{"id":3357,"date":"2023-05-20T12:03:15","date_gmt":"2023-05-20T09:03:15","guid":{"rendered":"https:\/\/www.virtono.com\/community\/?p=3357"},"modified":"2023-05-22T09:22:39","modified_gmt":"2023-05-22T06:22:39","slug":"how-to-install-a-local-kubernetes-with-microk8s","status":"publish","type":"post","link":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-a-local-kubernetes-with-microk8s\/","title":{"rendered":"How to install a local Kubernetes with MicroK8s"},"content":{"rendered":"\n<p>Fortunately, MicroK8s offers a lightweight and straightforward solution for running <a href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/understanding-kubernetes-empowering-scalable-and-reliable-application-deployments\/\">Kubernetes<\/a> on your local machine, or on a single <a href=\"https:\/\/www.virtono.com\/cloud-vps\">VPS<\/a>. In this guide, we&#8217;ll walk you through the step-by-step process of installing MicroK8s and getting started with local Kubernetes development. Kubernetes has become the de facto standard for container orchestration, allowing developers to manage and deploy applications at scale. While Kubernetes is powerful, setting up a local development environment can be a daunting task. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"3359\" data-permalink=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-a-local-kubernetes-with-microk8s\/attachment\/52c2e57feb961611de65abf267208fa8a957f5f5\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/52c2e57feb961611de65abf267208fa8a957f5f5.png?fit=2048%2C1024&amp;ssl=1\" data-orig-size=\"2048,1024\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"52c2e57feb961611de65abf267208fa8a957f5f5\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/52c2e57feb961611de65abf267208fa8a957f5f5.png?fit=750%2C375&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/52c2e57feb961611de65abf267208fa8a957f5f5.png?resize=638%2C319&#038;ssl=1\" alt=\"How to install a local Kubernetes with MicroK8s\" class=\"wp-image-3359\" width=\"638\" height=\"319\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/52c2e57feb961611de65abf267208fa8a957f5f5.png?resize=1024%2C512&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/52c2e57feb961611de65abf267208fa8a957f5f5.png?resize=300%2C150&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/52c2e57feb961611de65abf267208fa8a957f5f5.png?resize=768%2C384&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/52c2e57feb961611de65abf267208fa8a957f5f5.png?resize=1536%2C768&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/52c2e57feb961611de65abf267208fa8a957f5f5.png?w=2048&amp;ssl=1 2048w\" sizes=\"auto, (max-width: 638px) 100vw, 638px\" \/><\/figure>\n<\/div>\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_73 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-a-local-kubernetes-with-microk8s\/#Section_1_Preparing_the_Environment\" title=\"Section 1: Preparing the Environment\">Section 1: Preparing the Environment<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-a-local-kubernetes-with-microk8s\/#Section_2_Installing_MicroK8s\" title=\"Section 2: Installing MicroK8s\">Section 2: Installing MicroK8s<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-a-local-kubernetes-with-microk8s\/#Section_3_Configuring\" title=\"Section 3: Configuring\">Section 3: Configuring<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-a-local-kubernetes-with-microk8s\/#Section_4_Testing_the_Cluster\" title=\"Section 4: Testing the Cluster\">Section 4: Testing the Cluster<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-a-local-kubernetes-with-microk8s\/#Section_5_Interacting_with_the_Cluster\" title=\"Section 5: Interacting with the Cluster\">Section 5: Interacting with the Cluster<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-a-local-kubernetes-with-microk8s\/#Final_Thoughts\" title=\"Final Thoughts\">Final Thoughts<\/a><\/li><\/ul><\/nav><\/div>\n<h3 class=\"wp-block-heading has-accent-color has-text-color\"><span class=\"ez-toc-section\" id=\"Section_1_Preparing_the_Environment\"><\/span>Section 1: Preparing the Environment <span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Before diving into the installation process, ensure that your system meets the following requirements:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>A Linux-based distribution (MicroK8s is primarily designed for Linux)<\/li>\n\n\n\n<li>A machine with at least 2 CPU cores and 2GB of RAM<\/li>\n\n\n\n<li>Snap package manager installed (pre-installed on most modern Linux distributions)<\/li>\n<\/ol>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading has-accent-color has-text-color\"><span class=\"ez-toc-section\" id=\"Section_2_Installing_MicroK8s\"><\/span>Section 2: Installing MicroK8s<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Open a terminal and execute the following command to install MicroK8s:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>sudo snap install microk8s --classic<\/code><\/pre>\n\n\n\n<p>This command will download and install the MicroK8s snap package on your system.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"187\" data-attachment-id=\"3360\" data-permalink=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-a-local-kubernetes-with-microk8s\/attachment\/screenshot-2023-05-19-at-12-40-26\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-19-at-12.40.26.png?fit=1872%2C466&amp;ssl=1\" data-orig-size=\"1872,466\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-2023-05-19-at-12.40.26\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-19-at-12.40.26.png?fit=750%2C187&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-19-at-12.40.26.png?resize=750%2C187&#038;ssl=1\" alt=\"\" class=\"wp-image-3360\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-19-at-12.40.26.png?resize=1024%2C255&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-19-at-12.40.26.png?resize=300%2C75&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-19-at-12.40.26.png?resize=768%2C191&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-19-at-12.40.26.png?resize=1536%2C382&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-19-at-12.40.26.png?w=1872&amp;ssl=1 1872w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n\n\n\n<p>Once the installation is complete, add your user to the &#8216;microk8s&#8217; group using the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>sudo usermod -a -G microk8s your-username<\/code><\/pre>\n\n\n\n<p>Replace <code>&lt;your-username&gt;<\/code> with your actual username. This step allows your user to access the MicroK8s cluster.<\/p>\n\n\n\n<p>To enable some essential add-ons, run the following commands one by one:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>microk8s enable dashboard dns storage<\/code><\/pre>\n\n\n\n<p>These add-ons provide a graphical dashboard for managing your cluster, DNS resolution for services, and persistent storage support.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"553\" data-attachment-id=\"3361\" data-permalink=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-a-local-kubernetes-with-microk8s\/attachment\/screenshot-2023-05-19-at-12-59-27\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-19-at-12.59.27.png?fit=1736%2C1280&amp;ssl=1\" data-orig-size=\"1736,1280\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-2023-05-19-at-12.59.27\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-19-at-12.59.27.png?fit=750%2C553&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-19-at-12.59.27.png?resize=750%2C553&#038;ssl=1\" alt=\"How to install a local Kubernetes with MicroK8s\" class=\"wp-image-3361\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-19-at-12.59.27.png?resize=1024%2C755&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-19-at-12.59.27.png?resize=300%2C221&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-19-at-12.59.27.png?resize=768%2C566&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-19-at-12.59.27.png?resize=1536%2C1133&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-19-at-12.59.27.png?w=1736&amp;ssl=1 1736w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading has-accent-color has-text-color\"><span class=\"ez-toc-section\" id=\"Section_3_Configuring\"><\/span>Section 3: Configuring<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>To access the Kubernetes cluster, you need to configure the command-line tool, kubectl. Execute the following command to set up kubectl:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>microk8s kubectl config view --raw &gt; $HOME\/.kube\/config<\/code><\/pre>\n\n\n\n<p>This command saves the configuration file required by kubectl in the default location.<\/p>\n\n\n\n<p>Confirm that MicroK8s is up and running by checking the cluster status:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>microk8s status --wait-ready<\/code><\/pre>\n\n\n\n<p>Once all the components are listed as &#8216;running,&#8217; you&#8217;re ready to proceed.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-accent-color has-text-color\"><span class=\"ez-toc-section\" id=\"Section_4_Testing_the_Cluster\"><\/span>Section 4: Testing the Cluster<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Verify that the cluster is functioning correctly by running the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>microk8s kubectl get nodes<\/code><\/pre>\n\n\n\n<p>If everything is set up correctly, you should see a single node listed as &#8216;Ready.&#8217;<\/p>\n\n\n\n<p>Additionally, you can check the status of the installed add-ons by running:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>microk8s kubectl get pods --all-namespaces<\/code><\/pre>\n\n\n\n<p>This command displays all the running pods in the cluster, along with their namespaces.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-accent-color has-text-color\"><span class=\"ez-toc-section\" id=\"Section_5_Interacting_with_the_Cluster\"><\/span>Section 5: Interacting with the Cluster<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>To access the Kubernetes dashboard, use the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>microk8s dashboard-proxy<\/code><\/pre>\n\n\n\n<p>This command starts a proxy server that allows you to access the dashboard through your web browser. Open your browser and visit <code>http:\/\/localhost:8001<\/code> to access the Kubernetes dashboard.<\/p>\n\n\n\n<p>To stop the MicroK8s cluster when you&#8217;re done, execute:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>microk8s stop<\/code><\/pre>\n\n\n\n<p>This command shuts down the cluster, freeing up system resources.<\/p>\n\n\n\n<p>If you need a high-quality server for your Microk8s cluster you can choose from our 29 data centers are located around the world, and we\u2019re proud to offer our services in these locations:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.virtono.com\/losangeles-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Los Angeles, CA, United States<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/dallas-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Dallas, TX, United States<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/miami-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Miami, FL, United States<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/newyork-vps\" target=\"_blank\" rel=\"noreferrer noopener\">New York, NY, United States<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/montreal-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Montreal, Canada<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/dublin-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Dublin, Ireland<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/manchester-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Manchester, United Kingdom<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/london-vps\" target=\"_blank\" rel=\"noreferrer noopener\">London, United Kingdom<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/paris-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Paris, France<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/madrid-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Madrid, Spain<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/brussels-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Bruxelles, Belgium<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/amsterdam-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Amsterdam, Netherlands<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/oslo-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Oslo, Norway<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/stockholm-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Stockholm, Sweden<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/copenhagenvps-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Copenhagen, Denmark<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/frankfurt-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Frankfurt, Germany<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/warsaw-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Warsaw, Poland<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/prague-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Prague, Czech Republic<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/vienna-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Vienna, Austria<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/zurich-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Zurich, Switzerland<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/milan-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Milan, Italy<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/budapest-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Budapest, Hungary<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/belgrade-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Belgrade, Serbia<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/sofia-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Sofia, Bulgaria<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/bucharest-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Bucharest, Romania<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/singapore-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Singapore<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/hongkong-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Hong Kong<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/tokyo-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Tokyo, Japan<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/sydney-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Sydney, Australia<\/a><\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading has-accent-color has-text-color\"><span class=\"ez-toc-section\" id=\"Final_Thoughts\"><\/span>Final Thoughts<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Setting up a local Kubernetes environment is essential for developing and testing applications before deploying them to a production cluster. MicroK8s provides a simple and lightweight solution for running Kubernetes on your local machine. In this guide, we walked through the installation process, configuration steps, and how to interact with the MicroK8s cluster. With your local Kubernetes environment up and running, you&#8217;re now ready to dive into the world of containerized application development and orchestration. Happy Kubernetizing!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fortunately, MicroK8s offers a lightweight and straightforward solution for running Kubernetes on your local machine, or on a single VPS. In this guide, we&#8217;ll walk you through the step-by-step process of installing MicroK8s and getting started with local Kubernetes development. Kubernetes has become the de facto standard for container orchestration,<\/p>\n","protected":false},"author":8,"featured_media":3358,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[3],"tags":[375,370,372,373,371,374,376],"class_list":["post-3357","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorial-how-to","tag-configure-microk8s","tag-install-kubernetes","tag-install-microk8s","tag-installing-microk8s","tag-kubernetes-with-microk8s","tag-local-kubernetes","tag-ubuntu-microk8s"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-install-a-local-Kubernetes-with-MicroK8s.png?fit=600%2C330&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7ISfL-S9","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":3413,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-and-configure-kubernetes-on-ubuntu-22-04\/","url_meta":{"origin":3357,"position":0},"title":"How to install and configure Kubernetes on Ubuntu 22.04","author":"George B.","date":"May 28, 2023","format":false,"excerpt":"Welcome to our comprehensive guide on installing and configuring Kubernetes on Ubuntu 22. In this tutorial, we will walk you through the process of setting up a Kubernetes cluster on your Ubuntu 22 machine. Whether you are a beginner or an experienced user, this guide will provide you with detailed\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-install-and-configure-Kubernetes-on-Ubuntu-22.04.png?fit=600%2C330&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-install-and-configure-Kubernetes-on-Ubuntu-22.04.png?fit=600%2C330&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-install-and-configure-Kubernetes-on-Ubuntu-22.04.png?fit=600%2C330&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":3821,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-deploy-zipkin-on-kubernetes\/","url_meta":{"origin":3357,"position":1},"title":"How to Deploy Zipkin on Kubernetes","author":"George B.","date":"September 6, 2023","format":false,"excerpt":"This tutorial will walk you through setting up Zipkin on Kubernetes, assuming that you already have K3s and Helm set up. Microservices have become a key element in the quickly changing world of software development. Distributed tracing systems like Zipkin have become very popular in tandem with this explosion in\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/How-to-Deploy-Zipkin-on-k3s.png?fit=360%2C240&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3687,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-deploy-mongodb-on-kubernetes\/","url_meta":{"origin":3357,"position":2},"title":"How to Deploy MongoDB on Kubernetes","author":"George B.","date":"July 29, 2023","format":false,"excerpt":"This tutorial will walk you through installing MongoDB on Kubernetes cluster. We'll assume that you've already got K3s and Helm set up on your machine. The deployment of applications like MongoDB on Kubernetes cluster is made easier by the Kubernetes package manager Helm. Before getting too technical, it's important to\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/07\/How-to-Deploy-MongoDB-on-Kubernetes.png?fit=360%2C240&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3641,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-deploy-redis-on-kubernetes\/","url_meta":{"origin":3357,"position":3},"title":"How to Deploy Redis on Kubernetes","author":"George B.","date":"July 25, 2023","format":false,"excerpt":"This article provides a detailed guide on how to install Redis on Kubernetes, covering everything from configuring the Kubernetes environment to installing and administering Redis. The demand for effective, scalable, and trustworthy data storage solutions has increased as the world transitions to microservices and containerized applications. Redis, a high-performance in-memory\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/07\/How-to-Deploy-Redis-on-Kubernetes.png?fit=360%2C240&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3368,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-kubernetes-cert-manager\/","url_meta":{"origin":3357,"position":4},"title":"How to install Kubernetes Cert-Manager","author":"George B.","date":"May 21, 2023","format":false,"excerpt":"Kubernetes Cert-Manager, an open-source project, has emerged as a powerful tool to streamline certificate management within Kubernetes environments. In this article, we will delve into the world of Cert-Manager, exploring its features, benefits, and how it simplifies the management of certificates. In the world of modern application development, the need\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-install-Kubernetes-Cert-Manager.png?fit=600%2C330&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-install-Kubernetes-Cert-Manager.png?fit=600%2C330&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-install-Kubernetes-Cert-Manager.png?fit=600%2C330&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":3717,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-deploy-influxdb-on-kubernetes\/","url_meta":{"origin":3357,"position":5},"title":"How to Deploy InfluxDB on Kubernetes","author":"George B.","date":"August 4, 2023","format":false,"excerpt":"InfluxDB has become a popular choice for time-series databases, especially for DevOps monitoring, real-time analytics, and IoT applications. In this guide, we will explore how to deploy InfluxDB on Kubernetes cluster using K3s and Helm. We will assume that you already have K3s installed and Helm configured.\u00a0If K3s and Helm\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/Deploy-InfluxDB-on-Kubernetes.png?fit=360%2C240&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/3357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/comments?post=3357"}],"version-history":[{"count":2,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/3357\/revisions"}],"predecessor-version":[{"id":3384,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/3357\/revisions\/3384"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media\/3358"}],"wp:attachment":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media?parent=3357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/categories?post=3357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/tags?post=3357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}