yay -S minikube kubectl docker-machine-driver-kvm2 libvirt qemu-headless ebtables
sudo systemctl enable libvirtd.service
sudo usermod -a -G libvirt $(whoami)
sudo virsh net-autostart default
minikube config set vm-driver kvm2
If you're using Manjaro, make the free command the default free command.
unalias free
MEMORY_FRACTION=4
minikube config set memory "$(($(free --mega | head -n2 | tail -n1 | cut -c15-27)/$MEMORY_FRACTION))"
minikube start
kubectl cluster-info
minikube dashboard
Recommended Posts