How do I set up a minikube cluster on Ubuntu?

0 votes
What is Minikube and how do I set up a minikube cluster on Ubuntu?
Feb 22 in Kubernetes by Ayna
76 views

1 answer to this question.

0 votes

Minikube is a tool that makes Kubernetes run locally. It runs a single node cluster inside a VM. its the fastest way to run Kubernetes cluster mainly used for practicing and studying purpose.

Follow these steps to set up a cluster on Minikube:

update ubuntu your dependencies

$ sudo apt-get update 
$ sudo apt-get install -y apt-transport-https

Install VirtualBox on ubuntu

$ sudo apt-get install -y virtualbox virtualbox-ext-pack

Install kubectl 

$ curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
$ sudo touch /etc/apt/sources.list.d/kubernetes.list 
$ echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee -a /etc/apt/sources.list.d/kubernetes.list
$ sudo apt-get update
$ sudo apt-get install -y kubectl

Install Minikube

$ curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.28.2/minikube-linux-amd64
$ chmod +x minikube && sudo mv minikube /usr/local/bin/

Start minikube

$ minikube start
$ kubectl api-versions
answered Feb 22 by Sumit

Related Questions In Kubernetes

0 votes
1 answer

How do you set-up Mongo replica set on Kubernetes?

Follow these steps To create a Kubernetes 1.5 ...READ MORE

answered Aug 30, 2018 in Kubernetes by Kalgi
• 41,470 points
286 views
0 votes
1 answer

Set up kubernetes cluster on ubuntu

Do kubeadm reset and start all over ...READ MORE

answered Oct 5, 2018 in Kubernetes by Kalgi
• 41,470 points
53 views
0 votes
1 answer
0 votes
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17 in Others by anonymous
2,552 views
+3 votes
1 answer
0 votes
1 answer

How do I set up a k8s cluster on windows?

Hey @Nadia, follow these steps to create ...READ MORE

answered Feb 25 in Kubernetes by Roshan
34 views
0 votes
1 answer

How do I deploy Rancher on a Linux system?

Step 1: Prepare a Linux host and install ...READ MORE

answered Mar 28 in Kubernetes by Shlok
19 views