解決Minikube start卡住的方法

安裝與問題git

在mac上安裝minikube對k8s進行學習,根據官方Quick Startgithub

brew cask install minikube

就能夠完成minikube的安裝api

在安裝前須要安裝virtual box 或者VM ware fusion(未測試)app

而後執行學習

minikube start

然而個人minikube卡在了starting cluster components處測試

問題解決ui

這多是0.28.2版本的緣由,將其降級便可google

首先中止minikube 將其刪除atom

minikube stop
minikube delete
brew cask uninstall --force minikube

而後修改minikube的信息url

brew cask edit minikube

修改成下面文件

cask 'minikube' do
  version '0.25.2'
  sha256 'dc5b00c4a06e8160bd607732c9a2294598d803716e353293b4463cc2c9539eec'

  # storage.googleapis.com/minikube was verified as official when first introduced to the cask
  url "https://storage.googleapis.com/minikube/releases/v#{version}/minikube-darwin-amd64"
  appcast 'https://github.com/kubernetes/minikube/releases.atom',
          checkpoint: 'dc5b00c4a06e8160bd607732c9a2294598d803716e353293b4463cc2c9539eec'
  name 'Minikube'
  homepage 'https://github.com/kubernetes/minikube'

  depends_on formula: 'kubernetes-cli'
  container type: :naked

  binary 'minikube-darwin-amd64', target: 'minikube'

  zap trash: '~/.minikube'
end

而後

brew cask insatll minikube
相關文章
相關標籤/搜索