Go to file
Anders F Björklund 6d96a67456 Run go vet on all code, not just pkg and cmd 2019-03-10 14:33:24 +01:00
.github Remove bad formatting 2019-03-07 09:42:14 -08:00
cmd Run go vet on all code, not just pkg and cmd 2019-03-10 14:33:24 +01:00
deploy Fix `minikube addons open heapster` 2019-03-07 21:48:39 +01:00
docs Mention NO_PROXY with non-k8s apps. 2019-03-08 10:05:44 -08:00
hack Add missing variable and upload of rpm to github 2019-03-07 07:18:27 +01:00
images Make images subdirectory, add start image 2019-02-15 16:36:36 -08:00
installers Add make target for building a rpm file 2019-02-26 19:57:49 +01:00
pkg Run go vet on all code, not just pkg and cmd 2019-03-10 14:33:24 +01:00
test/integration Fix TestStartStop so that none tests are executed 2019-02-14 20:26:24 -08:00
third_party/go9p Run go vet on all code, not just pkg and cmd 2019-03-10 14:33:24 +01:00
vendor Update docker/machine to fix the AMD bug 2019-03-06 21:37:05 +01:00
.codecov.yml Disable codecov comment bot 2017-08-04 14:46:44 -07:00
.dockerignore Add a .dockerignore to make image builds faster. 2017-11-06 13:01:01 -08:00
.gitignore Added .vscode to .gitignore 2017-04-07 16:02:37 -07:00
.travis.yml Let Travis track the latest stable Go 1.x release. 2018-10-04 13:35:19 -07:00
CHANGELOG.md Fix v0.35.0 date 2019-03-06 22:09:55 -08:00
CONTRIBUTING.md Update CLA link 2018-01-02 08:19:46 -08:00
Gopkg.lock Update docker/machine to fix the AMD bug 2019-03-06 21:37:05 +01:00
Gopkg.toml Merge from hell #2: refactor start.go because it's terrible 2019-02-08 13:37:29 -08:00
LICENSE Update License file 2016-04-15 15:44:00 -07:00
MAINTAINERS Add afbjorklund to maintainers 2019-01-20 20:20:41 +01:00
Makefile Update Makefile to 0.35.0 2019-03-06 15:04:39 -08:00
OWNERS Updated OWNERS file to include link to docs 2019-02-04 18:48:23 +01:00
README.md Add v0.35.0 2019-03-06 22:10:18 -08:00
SECURITY_CONTACTS Update embargo doc link in SECURITY_OWNERS and changes PST to PSC 2019-03-08 10:23:48 -07:00
code-of-conduct.md Update code-of-conduct.md 2017-12-20 13:39:35 -05:00
makedepend.sh Avoid out directory, when listing test files 2018-10-06 21:04:44 +02:00
test.sh Merge pull request #3229 from afbjorklund/makedepend-buildroot 2019-01-16 11:15:34 -08:00

README.md

minikube

BuildStatus Widget GoReport Widget

What is minikube?

minikube implements a local Kubernetes cluster on macOS, Linux, and Windows.

Our goal is to enable fast local development and to support all Kubernetes features that fit. We hope you enjoy it!

News

Features

minikube runs the official stable release of Kubernetes, with support for standard Kubernetes features like:

As well as developer-friendly features:

  • Addons - a marketplace for developers to share configurations for running services on minikube
  • GPU support - for machine learning
  • Filesystem mounts
  • Automatic failure analysis

Documentation

Community

minikube is a Kubernetes #sig-cluster-lifecycle project.

Installation

See the installation guide. For the impatient, here is the TL;DR:

  • macOS 10.12 (Sierra)

    • Requires installing a hypervisor, such as hyperkit (recommended) or VirtualBox
    • using brew: brew cask install minikube
    • manually: curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-darwin-amd64 && sudo install minikube-darwin-amd64 /usr/local/bin/minikube
  • Windows 10

    • Requires a hypervisor, such as VirtualBox (recommended) or HyperV
    • VT-x/AMD-v virtualization must be enabled in BIOS
    • using chocolatey choco install minikube
    • manually: Download and run the installer
  • Linux

    • Requires either the kvm2 driver (recommended), or VirtualBox
    • VT-x/AMD-v virtualization must be enabled in BIOS
    • manually: curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && sudo install minikube-linux-amd64 /usr/local/bin/minikube

Supported Hypervisors

minikube start defaults to virtualbox, but supports other drivers using the --vm-driver argument:

  • KVM2 - Recommended Linux driver
  • hyperkit - Recommended macOS driver
  • virtualbox - Recommended Windows driver
  • none - bare-metal execution on Linux, at the expense of system security and reliability

Other drivers which are not yet part of our continuous integration system are:

Quick Start

Start a cluster by running:

minikube start

Once started, you can interact with your cluster using kubectl, just like any other Kubernetes cluster. For instance, starting a server:

kubectl run hello-minikube --image=k8s.gcr.io/echoserver:1.4 --port=8080

Exposing a service as a NodePort

kubectl expose deployment hello-minikube --type=NodePort

minikube makes it easy to open this exposed endpoint in your browser:

minikube service hello-minikube

Start a second local cluster:

minikube start -p cluster2

Stop your local cluster:

minikube stop

Delete your local cluster:

minikube delete