How to Install Minikube on Debian 11 Bullseye Linux – Linux Shout

Do we really need an entire server or cloud to start with Kubernetes Cluster? The answer is ‘No‘ because it is possible to use Minikube to implement a Kubernetes cluster with just a single node on your local PC for creating and managing virtual machines. Here in this tutorial, we learn the steps to install MiniKube on Debian 11 Bullseye Desktop or Server.

What is MiniKube?

MiniKube is an open-source project available to use free of cost. It allows us to set up Kubernetes locally on our system with a single cluster node. It offers a command-line tool to easily start, stop or delete nodes from the cluster.  The software can run a simple Kubernetes cluster on the localhost, hence online servers or the cloud are not required. Apart from the KVM, with Minikube, VirtualBox is used as a VM runtime by default, a cross-platform solution that can be used beyond Linux (e.g. on Windows or macOS) without any problems. However, overall Minikube provides quite a few features that are also available in standard Kubernetes, some role-based access control, a LoadBalancer ( minikube tunnel), dashboards, multi-clusters, and more. There is also a marketplace for add-ons, GPU support if you want to get involved in machine learning, and automatic error analysis.

What do we need to perform this Minikube tutorial?

• Debian 11 Server or Desktop (fresh is recommended)
• 2 CPUs or more, 2GB free RAM, and 20GB free disk space
• A user with sudo rights
• Virtualization Support enabled in the BIOS
• Working Internet connection

Steps to Install Minikube on Debian 11 Bullseye or 10 Buster

1. Perform a system update

Open your Desktop terminal or connect your Debian 11 Server using SSH and run the system update and upgrade command to make sure everything is up to date.

sudo apt update -y
sudo apt upgrade -y

Also, install a few other tools we will require while performing this tutorial:

sudo apt install curl wget apt-transport-https -y

2. Setup KVM or VirtualBox

Although VirtualBox is an original driver for MiniKube, not the fastest one but good to use in Windows. Therefore, on Linux, KVM (Kernel-based Virtual Machine) is preferred to use as a driver. Hence, here we go for the same. To install KVM for creating virtual machines run the following commands:

Check Virtualization support:

egrep -q 'vmx|svm' /proc/cpuinfo && echo yes || echo no

Note: If the output is ‘YES“, then follow further otherwise restart your PC and enable it in BIOS.

sudo apt install qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virtinst libvirt-daemon

Add your user to libvert group

sudo adduser -a $USER libvirt
sudo adduser -a $USER libvirt-qemu

Reload Group:

newgrp libvirt
newgrp libvirt-qemu

Refer our another tutorial for more detail on Install & Use QEMU KVM  in Debian 11 Bullseye

3. Download MiniKube

Next, we need to download the MiniKube binary available to download for Linux. We can get it using the command line tool cURL.

curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64

4. Install and Start MiniKube on Debian 11 or 10

Once we have the latest stable binary on our system, install it using the given command:

sudo install minikube-linux-amd64 /usr/local/bin/minikube

To check version run:

minikube version

5. Install Kubernetes command-line tool

To manage cluster resources, deploy applications and inspect logs of Kubernetes clusters, we can use its command-line tool called kubectl. Here we will install that using the few commands given below.

curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
chmod +x ./kubectl
sudo mv kubectl /usr/local/bin/

To check the kubectl version, run:

kubectl version -o yaml

6. Deploy MiniKube with KVM Driver on Debian 11

We can use multiple drivers to deploy Minikube, however, for good performance here we are going for KVM that we installed at the beginning of this article.

minikube start --vm-driver kvm2

Although, even if we do not mention a particular driver in the above command, the system will automatically select and use the KVM. However, if we have VirtualBox and Docker installed, it is good to mention which driver you actually want to use for running Minikube. For more details on this see the Driver Documentation.

Start Minikube on Debian 11 Bullseye

Well, once the installation is completed, we can check it using the given commands for more information.

• For status : 

minikube status

• For accessing the Minikube command line via ssh:
You can use it to create Docker containers, easily.

minikube ssh

minikube SSh command

• To know what are the Minikube Add-ons are currently active or enabled, use:

minikube addons list

Add Ons minikube Linux

• To check Cluster info

kubectl cluster-info

• To see what are the nodes currently active:

kubectl get nodes

• For default configuration view of the cluster

kubectl config view

• To stop and delete Minikube cluster:

minikube stop
minikube delete

7. Run Minikube Dashbaord

Minikube comes with an add-on called Dashboard which automatically gets enabled by running the given command in this step. Hence we can start it to access the web-based Kubernetes user interface for deploying container applications & managing the cluster, get an overview of resources, and more…

minikube dashboard

On your local system where you have installed this Kubernetes implementation, the browser will open to automatically give you the Dashboard web interface.

minikube Dashboard Debian 11 Start

8. Access Kubernetes Dashboard externally or remotely (optional)

If you are using Minikube on your local Debian 11 Server running with only a command-line interface and want to access the MiniKube Dashboard, remotely on some other computer available in the same network of your Server. Then instead of using the above command, you can use the kubectl proxy to open local 8001 for accessing the Web interface of Kubernetes.

kubectl proxy --address='0.0.0.0' --disable-filter=true

Note: To restrict the web interface access to some particular IP address, replace 0.0.0.0 in the above command with that. Otherwise, any system in the network will be able to access the Dashboard.

Once you have executed the above command, open any browser that can access the ip-address of the Server running Minikube and point it to:

http://server-ip-address:8001/api/v1/namespaces/kubernetes-dashboard/services/http:kubernetes-dashboard:/proxy/

Access kubernetes or Minikube Dashboard remotely outside

To learn more about Kubernetes and MiniKube refer to the official documentation.

Source of this news: https://www.how2shout.com/linux/how-to-install-minikube-on-debian-11-bullseye-linux/

Related posts:

Apple Putting a Stop to Email Tracking Pixels With Mail Privacy Protection in iOS 15 and macOS Monte...
Tracking when you've opened up an email and what you've read is something that many companies and advertisers rely on for their marketing efforts, plus there are email clients out there designed to l...
How to Fix 'Slow Safari on Mac' Issue - BollyInside
This tutorial is about the How to Fix ‘Slow Safari on Mac’ Issue. We will try our best so that you understand this guide. I hope you like this blog How to Fix ‘Slow Safari on Mac’ Issue. If...
U.S. LAW ENFORCEMENT JOINS INTERNATIONAL PARTNERS TO DISRUPT A VPN SERVICE USED TO FACILITATE CRIMIN...
DETROIT – United States Attorney Matthew Schneider announced today that law enforcement in the United States has worked jointly in support of an international takedown of a virtual private network (V...
How to change your IP address: 4 easy ways - CNET
Getty/KTSDESIGN/SCIENCE PHOTO LIBRARY Don't worry. Changing your IP address is easy, even if you've never done it before. It's also perfectly safe and -- as long as you're not using it to break oth...
Proven methods to Set up a Proxy Ip of 2022 [April] - BollyInside
This tutorial relates to the How to Set up a nice Proxy Server. We will do our utmost so that you understand this guide. Discover ways to you like this blog How to Set up a Proxy Server . If y...
Fix OneDrive stuck on Processing Changes - TWCN Tech News
OneDrive is a cloud service from Microsoft. You can use OneDrive to store your files on cloud storage and save the disk space on your system. Besides storing the files, you can also share your files ...
Private Proxy: Expectations vs. Reality - The Future of Things
A proxy server is an essential part of how we use the Internet and a very useful tool for accessing unauthorized content. It is an intermediary between the user and the website that facilitates web s...
'House Of Sticks' Is An Immigrant Success Story With Filial Bonds At The Core - NPR
House of Sticks: A Memoir, Ly Tran Scribner hide caption toggle caption Scribner House of Sticks: A Memoir, Ly Tran Scribner Ly Tran's memoir House of Sticks bring...
Study connects hyperglycemia and prolonged cloth mask use to COVID-19-associated mucormycosis risk -...
A new study conducted in India identifies the role of high blood sugar levels in predisposing patients to mucormycosis infection. The study, which is available on the preprint server medRxiv*, also p...
Fix Steam needs to be online to update error on Windows PC - TWCN Tech News
Here is a guide on how to fix the Steam needs to be online to update error on Windows PC. Steam is a video game distribution service developed by Valve Corporation. It is a great platform for ga...
30 thoughts on “How To Get Discord to Work at Your School or College” - Alphr
When you are at a school, college, or governmental institution, chances are that your access to certain websites is limited. This is especially true for social platforms or content sharing websites t...
How to Rotate the Screen on Windows 10 - Windows Report
by Andrew Wafer Author Andrew is not just trying to bring you closer to Windows, but he's truly interested in this platform. He just happens to be passionate about sharing that knowledge...
Newest Payment Data Stealing Adware and spyware Hides in Nginx Function on Linux Servers simple The ...
E-commerce platforms on the U. S., Germany, and furthermore France have come under some sort of from a new form of malware where it targets Nginx servers so that they can masquerade its presenc...
Hiding IP Address Behind A Proxy: Is It A Smart Move? - Todayuknews - Todayuknews
We all love the immense benefits and convenience that comes with quickly accessing the internet. Some people are never concerned about the inherent danger caused by identity theft and data security b...
nine reasons to use a proxy hosting - Business MattersBusiness Tasks
@media screen and (min-width: 1201px) .mxopz6183d7253d1e5 display: none; @media screen combined with (min-width: 993px) and (max-width: 1200px) .mxopz6183d7253d1e5 display: none; @media monitor and ...
Xbox Error 0x97DD001E when connecting to Xbox Live on Console or PC - TWCN Tech News
You may encounter the Xbox error code 0x97DD001E when you try connecting to Xbox Live on your Xbox console or Windows 11 or Windows 10 computer. This post is intended to help affected gamers with the...
What Are Cookies? And How To Clear Them? - Fossbytes
If you have been on the Internet long enough, you might have heard about cookies once in a while. But what exactly is a cookie? Do they our data? How can we delete them? Here we will try to answer ea...
TerraMaster F4-421 NAS Review (2021 Model) - Mighty Gadget
Sharing is caring! Facebook Twitter TerraMaster F4-421 NAS Review Rating (2021 Model) Summary The TerraMaster F4-421 is an excellent affordable NAS that is ideal as a backup solut...

IP Rotating Proxy Onsale

SPECIAL LIMITED TIME OFFER

00
Months
00
Days
00
Hours
00
Minutes
00
Seconds
First month free with coupon code FREE30