Go to file
Medya Ghazizadeh 57f6d877ed
Merge pull request #4689 from palnabarun/4664-fix
Fixes the issue which caused all containers to be deleted on minikube delete
2019-07-09 15:23:39 -07:00
.github/ISSUE_TEMPLATE making issue template less complex 2019-07-08 10:19:03 -07:00
cmd Merge pull request #4692 from josedonizetti/add-kubectl-flag-examples 2019-07-09 11:02:48 -07:00
deploy removed label selector for registry-proxy daemonset 2019-06-28 18:33:24 +10:00
docs Merge pull request #4647 from blueelvis/start-options-documentation 2019-07-09 14:35:32 -07:00
hack Reduce direct dependency by using glog 2019-06-26 10:35:48 -07:00
images Update start.jpg to v1.2 2019-06-24 16:21:38 +08:00
installers Modified NSIS Script to use the PowerShell Script 2019-05-28 16:11:14 +05:30
pkg Merge pull request #4689 from palnabarun/4664-fix 2019-07-09 15:23:39 -07:00
site Add basic hugo & netlify website structure 2019-06-15 09:27:05 +08:00
test/integration Add support to custom qemu uri on kvm2 driver 2019-06-28 14:12:58 -07:00
third_party/go9p Run go vet on all code, not just pkg and cmd 2019-03-10 14:33:24 +01:00
translations Fixing top level extract call for new translations directory location 2019-06-24 15:18:31 -07: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 Add translation files into the minikube binary 2019-06-24 15:15:01 -07:00
.gitmodules Add basic hugo & netlify website structure 2019-06-15 09:27:05 +08:00
.markdownlint.json Run markdownlint on all the md files in docs 2019-03-10 20:06:04 +01:00
.travis.yml Install libvirt-dev to build/lint kvm2 2019-05-14 09:15:28 -07:00
CHANGELOG.md Add release notes for v1.2.0 2019-06-24 15:12:52 +08:00
CONTRIBUTING.md Update CLA link 2018-01-02 08:19:46 -08:00
LICENSE Update License file 2016-04-15 15:44:00 -07:00
MAINTAINERS OWNERS and MAINTAINERS file cleanup 2019-05-29 13:48:15 -07:00
Makefile Make the go-bindata generated code pass gofmt -s 2019-07-04 22:57:05 +02:00
OWNERS adding medyagh to approvers 2019-06-02 12:06:08 -07:00
README.md Mention v1.2.0 release 2019-06-24 17:07:10 +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
go.mod Reduce direct dependency by using glog 2019-06-26 10:35:48 -07:00
go.sum Ignore generated file for boilerplate 2019-06-24 15:34:24 -07:00
netlify.toml v0.55.0 rather than v0.55 2019-06-18 12:01:43 +08:00
test.sh Ignore generated file for boilerplate 2019-06-24 15:34:24 -07:00

README.md

minikube

BuildStatus Widget GoReport Widget

What is minikube?

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

screenshot

minikube's primary goals are to be the best tool for local Kubernetes application development and to support all Kubernetes features that fit. We hope you enjoy it!

News

📣 Please fill out our fast 5-question survey so that we can learn how & why you use minikube, and what improvements we should make. Thank you! 👯

Features

minikube runs the latest 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

Help Wanted!

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

Access Kubernetes Dashboard within Minikube:

minikube dashboard

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