Minikube: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 37: Line 37:


Before starting the new minikube, remove or backup old ~/.minikube.
Before starting the new minikube, remove or backup old ~/.minikube.
Then:
<syntaxhighlight lang='bash'>
minikube start
</syntaxhighlight>


=Operations=
=Operations=
{{Internal|Minikube Operations|Minikube Operations}}
{{Internal|Minikube Operations|Minikube Operations}}

Revision as of 04:55, 3 March 2021

External

Internal

Overview

Minikube is a tool that installs Kubernetes locally. Minikube runs a single-node Kubernetes cluster inside a VM on the local development machine. To install it, it requires virtualization extensions enabled in your system's BIOS.

Installation

Mac

https://minikube.sigs.k8s.io/docs/start/
brew install minikube

The installation will automatically add a "minikube" context.

Uninstallation

brew uninstall minikube

Note that uninstallation does not clean the context.

Linux

Delete the old minikube, if any.

curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
sudo mv ./minikube-linux-amd64 /usr/local/bin/minikube
chmod a+x /usr/local/bin/minikube

Before starting the new minikube, remove or backup old ~/.minikube.

Then:

minikube start

Operations

Minikube Operations