jertel / elastalert2

ElastAlert 2 is a continuation of the original yelp/elastalert project. Pull requests are appreciated!
https://elastalert2.readthedocs.org
Apache License 2.0
902 stars 284 forks source link

Support for Arm architectures #681

Closed rdomloge closed 2 years ago

rdomloge commented 2 years ago

I have a kubernetes cluster running ElasticSearch 7.14 and would really like to use ElastAlert2 to monitor it. It should be as simple as adjusting your build pipeline to build for multi architectures:

docker buildx build --platform linux/amd64,linux/arm64 -t jertel/elastalert:2.3.1 . --push

This command will take quite a bit longer, so not desirable during development iterations, just release. I cloned the repo and ran it myself, and it seems to work fine.

jertel commented 2 years ago

This is implemented for Docker Hub only. Currently the latest tag has amd64 and arm64. armv7 is always problematic due to rust/crypto/cffi broken deps so I've opted to leave it out. If there's demand I may also push multi-arch up to the GitHub CR, but for now arm64 is only available on Docker Hub.