Skip to content

Linux/aarch64 : plugin "tree" does not offer installation for this platform #62

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
karawitan opened this issue Sep 27, 2023 · 3 comments

Comments

@karawitan
Copy link

karawitan commented Sep 27, 2023

Hello,

I'd like to know how to compile kubectl-tree for Linux/aarch64 , please help !

ubuntu@n9:~$ microk8s.kubectl krew install tree
Updated the local copy of plugin index.
Installing plugin: tree
W0927 17:14:41.405917  492079 install.go:164] failed to install plugin "tree": plugin "tree" does not offer installation for this platform
failed to install some plugins: [tree]: plugin "tree" does not offer installation for this platform

ubuntu@n9:~$ uname -m
aarch64

ubuntu@n9:~$ uname
Linux
@tabrisnet
Copy link

so the bad news is that the .krew.yaml does not list linux/arm64.
https://github.com/ahmetb/kubectl-tree/blob/master/.krew.yaml

the good news is it exists in the release files.
https://github.com/ahmetb/kubectl-tree/releases/download/v0.4.3/kubectl-tree_v0.4.3_linux_arm64.tar.gz

So somebody just needs to submit a PR claiming it exists.

@ahmetb
Copy link
Owner

ahmetb commented Apr 24, 2025

You can install by setting env var

KREW_ARCH=amd64

on Apple silicon.

@ahmetb
Copy link
Owner

ahmetb commented Apr 24, 2025

Sorry nvm this is Linux. Feel free to make the PR, should be easy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants