brew install ubuntu/microk8s/microk8s error
See original GitHub issuesimi@Similoluwas-MacBook-Air ~ % brew install microk8s
==> Installing microk8s from ubuntu/microk8s
==> Downloading https://homebrew.bintray.com/bottles/gdbm-1.18.1_1.arm64_big_sur
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/801b2bf95118871ee206d
######################################################################## 100.0%
==> Downloading https://homebrew.bintray.com/bottles/openssl%401.1-1.1.1j.arm64_
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/f8b99ea0ad2a19855aab7
######################################################################## 100.0%
==> Downloading https://homebrew.bintray.com/bottles/readline-8.1.arm64_big_sur.
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/940e7c2b80ef7f59b2672
######################################################################## 100.0%
==> Downloading https://homebrew.bintray.com/bottles/sqlite-3.34.0.arm64_big_sur
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/0a8e636f4fe9870f64c15
######################################################################## 100.0%
==> Downloading https://homebrew.bintray.com/bottles/tcl-tk-8.6.11_1.arm64_big_s
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/81f1041b639d8e6b8d786
######################################################################## 100.0%
==> Downloading https://homebrew.bintray.com/bottles/xz-5.2.5.arm64_big_sur.bott
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/c84206005787304416ed8
######################################################################## 100.0%
==> Downloading https://homebrew.bintray.com/bottles/python%403.9-3.9.2.arm64_bi
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/db72161ce543a7de2f8f3
######################################################################## 100.0%
==> Downloading https://homebrew.bintray.com/bottles/go-1.15.8.arm64_big_sur.bot
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/5075e91f2c7fe5496d9fe
######################################################################## 100.0%
==> Cloning https://github.com/kubernetes/kubernetes.git
Cloning into '/Users/simi/Library/Caches/Homebrew/kubernetes-cli--git'...
Updating files: 100% (22733/22733), done.
==> Checking out tag v1.20.4
HEAD is now at e87da0bd Release commit for Kubernetes v1.20.4
==> Downloading https://files.pythonhosted.org/packages/06/a9/cd1fd8ee13f73a4d4f
######################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/fc/bb/a5768c230f9ddb03ac
######################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/27/6f/be940c8b1f1d69dace
######################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/65/c4/80f97e9c9628f3cac9
######################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/71/fc/7c8e01f41a6e671d7b
######################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/97/10/92d25b93e9c266c94b
######################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/f3/94/67d781fb32afbee0ff
######################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/f0/07/26b519e6ebb03c2a74
######################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/b9/19/5cbd78eac8b1783671
######################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/fd/fa/b21f4f03176463a6cc
######################################################################## 100.0%
==> Downloading https://github.com/ubuntu/microk8s/archive/installer-v2.1.0.tar.
==> Downloading from https://codeload.github.com/ubuntu/microk8s/tar.gz/installe
######################################################################## 100.0%
==> Installing dependencies for ubuntu/microk8s/microk8s: gdbm, openssl@1.1, readline, sqlite, tcl-tk, xz, python, go and kubernetes-cli
==> Installing ubuntu/microk8s/microk8s dependency: gdbm
==> Pouring gdbm-1.18.1_1.arm64_big_sur.bottle.tar.gz
/opt/homebrew/Library/Homebrew/download_strategy.rb:94: warning: conflicting chdir during another chdir block
🍺 /opt/homebrew/Cellar/gdbm/1.18.1_1: 25 files, 876.2KB
==> Installing ubuntu/microk8s/microk8s dependency: openssl@1.1
==> Pouring openssl@1.1-1.1.1j.arm64_big_sur.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
/opt/homebrew/etc/openssl@1.1/certs
and run
/opt/homebrew/opt/openssl@1.1/bin/c_rehash
openssl@1.1 is keg-only, which means it was not symlinked into /opt/homebrew,
because macOS provides LibreSSL.
If you need to have openssl@1.1 first in your PATH, run:
echo 'export PATH="/opt/homebrew/opt/openssl@1.1/bin:$PATH"' >> ~/.zshrc
For compilers to find openssl@1.1 you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/openssl@1.1/lib"
export CPPFLAGS="-I/opt/homebrew/opt/openssl@1.1/include"
==> Summary
🍺 /opt/homebrew/Cellar/openssl@1.1/1.1.1j: 8,071 files, 18MB
==> Installing ubuntu/microk8s/microk8s dependency: readline
==> Pouring readline-8.1.arm64_big_sur.bottle.tar.gz
==> Caveats
readline is keg-only, which means it was not symlinked into /opt/homebrew,
because macOS provides BSD libedit.
For compilers to find readline you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/readline/lib"
export CPPFLAGS="-I/opt/homebrew/opt/readline/include"
==> Summary
🍺 /opt/homebrew/Cellar/readline/8.1: 48 files, 1.7MB
==> Installing ubuntu/microk8s/microk8s dependency: sqlite
==> Pouring sqlite-3.34.0.arm64_big_sur.bottle.tar.gz
==> Caveats
sqlite is keg-only, which means it was not symlinked into /opt/homebrew,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.
If you need to have sqlite first in your PATH, run:
echo 'export PATH="/opt/homebrew/opt/sqlite/bin:$PATH"' >> ~/.zshrc
For compilers to find sqlite you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/sqlite/lib"
export CPPFLAGS="-I/opt/homebrew/opt/sqlite/include"
==> Summary
🍺 /opt/homebrew/Cellar/sqlite/3.34.0: 11 files, 4.2MB
==> Installing ubuntu/microk8s/microk8s dependency: tcl-tk
==> Pouring tcl-tk-8.6.11_1.arm64_big_sur.bottle.tar.gz
==> Caveats
tcl-tk is keg-only, which means it was not symlinked into /opt/homebrew,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.
If you need to have tcl-tk first in your PATH, run:
echo 'export PATH="/opt/homebrew/opt/tcl-tk/bin:$PATH"' >> ~/.zshrc
For compilers to find tcl-tk you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/tcl-tk/lib"
export CPPFLAGS="-I/opt/homebrew/opt/tcl-tk/include"
==> Summary
🍺 /opt/homebrew/Cellar/tcl-tk/8.6.11_1: 3,041 files, 51.9MB
==> Installing ubuntu/microk8s/microk8s dependency: xz
==> Pouring xz-5.2.5.arm64_big_sur.bottle.tar.gz
🍺 /opt/homebrew/Cellar/xz/5.2.5: 95 files, 1.4MB
==> Installing ubuntu/microk8s/microk8s dependency: python
==> Pouring python@3.9-3.9.2.arm64_big_sur.bottle.tar.gz
==> /opt/homebrew/Cellar/python@3.9/3.9.2/bin/python3 -m ensurepip
==> /opt/homebrew/Cellar/python@3.9/3.9.2/bin/pip3 install -v --global-option=--
==> /opt/homebrew/Cellar/python@3.9/3.9.2/bin/pip3 wheel --wheel-dir=/opt/homebr
==> Caveats
Python has been installed as
/opt/homebrew/bin/python3
Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
/opt/homebrew/opt/python@3.9/libexec/bin
You can install Python packages with
pip3 install <package>
They will install into the site-package directory
/opt/homebrew/lib/python3.9/site-packages
See: https://docs.brew.sh/Homebrew-and-Python
==> Summary
🍺 /opt/homebrew/Cellar/python@3.9/3.9.2: 3,937 files, 66.7MB
==> Installing ubuntu/microk8s/microk8s dependency: go
==> Pouring go-1.15.8.arm64_big_sur.bottle.tar.gz
==> Caveats
This is a release candidate version of the Go compiler for Apple Silicon
(Go 1.16rc1).
==> Summary
🍺 /opt/homebrew/Cellar/go/1.15.8: 10,106 files, 523MB
==> Installing ubuntu/microk8s/microk8s dependency: kubernetes-cli
==> make WHAT=cmd/kubectl
Last 15 lines from /Users/simi/Library/Logs/Homebrew/kubernetes-cli/01.make:
./vendor/k8s.io/code-generator/cmd/deepcopy-gen
touch: _output/bin/go-bindata: No such file or directory
make[1]: *** [_output/bin/go-bindata] Error 1
make[1]: *** Waiting for unfinished jobs....
touch: _output/bin/prerelease-lifecycle-gen: No such file or directory
make[1]: *** [_output/bin/prerelease-lifecycle-gen] Error 1
touch: _output/bin/defaulter-gen: No such file or directory
make[1]: *** [_output/bin/defaulter-gen] Error 1
touch: _output/bin/deepcopy-gen: No such file or directory
make[1]: *** [_output/bin/deepcopy-gen] Error 1
touch: _output/bin/conversion-gen: No such file or directory
make[1]: *** [_output/bin/conversion-gen] Error 1
touch: _output/bin/openapi-gen: No such file or directory
make[1]: *** [_output/bin/openapi-gen] Error 1
make: *** [generated_files] Error 2
Do not report this issue to Homebrew/brew or Homebrew/core!
These open issues may also help:
kubernetes-cli: Add support for darwin/arm64 https://github.com/Homebrew/homebrew-core/pull/69931
kubernetes-cli: build for Apple Silicon https://github.com/Homebrew/homebrew-core/pull/68455
Refusing to install Kubernetes-cli
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
brew install ubuntu/microk8s/microk8s error #2040 - GitHub
An error occurred when trying to execute 'sudo snap install microk8s-integrator-macos' with 'multipass': returned exit code 1.
Read more >Microk8s Mac install broken with brew change to --cask
An error occurred with the instance when trying to start with 'multipass': Failed to install multipass using homebrew. Verify your homebrew ...
Read more >Common Issues - Homebrew Documentation
Installation fails with “unknown revision or path not in the working tree”. When installing Homebrew, if the initial download fails with something like:...
Read more >Install MicroK8s on macOS - Ubuntu
In this tutorial you'll learn how to… Install Homebrew on macOS; Install Multipass and MicroK8s from Brew; Run MicroK8s add-ons ...
Read more >[microk8s] Troubleshoot about installing microk8s on macOS
Error: Your Command Line Tools are too outdated # ... And then when I run brew install ubuntu/microk8s/microk8s , the MicroK8s installer can...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@joedborg YES, you are right.
Good news everyone, we’ve tested MicroK8s in M1 hardware.
If you have any further issues with MicroK8s on M1, please raise new issues with the specific issue.
Many thanks, Joe