For instance the Raspberry Pi 4 comes with enough memory (2G) to be able to run Minikube.
Currently it only runs directly on the host with the none driver which is not ideal, but "works".
Docker is available in the standard distribution, packaged in the Raspbian/Debian distribution.
For compatibility this is a 32-bit Linux distro which means we need to supply arm binaries.
Example session:
pi@raspberrypi:~ $ sudo minikube start --vm-driver=none
đ minikube v1.7.3 on Raspbian 10.3 (arm)
⨠Using the none driver based on user configuration
𤚠Running on localhost (CPUs=4, Memory=1887MB, Disk=29729MB) ...
âšī¸ OS release is Raspbian GNU/Linux 10 (buster)
đŗ Preparing Kubernetes v1.17.3 on Docker 18.09.1 ...
đ Launching Kubernetes ...
đ Enabling addons: default-storageclass, storage-provisioner
𤚠Configuring local host environment ...
â ī¸ The 'none' driver provides limited isolation and may reduce system security and reliability.
â ī¸ For more information, see:
đ https://minikube.sigs.k8s.io/docs/reference/drivers/none/
â ī¸ kubectl and minikube configuration will be stored in /root
â ī¸ To use kubectl or minikube commands as your own user, you may need to relocate them. For example, to overwrite your own settings, run:
âĒ sudo mv /root/.kube /root/.minikube $HOME
âĒ sudo chown -R $USER $HOME/.kube $HOME/.minikube
đĄ This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true
â Waiting for cluster to come online ...
đ Done! kubectl is now configured to use "minikube"
If you are running a desktop environment on a 2G machine, you want to enable a swapfile.
pi@raspberrypi:~ $ free -m
total used free shared buff/cache available
Mem: 1887 552 208 44 1127 1260
Swap: 2047 1 2046
pi@raspberrypi:~ $ tail -5 /etc/dphys-swapfile
# restrict size (computed and absolute!) to maximally this limit
# can be set to empty for no limit, but beware of filled partitions!
# this is/was a (outdated?) 32bit kernel limit (in MBytes), do not overrun it
# but is also sensible on 64bit to prevent filling /var or even / partition
CONF_MAXSWAP=2048
See also the original #5667 for running on arm64 (like ubuntu 18.04/19.10)
https://ubuntu.com/blog/roadmap-for-official-support-for-the-raspberry-pi-4
this would be really cool !
It is now available here:
https://storage.googleapis.com/minikube/releases/latest/minikube-linux-arm
Most helpful comment
It is now available here:
https://storage.googleapis.com/minikube/releases/latest/minikube-linux-arm