Skip to content
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

ksniff is not supported in mbp m1 #117

Closed
Delacroix opened this issue Jul 27, 2021 · 3 comments
Closed

ksniff is not supported in mbp m1 #117

Delacroix opened this issue Jul 27, 2021 · 3 comments
Assignees

Comments

@Delacroix
Copy link

$ kubectl krew install sniff
Updated the local copy of plugin index.
Installing plugin: sniff
W0727 11:18:05.386333 58255 install.go:164] failed to install plugin "sniff": plugin "sniff" does not offer installation for this platform
F0727 11:18:05.386387 58255 root.go:79] failed to install some plugins: [sniff]: plugin "sniff" does not offer installation for this platform


When I tried to install ksniff with krew on Macbook Pro M1(OS release: BigSur 11.5), it says platform not supported.

@bostrt
Copy link
Collaborator

bostrt commented Aug 6, 2021

@Delacroix I'm not familiar with building for Apple M1 (beyond knowing its ARM based). If possible, can you please try building ksniff like this and testing with the resulting binary?

$ git clone https://github.com/eldadru/ksniff.git
$ cd ksniff
$ GO111MODULE=on GOOS=darwin GOARCH=arm64 go build -o kubectl-sniff-darwin cmd/kubectl-sniff.go

@bostrt bostrt self-assigned this Aug 6, 2021
@Delacroix
Copy link
Author

@Delacroix I'm not familiar with building for Apple M1 (beyond knowing its ARM based). If possible, can you please try building ksniff like this and testing with the resulting binary?

$ git clone https://github.com/eldadru/ksniff.git
$ cd ksniff
$ GO111MODULE=on GOOS=darwin GOARCH=arm64 go build -o kubectl-sniff-darwin cmd/kubectl-sniff.go

Thank you! After trying this, problem solved!

@Delacroix
Copy link
Author

problem solved

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

2 participants