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, 2019 in Kubernetes by Ayna
1,572 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, 2019 by Sumit

Related Questions In Kubernetes

0 votes
1 answer
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
• 52,350 points
2,018 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
• 52,350 points
784 views
0 votes
1 answer

How do I expose a service to a host outside the cluster?

There are two ways by which we ...READ MORE

answered Jul 12, 2019 in Kubernetes by Sirajul
• 59,230 points
802 views
+1 vote
1 answer
0 votes
3 answers

Error while joining cluster with node

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

answered Jan 17, 2019 in Others by anonymous
15,477 views
0 votes
2 answers
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, 2019 in Kubernetes by Roshan
638 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, 2019 in Kubernetes by Shlok
520 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP