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
23 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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
• 35,880 points
161 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
• 35,880 points
35 views
0 votes
1 answer

How can I access a service installed on Kubernetes from anywhere?

I have followed the link which you have ...READ MORE

answered Jul 23, 2018 in Kubernetes by Atul
• 10,200 points
73 views
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
492 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
19 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
8 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.