airyhq / airy

💬 Open Source App Framework to build streaming apps with real-time data - 💎 Build real-time data pipelines and make real-time data universally accessible - 🤖 Join historical and real-time data in the stream to create smarter ML and AI applications. - ⚡ Standardize complex data ingestion and stream data to apps with pre-built connectors
https://airy.co/docs/core
Apache License 2.0
369 stars 44 forks source link

Optimize OS and Minikube #168

Closed ljupcovangelski closed 3 years ago

ljupcovangelski commented 4 years ago

Currently we are packaging the Airy Core Platform on an existing CentOS image and in order to make the whole package smaller, we need to user either Debian or some other alternative, to make it as slim as possible, but still to run with all the features and functionalities.

ljupcovangelski commented 4 years ago
Tested a plain empty vagrant box with the following images, and here is the size comparison. OS Image Size
Arch Linux generic/alpine310 102 MB
Alpine 3.10 archlinux/archlinux 502 MB
Centos7 (with minikube) mrvantage/centos7-minikube 1.3 GB
Centos7 minimal minimal/centos7 614 MB
Debian 9 generic/debian9 819 MB
Debian 10 generic/debian10 1GB
Ubuntu 16.04 generic/ubuntu1604 982 MB
Ubuntu 18.04 generic/ubuntu1804 1.2 GB
ljupcovangelski commented 3 years ago

We have decided to move forward with Alpine 3.10 and use k8s.io instead of Minikube, as it has the smallest footprint in terms of size.