Difference between revisions of "Minikube"

From wikieduonline
Jump to navigation Jump to search
(2 intermediate revisions by the same user not shown)
Line 27: Line 27:
 
* <code>[[kubectl create deployment]] hello-minikube --image=k8s.gcr.io/echoserver:1.10</code>
 
* <code>[[kubectl create deployment]] hello-minikube --image=k8s.gcr.io/echoserver:1.10</code>
 
* <code>[[minikube service]] hello-minikube --url</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 ==
 
== Information ==
Line 39: Line 43:
 
  NAME                TYPE        CLUSTER-IP  EXTERNAL-IP  PORT(S)  AGE
 
  NAME                TYPE        CLUSTER-IP  EXTERNAL-IP  PORT(S)  AGE
 
  service/kubernetes  ClusterIP  10.96.0.1    <none>        443/TCP  9m47s
 
  service/kubernetes  ClusterIP  10.96.0.1    <none>        443/TCP  9m47s
 
 
* <code>[[minikube dashboard]]</code>
 
* <code>[[minikube status]]</code>
 
* <code>[[minikube version]]</code>
 
* <code>[[minikube --help]]</code>
 
  
 
== Commands ==
 
== Commands ==
Line 62: Line 60:
 
* [[Snap install Kubernetes]]
 
* [[Snap install Kubernetes]]
 
* [[Skaffold]]
 
* [[Skaffold]]
* ~/[[.minikube/]]
+
* <code>~/[[.minikube/]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 15:21, 19 May 2022

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

Installation

  • 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

Commands

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

Related terms

See also

  • https://github.com/kubernetes/minikube/releases/tag/v0.1.0
  • Advertising: