sunny0826 / kubectl-pod-lens

kubectl plugin for show pod-related resources
https://pod-lens.guoxudong.io
Apache License 2.0
29 stars 3 forks source link

Plugin fails to install on Apple Silicon (ARM / M1) #7

Closed sammcj closed 3 years ago

sammcj commented 3 years ago

When trying to install this plug in my Macbook air (with M1 processor) I get the following error:

kubectl krew install pod-lens
Updated the local copy of plugin index.
Installing plugin: pod-lens
W0829 13:36:34.204050   10582 install.go:164] failed to install plugin "pod-lens": plugin "pod-lens" does not offer installation for this platform
F0829 13:36:34.204109   10582 root.go:79] failed to install some plugins: [pod-lens]: plugin "pod-lens" does not offer installation for this platform

Would it be possible to to add a darwin/arm64 build target?

sunny0826 commented 3 years ago

Thanks for your feedback and contribution!

sunny0826 commented 3 years ago

I released v0.2.1, but pod-lens_darwin_arm64 was not generated. I will fix it.

sammcj commented 3 years ago

Oh interesting! Thank you

sunny0826 commented 3 years ago

done, the upstream configuration has also been updated.
@sammcj I don't have Macs with M1-chip, so please try the newest version.

sammcj commented 3 years ago

Tested - works! Thank you @sunny0826 !