Difference between revisions of "Minikube"
Jump to navigation
Jump to search
↑ https://github.com/kubernetes/minikube/releases/tag/v0.1.0
Line 68: | Line 68: | ||
* [[k3s]] | * [[k3s]] | ||
* [[Hostpath]] | * [[Hostpath]] | ||
+ | * <code>[[k8s.io/minikube-hostpath]]</code> | ||
== See also == | == See also == |
Revision as of 15:07, 27 November 2023
wikipedia:Minikube (May 2016)[1] is a tool that makes it easy to run Kubernetes locally. Minikube runs a single-node Kubernetes cluster inside a Virtual Machine (VM) on your laptop.
Features
- DNS
- NodePorts
- ConfigMaps and Secrets
- Dashboards
- Container Runtime: Docker, CRI-O, and containerd
- Enabling CNI (Container Network Interface)
- Ingress
- Install
Installation
brew install minikube
, previouslybrew cask install minikube
snap install minikube
- Install from mainstream
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube_latest_amd64.deb sudo dpkg -i minikube_latest_amd64.deb
/usr/local/bin/minikube -bash: /usr/local/bin/minikube: cannot execute binary file
Ubuntu, macOS:
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube_latest_arm64.deb sudo dpkg -i minikube_latest_arm64.deb minikube start
Commands
minikube status
minikube start
(minikube stop
)kubectl create deployment hello-minikube --image=k8s.gcr.io/echoserver:1.10
minikube service hello-minikube --url
minikube dashboard
minikube status
minikube version
minikube --help
Information
kubectl get nodes NAME STATUS ROLES AGE VERSION minikube Ready master 8m55s v1.18.0
kubectl get all NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE service/kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 9m47s
Commands
minikube addons
minikube addons list
minikube addons enable ingress
kubectl get pods -n kube-system
minikube delete
minikube ssh
Related terms
- Minishift
- Katacoda Kubernetes playground
- Play with Kubernetes
kind
- MicroK8s
- Skaffold
~/.minikube/
helm install
- k3s
- Hostpath
k8s.io/minikube-hostpath
See also
- minikube: [
status
|start
|stop
|version
|addons
|addons list
|addons enable
|dashboard
|logs
|tunnel
|ssh
|config
|image | delete
],config set
minikube start --vm=true
, kicbase,~/.minikube/, minikube --help
, Minikube changelog kubectl get
: [all
|componentstatus | pods | apiservices | events
|event
|nodes
|replicaset
|services
|svc
|namespaces
|hpa
|secret | deployments | serviceaccounts | endpoints | daemonset | networkpolicy
],kubectl get -h
- Play with Kubernetes, Katacoda,
minikube, kind
, Amazon EKS Workshop, MicroK8s, k3s - Minikube, k3s, MicroK8s
Advertising: