ドキュメントを参考にlinuxとhomebrewを使うやり方でインストールしたのですが、
どちらの方法でもインストールできませんでした。
git hub で原因を探ったものの、インストール方法を変えることぐらいしか見当たりませんでした。
なにかわかる方いたらお願いします
% brew install kubectl Updating Homebrew... ==> Auto-updated Homebrew! Updated 3 taps (heroku/brew, homebrew/core and homebrew/cask). ==> New Formulae flit libaio libnetfilter-queue rustscan webify leaf libmnl libnfnetlink vivid ==> Updated Formulae Updated 220 formulae. ==> New Casks anka-build-cloud-registry cernbox eudic-es querypie anka-virtualization classicftp hoststool rotki archi craft loni-pipeline techsmith-capture boost-note ditto multi ==> Updated Casks 1password-cli integrity realm-studio 8bitdo-ultimate-software ipvanish-vpn reaper a-better-finder-attributes iridient-developer insync qxmledit ==> Deleted Casks anka-flow chicken hand-mirror jing ==> Downloading https://homebrew.bintray.com/bottles/kubernetes-cli-1.19.2.catalina.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/914a5582fdccdbc429e438b700f7130a6df821c24a454177c3 ######################################################################## 100.0% ==> Pouring kubernetes-cli-1.19.2.catalina.bottle.tar.gz Error: The `brew link` step did not complete successfully The formula built, but is not symlinked into /usr/local Could not symlink bin/kubectl Target /usr/local/bin/kubectl already exists. You may want to remove it: rm '/usr/local/bin/kubectl' To force the link and overwrite all conflicting files: brew link --overwrite kubernetes-cli To list all files that would be deleted: brew link --overwrite --dry-run kubernetes-cli Possible conflicting files are: /usr/local/bin/kubectl ==> 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.19.2: 231 files, 49MB ~ % kubectl -v zsh: exec format error: kubectl 入ってない! ~ % kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta8/aio/deploy/recommended.yaml zsh: exec format error: kubectl
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/09/30 01:21
2020/09/30 01:22