Difference between revisions of "Minikube"
Jump to navigation
Jump to search
↑ https://github.com/kubernetes/minikube/releases/
(73 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | Minikube 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. | + | [[wikipedia:Minikube]] (May [[2016]]) <ref>https://github.com/kubernetes/minikube/releases/</ref> 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 | + | == Installation == |
− | * <code>[[brew install]] | + | * <code>[[brew install minikube]]</code>, previously <code>[[brew cask]] install minikube</code> |
+ | * <code>[[snap install minikube]]</code> | ||
+ | * 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]] | ||
+ | |||
+ | [[multipass launch minikube]] | ||
+ | |||
+ | == Commands == | ||
+ | * <code>[[minikube status]]</code> | ||
+ | * <code>[[minikube start]]</code> (<code>[[minikube stop]]</code>) | ||
+ | * <code>[[kubectl create deployment]] hello-minikube --image=k8s.gcr.io/echoserver:1.10</code> | ||
+ | * <code>[[minikube service]] hello-minikube --url</code> | ||
+ | * <code>[[minikube dashboard]]</code> | ||
+ | * <code>[[minikube status]]</code> | ||
+ | * <code>[[minikube version]]</code> | ||
+ | * <code>[[minikube --help]]</code> | ||
+ | |||
+ | == Information == | ||
+ | * <code>[[kubectl get apiservices]]</code> | ||
+ | * <code>[[kubectl get services -A]]</code> | ||
+ | |||
+ | 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 == | ||
+ | * <code>[[minikube addons]]</code> | ||
+ | * <code>[[minikube addons list]]</code> | ||
+ | * <code>[[minikube addons enable]] [[ingress]]</code> | ||
+ | * <code>[[kubectl get pods]] -n kube-system</code> | ||
+ | * <code>[[minikube delete]]</code> | ||
+ | * <code>[[minikube ssh]]</code> | ||
+ | |||
+ | == Activities == | ||
+ | * Read https://minikube.sigs.k8s.io/docs/faq/ | ||
+ | |||
+ | == Related terms == | ||
+ | * [[Minishift]] | ||
+ | * [[Katacoda]] Kubernetes playground | ||
+ | * [[Play with Kubernetes]] | ||
+ | * <code>[[KinD (Kubernetes in Docker)|kind]]</code> | ||
+ | * [[MicroK8s]] | ||
+ | * [[Skaffold]] | ||
+ | * <code>~/[[.minikube/]]</code> | ||
+ | * <code>[[helm install]]</code> | ||
+ | * [[k3s]] | ||
+ | * [[Hostpath]] | ||
+ | * <code>[[k8s.io/minikube-hostpath]]</code> | ||
== See also == | == See also == | ||
− | * {{K8s}} | + | * {{minikube}} |
+ | * {{kubectl get}} | ||
+ | * {{Katacoda}} | ||
+ | * {{Mini K8s}} | ||
+ | [[Category:Mikikube]] | ||
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Latest revision as of 08:50, 25 January 2024
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.
Contents
Features[edit]
- DNS
- NodePorts
- ConfigMaps and Secrets
- Dashboards
- Container Runtime: Docker, CRI-O, and containerd
- Enabling CNI (Container Network Interface)
- Ingress
- Install
Installation[edit]
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
multipass launch minikube
Commands[edit]
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[edit]
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[edit]
minikube addons
minikube addons list
minikube addons enable ingress
kubectl get pods -n kube-system
minikube delete
minikube ssh
Activities[edit]
Related terms[edit]
- Minishift
- Katacoda Kubernetes playground
- Play with Kubernetes
kind
- MicroK8s
- Skaffold
~/.minikube/
helm install
- k3s
- Hostpath
k8s.io/minikube-hostpath
See also[edit]
- 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: