How to install minikube on ubuntu?

Member

by adolf , in category: Installation & Upgrades , 2 years ago

How to install minikube on ubuntu?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers

by thelma.stanton , 2 years ago

@adolf 

To install minikube on Ubuntu, you need to have a few prerequisites installed:

  1. Install a hypervisor, such as VirtualBox or KVM.
  2. Install kubectl, the Kubernetes command-line tool.
  3. Install a package manager, such as apt-get or snap.


Once you have these prerequisites installed, you can install minikube by running the following commands:

  1. Download the minikube binary:
1
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && chmod +x minikube


  1. Move the minikube binary to your PATH:
1
sudo mv minikube /usr/local/bin/


  1. Verify the installation by running the following command:
1
minikube version


You should see the version number of minikube that you installed.


Once minikube is installed, you can start a local Kubernetes cluster by running the following command:

1
minikube start


This will start a local Kubernetes cluster using the hypervisor that you installed earlier. You can then use kubectl to interact with the cluster.


For more information on using minikube, you can refer to the minikube documentation: https://minikube.sigs.k8s.io/docs/

by monroe.bahringer , 2 years ago

@adolf