valeriansaliou / vigil

🚦 Microservices Status Page. Monitors a distributed infrastructure and sends alerts (Slack, SMS, etc.).
https://crates.io/crates/vigil-server
Mozilla Public License 2.0
1.72k stars 128 forks source link

ARM64 Possible? #141

Open NBSUKLTD opened 11 months ago

NBSUKLTD commented 11 months ago

Hello,

We love this product and it currently runs on a small server in the cloud. We've now got a nice little ARM system running in our office which we would like to migrate Vigil over to it however there is no ARM version available.

Will Vigil support ARM in future releases?

valeriansaliou commented 11 months ago

Hello,

An ARMv7 (32 bits) binary is published along with every Vigil release. It should work no problem on ARM 64bits CPU, do you confirm?

Latest binary: https://github.com/valeriansaliou/vigil/releases/download/v1.26.3/v1.26.3-armv7.tar.gz

NBSUKLTD commented 10 months ago

docker run valeriansaliou/vigil:latest WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

Is there a docker image for ARM64/v8?

valeriansaliou commented 10 months ago

I don’t publish ARM images at the moment.

NBSUKLTD commented 10 months ago

Would you be able to provide instructions to do this ourselves?

valeriansaliou commented 10 months ago

I think this should be as simple as wget-ing the built binaries tgz from releases and copying them into a base ARM64 Alpine image using your local Docker. Let me know if that works and I can figure out a solution at project level, because I don’t want to use QEMU to build ARM64 images from GH Actions, it’d be too slow.

eKristensen commented 9 months ago

+1

I'll make it work without, but official ARM docker/podman images would be really nice to have.

eKristensen commented 9 months ago

Furthermore, the armv7 binaries provided may not run on aarch64. The "new" Hetzner AMPERE ARM VM's are aarch64-unknown-linux-gnu

eKristensen commented 9 months ago

@NBSUKLTD I manged to get vigil to run on ARM64

For anyone interested see this gist: https://gist.github.com/eKristensen/cb22a5018399c71a3cf99a584219a880

Feel free to use my script as reference or even take it as it is and use in this project.

NBSUKLTD commented 7 months ago

@eKristensen Cheers bud we got it running also thanks :)