Today I ran minikube on my notebook running Fedora 30. What follows is a list of steps to do that.
First, install KVM/libvirt and periphery in one go:
sudo dnf install @virtualization sudo systemctl start libvirtd sudo systemctl enable libvirtd
Do a bit of verification:
lsmod | grep kvm kvm_intel 303104 0 kvm 782336 1 kvm_intel irqbypass 16384 1 kvm
Set up the most recent minikube release:
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 sudo mkdir -p /usr/local/bin/ sudo install minikube /usr/local/bin/
Start minikube using the kvm2 driver:
$ minikube start --vm-driver=kvm2 π minikube v1.7.1 on Fedora 30 β¨ Using the kvm2 driver based on user configuration πΎ Downloading driver docker-machine-driver-kvm2: > docker-machine-driver-kvm2.sha256: 65 B / 65 B [-------] 100.00% ? p/s 0s > docker-machine-driver-kvm2: 13.82 MiB / 13.82 MiB 100.00% 1.19 MiB p/s 1 πΏ Downloading VM boot image ... > minikube-v1.7.0.iso.sha256: 65 B / 65 B [--------------] 100.00% ? p/s 0s > minikube-v1.7.0.iso: 166.68 MiB / 166.68 MiB [-] 100.00% 9.21 MiB p/s 19s π₯ Creating kvm2 VM (CPUs=2, Memory=2000MB, Disk=20000MB) ... π³ Preparing Kubernetes v1.17.2 on Docker '19.03.5' ... πΎ Downloading kubeadm v1.17.2 πΎ Downloading kubelet v1.17.2 πΎ Downloading kubectl v1.17.2 π Pulling images ... π Launching Kubernetes ... π Enabling addons: default-storageclass, storage-provisioner β Waiting for cluster to come online ... π Done! kubectl is now configured to use "minikube" π‘ For best results, install kubectl: https://kubernetes.io/docs/tasks/tools/install-kubectl/
Leave a Reply