Page MenuHomePhabricator
Paste P9209

releng/local-charts$ make start
ActivePublic

Authored by zeljkofilipin on Thu, Sep 26, 3:26 PM.
~/Documents/gerrit/releng/local-charts$ git log --oneline -1
2441d99 (HEAD -> master, origin/master, origin/HEAD) local-charts: CLI for managing minikube, helm, etc
~/Documents/gerrit/releng/local-charts$ brew list
~/Documents/gerrit/releng/local-charts$ brew cask list
~/Documents/gerrit/releng/local-charts$ sysctl -a | grep -E --color 'machdep.cpu.features|VMX'
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 PCLMULQDQ DTES64 MON DSCPL VMX SMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1 SSE4.2 x2APIC POPCNT AES PCID XSAVE OSXSAVE TSCTMR AVX1.0 RDRAND F16C
~/Documents/gerrit/releng/local-charts$ make install
(cd ./bin && ./install_prereqs.sh)
Ensuring homebrew caskroom is installed...
Installing minikube...
==> Satisfying dependencies
==> Installing Formula dependencies: kubernetes-cli
==> Installing kubernetes-cli
==> Downloading https://homebrew.bintray.com/bottles/kubernetes-cli-1.16.0.high_sierra.bottle.tar.gz
Already downloaded: /Users/z/Library/Caches/Homebrew/downloads/e672c18ad0204d6d1a340e37968d7061cd11d72be768bde3f82fb8460b5581b4--kubernetes-cli-1.16.0.high_sierra.bottle.tar.gz
==> Pouring kubernetes-cli-1.16.0.high_sierra.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
zsh completions have been installed to:
/usr/local/share/zsh/site-functions
==> Summary
๐Ÿบ /usr/local/Cellar/kubernetes-cli/1.16.0: 232 files, 52.3MB
==> Downloading https://storage.googleapis.com/minikube/releases/v1.4.0/minikube-darwin-amd64
Already downloaded: /Users/z/Library/Caches/Homebrew/downloads/33746757457a7cbfeecb9411a4eabfd65bfbdf8b8b0e4eeec1f623464cf976c3--minikube-darwin-amd64
==> Verifying SHA-256 checksum for Cask 'minikube'.
==> Installing Cask minikube
==> Linking Binary 'minikube-darwin-amd64' to '/usr/local/bin/minikube'.
๐Ÿบ minikube was successfully installed!
Kubectl already installed - Skipping kubectl install step.
Installing hyperkit...
==> Installing dependencies for docker-machine-driver-hyperkit: docker-machine
==> Installing docker-machine-driver-hyperkit dependency: docker-machine
==> Downloading https://homebrew.bintray.com/bottles/docker-machine-0.16.2.high_sierra.bottle.tar.gz
Already downloaded: /Users/z/Library/Caches/Homebrew/downloads/0fec7f545e36d5c75903c916207ba4e86f8d59c7851de64c4aa11aa799fe4788--docker-machine-0.16.2.high_sierra.bottle.tar.gz
==> Pouring docker-machine-0.16.2.high_sierra.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
zsh completions have been installed to:
/usr/local/share/zsh/site-functions
To have launchd start docker-machine now and restart at login:
brew services start docker-machine
Or, if you don't want/need a background service you can just run:
docker-machine start
==> Summary
๐Ÿบ /usr/local/Cellar/docker-machine/0.16.2: 11 files, 36MB
==> Installing docker-machine-driver-hyperkit
==> Downloading https://homebrew.bintray.com/bottles/docker-machine-driver-hyperkit-1.0.0.high_sierra.bottle.tar.gz
Already downloaded: /Users/z/Library/Caches/Homebrew/downloads/1ed8356584f594ffbe9c5d95a65226908b4289d23fcfac8b9bdbc5338e90b9cc--docker-machine-driver-hyperkit-1.0.0.high_sierra.bottle.tar.gz
==> Pouring docker-machine-driver-hyperkit-1.0.0.high_sierra.bottle.tar.gz
==> Caveats
This driver requires superuser privileges to access the hypervisor. To
enable, execute:
sudo chown root:wheel /usr/local/opt/docker-machine-driver-hyperkit/bin/docker-machine-driver-hyperkit
sudo chmod u+s /usr/local/opt/docker-machine-driver-hyperkit/bin/docker-machine-driver-hyperkit
==> Summary
๐Ÿบ /usr/local/Cellar/docker-machine-driver-hyperkit/1.0.0: 5 files, 13.5MB
==> Installing dependencies for hyperkit: libev
==> Installing hyperkit dependency: libev
==> Downloading https://homebrew.bintray.com/bottles/libev-4.27.high_sierra.bottle.tar.gz
Already downloaded: /Users/z/Library/Caches/Homebrew/downloads/0593f32c6218389f698c72519996a6cbf181c12764edc02ca0c2ef67f259ff40--libev-4.27.high_sierra.bottle.tar.gz
==> Pouring libev-4.27.high_sierra.bottle.tar.gz
๐Ÿบ /usr/local/Cellar/libev/4.27: 12 files, 438.8KB
==> Installing hyperkit
==> Downloading https://homebrew.bintray.com/bottles/hyperkit-0.20190802.high_sierra.bottle.tar.gz
Already downloaded: /Users/z/Library/Caches/Homebrew/downloads/65d73766ee84755b37d90d883f14e83ba25de7b63284b5354b8fc3ca28c7ffcb--hyperkit-0.20190802.high_sierra.bottle.tar.gz
==> Pouring hyperkit-0.20190802.high_sierra.bottle.tar.gz
๐Ÿบ /usr/local/Cellar/hyperkit/0.20190802: 5 files, 4MB
==> Caveats
==> docker-machine
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
zsh completions have been installed to:
/usr/local/share/zsh/site-functions
To have launchd start docker-machine now and restart at login:
brew services start docker-machine
Or, if you don't want/need a background service you can just run:
docker-machine start
==> docker-machine-driver-hyperkit
This driver requires superuser privileges to access the hypervisor. To
enable, execute:
sudo chown root:wheel /usr/local/opt/docker-machine-driver-hyperkit/bin/docker-machine-driver-hyperkit
sudo chmod u+s /usr/local/opt/docker-machine-driver-hyperkit/bin/docker-machine-driver-hyperkit
Giving hyperkit driver superuser privileges...
Password:
Making /usr/local/opt/docker-machine-driver-hyperkit/bin/docker-machine-driver-hyperkit setuid...Installing helm...
==> Downloading https://homebrew.bintray.com/bottles/kubernetes-helm-2.14.3.high_sierra.bottle.tar.gz
Already downloaded: /Users/z/Library/Caches/Homebrew/downloads/c031725ffd8c04a015fb384ebb107e4454b6e30b385efc400306d929e5d77634--kubernetes-helm-2.14.3.high_sierra.bottle.tar.gz
==> Pouring kubernetes-helm-2.14.3.high_sierra.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
zsh completions have been installed to:
/usr/local/share/zsh/site-functions
==> Summary
๐Ÿบ /usr/local/Cellar/kubernetes-helm/2.14.3: 51 files, 91.6MB
Making hyperkit the default VM driver...
โš ๏ธ These changes will take effect upon a minikube delete and then a minikube start
helm repo add wikimedia https://releases.wikimedia.org/charts/
"wikimedia" has been added to your repositories
~/Documents/gerrit/releng/local-charts$ cp values.example.yaml values.yaml
~/Documents/gerrit/releng/local-charts$ make start
minikube start
๐Ÿ˜„ minikube v1.4.0 on Darwin 10.13.6
๐Ÿ’ก Tip: Use 'minikube start -p <name>' to create a new cluster, or 'minikube delete' to delete this one.
๐Ÿƒ Using the running hyperkit "minikube" VM ...
โŒ› Waiting for the host to be provisioned ...
๐Ÿณ Preparing Kubernetes v1.16.0 on Docker 18.06.2-ce ...
๐Ÿ”„ Relaunching Kubernetes using kubeadm ...
โŒ› Waiting for: apiserver proxy etcd scheduler controller dns
๐Ÿ„ Done! kubectl is now configured to use "minikube"
helm init --wait
$HELM_HOME has been configured at /Users/z/.helm.
Error: error installing: the server could not find the requested resource
make: *** [start] Error 1