Minikube
lastmod 2022-10-04created 2020-09-069 edits
minikube implements a local Kubernetes cluster on macOS, Linux, and Windows. minikube's primary goals are to be the best tool for local Kubernetes application development and to support all Kubernetes features that fit.
Minikube is a tool that makes it easy to run Kubernetes locally. Minikube runs a single-node Kubernetes cluster in a virtual machine (VM) or on a laptop for users who want to try out Kubernetes or develop with it day-to-day.
Features
Minikube provides the following Kubernetes features.
- DNS
- NodePorts
- ConfigMaps and Secrets
- Dashboards
- Container runtimes: Docker, CRI-O, and containerd
- Uses CNI (Container Network Interface)
- Ingress
Installation
A container or virtual machine manager is required. Things like Docker, Hyperkit, Hyper-V, KVM, Parallels, Podman, VirtualBox, or VMware Fusion/Workstation...
It differs by platform, so go to the download page and check again:
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikube
Uninstall
Simple usage
# minikube 상태확인
minikube status
# minikube 실행 (기본값; 아마도 docker driver 사용)
minikube start
# 특정 k8s 버전 실행
minikube start --kubernetes-version=v1.23.1
# 특정 driver 실행
minikube start --driver=virtualbox --kubernetes-version=v1.23.1
# minikube ip 확인 (접속테스트시 필요)
minikube ip
# minikube 종료
minikube stop
# minikube 제거
minikube delete
Addons
Packages that come pre-added to minikube as addons, such as dashboard, can be checked with minikube addon list.
- Dashboard : Manages the K8S cluster or programs running in the cluster through a web UI.
-
minikube dashboard
-