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

arm64 support in krew #68

Closed
chandanpasunoori opened this issue Mar 17, 2022 · 6 comments · Fixed by #83
Closed

arm64 support in krew #68

chandanpasunoori opened this issue Mar 17, 2022 · 6 comments · Fixed by #83

Comments

@chandanpasunoori
Copy link
Collaborator

krew installation failing for arm64 and I don't see arm64 in https://github.com/kubernetes-sigs/krew-index/blob/master/plugins/tail.yaml or https://github.com/boz/kail/releases

can we add this, I can see https://github.com/boz/kail/blob/master/.goreleaser.yml already has arm64.

what is required to add arm64 in release, I can contribute if you require.

$ kubectl krew version
OPTION            VALUE
GitTag            v0.4.3
GitCommit         dbfefa5
IndexURI          https://github.com/kubernetes-sigs/krew-index.git
BasePath          /Users/cp/.krew
IndexPath         /Users/cp/.krew/index/default
InstallPath       /Users/cp/.krew/store
BinPath           /Users/cp/.krew/bin
DetectedPlatform  darwin/arm64
$ kubectl krew install tail

Updated the local copy of plugin index.
Installing plugin: tail
W0317 15:01:20.772855 61973 install.go:164] failed to install plugin "tail": plugin "tail" does not offer installation for this platform
failed to install some plugins: [tail]: plugin "tail" does not offer installation for this platform

@boz
Copy link
Owner

boz commented Mar 17, 2022

Thanks @chandanpasunoori - I'll update the build process ASAP.

@chandanpasunoori
Copy link
Collaborator Author

hi @boz any update on this?

@boz
Copy link
Owner

boz commented Mar 23, 2022

Updating the deps and modernizing the build tools is a bit of a quagmire, unfortunately.

Will continue chipping away at it.

@mnaser
Copy link
Collaborator

mnaser commented Aug 16, 2022

@boz I went ahead and took care of this:

#72

It does require a bump in one of your other dependencies but that's taken care of. Once that lands, we can probably close all those krew related issues :)

@chandanpasunoori
Copy link
Collaborator Author

hi @boz @mnaser any update on this?

@chandanpasunoori
Copy link
Collaborator Author

arm64 support in krew working

$ kubectl krew install tail
Updated the local copy of plugin index.
Installing plugin: tail
Installed plugin: tail

| Use this plugin:
| kubectl tail
| Documentation:
| https://github.com/boz/kail
/
WARNING: You installed plugin "tail" from the krew-index plugin repository.
These plugins are not audited for security by the Krew maintainers.
Run them at your own risk.

$ kubectl krew info tail
NAME: tail
INDEX: default
URI: https://github.com/boz/kail/releases/download/v0.16.1/kail_v0.16.1_darwin_arm64.tar.gz
SHA256: 53bd81efe1c85d51d3688d7b0575fba458d75954895ca50d211ff31e5ca9f5a0
VERSION: v0.16.1
HOMEPAGE: https://github.com/boz/kail
DESCRIPTION:
Kail https://github.com/boz/kail - "Just show me the logs"

Stream logs from all matched containers of all matched pods. Match pods by service,
replicaset, deployment, and others. Adjusts to a changing cluster - pods are
added and removed from logging as they fall in or out of the selection.

Documentation:

See https://github.com/boz/kail or

$ kubectl tail --help

Usage:

match all pods

$ kubectl tail

match pods in the 'frontend' namespace

$ kubectl tail --ns staging

match pods belonging to a replicaset named 'workers' in any namespace.

$ kubectl tail --rs workers

match pods belonging to the replicaset named 'workers' only in the 'staging' namespace

$ kubectl tail --rs staging/workers

match pods belonging to both the service "frontend" and the deployment "webapp"

$ kubectl tail --svc frontend --deploy webapp

$ kubectl tail version
v0.16.1 (625673f)

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

Successfully merging a pull request may close this issue.

3 participants