kdash-rs / kdash

A simple and fast dashboard for Kubernetes
https://kdash.cli.rs
MIT License
2.06k stars 78 forks source link

fix: web install arch: aarch64 #418

Closed 4F2E4A2E closed 7 months ago

4F2E4A2E commented 7 months ago

Fixing web install arch suffix bug

$ curl https://raw.githubusercontent.com/kdash-rs/kdash/main/deployment/getLatest.sh | bash
Getting https://github.com/kdash-rs/kdash/releases/download/v0.4.7/kdash-linux.tar.gz .....
executable installed at /usr/local/bin/kdash
$ kdash
-bash: /usr/local/bin/kdash: cannot execute binary file: Exec format error
$ echo $(uname -m)
aarch64
$ file /usr/local/bin/kdash
/usr/local/bin/kdash: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2 ...
deepu105 commented 7 months ago

Hi did the aarch package work on M1 mac for you?

4F2E4A2E commented 7 months ago

It worked wonderfully, thank you for kdash!

deepu105 commented 7 months ago

strange on my M1 mac the aarch64 binaries does not work. Only the amd64 version works

deepu105 commented 7 months ago

Are you on Mac or Linux?

4F2E4A2E commented 7 months ago

Mac, I had to uninstall it first.

deepu105 commented 7 months ago

The aarch64 builds were for Linux so I'm still wondering how it worked on Mac, maybe you installed the x86 mac version. Anyway i made a new release with native Mac arm64 binary. Should be available via brew or the install script

On Thu, 18 Jan 2024, 7:49 pm 4F2E4A2E, @.***> wrote:

I had to uninstall it first.

— Reply to this email directly, view it on GitHub https://github.com/kdash-rs/kdash/pull/418#issuecomment-1899029001, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIOKF4WLTXD5FGA3WSDM6LYPFVB3AVCNFSM6AAAAABB32FC2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJZGAZDSMBQGE . You are receiving this because you modified the open/close state.Message ID: @.***>

4F2E4A2E commented 7 months ago

I just removed all kdash bins and reinstalled again and you're wright, I must have messed up the testing somehow while impl the bash script somehow, sorry for that.

The good thing is that the bash script is working on aarch64 linux deployments now, e.g. hetzner cloud.