MiniKube

MiniKube #

kubernetes/minikube Github stars Language Last Tag Last commit

Run Kubernetes locally

https://minikube.sigs.k8s.io

安装 #

1. Install kubectl


2. Install a Hypervisor

  • HyperKit
  • VirtualBox
  • VMware Fusion

3. Install Minikube

Homebrew

brew install minikube

curl

curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-darwin-amd64 \
  && chmod +x minikube

sudo mv minikube /usr/local/bin

参考:https://kubernetes.io/docs/tasks/tools/install-minikube/

启动 #

  • minikube start --registry-mirror=https://registry.docker-cn.com --image-repository=registry.cn-hangzhou.aliyuncs.com/google_containers

  • minikube start --cpus=2 --disk-size='10g' --image-mirror-country='cn' --image-repository='registry.cn-hangzhou.aliyuncs.com/google_containers'

  • minikube start --image-mirror-country='cn' --registry-mirror=https://registry.docker-cn.com


本文访问量

本站总访问量

本站总访客数 人次