Looking at putting together a "little" lab.
Thinking of building up to 4 or 5 RPI4's with 4GB each.
Want to then drop K8S onto them.
Not sure how I will do persistent storage, as a start might just give them each a 64GB SD card and carve that up.
Has anyone gotten this working, aka ElasticSearch and Kibana on RPi4's on K8S ?
Otherwise a straight 4 x ElasticSearch on Native Raspberry, on base OS.
In order to be able to use easily Elasticsearch and Kibana on raspberrypi (with arm32 and aarch64 operating system) I made available on dockerhub, the following OCI images:
Here's the git repository containing the Dockerfiles and documentations: oss / elasticstack / elasticstack-arm · GitLab (the docker images are built on raspberrypi using as gitlab runners then pushed on the dockerhub).
I'll keep them up to date with the right tags until elastic will take care of it. They're already providing aarch64 images but until raspberrypi OS deliver a stable version of an aarch64 operating system, the marority of those devices are still running on a 32 bits OS.
Here's an example of docker-compose file you can use on a single raspberrypi:
Then your kibana is accessible on http://{your_raspberrypi}:5601 and your elasticsearch api on http://{your_raspberrypi}:9200. This is working pretty fine with a raspberrypi 4 model B 8gb ram. If you're using 4gb of ram models, I would recommend to use two of them or maybe you don't need to use Kibana for your project. I also advise you tu use a model 4 in order to be able to boot on a SSD drive instead of an SD flash.
If your using K8S instead of docker-compose, you can handle by yourself to make your own helmchart or kustomize with the same OCI images. You also can use kompose to make it quick, I also made an api for that purpose: oss / kompose-api · GitLab
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.