Minikube

From ArchWiki

This article or section is a candidate for merging with List of applications.

Notes: Not enough content to make an article. (Discuss in Talk:Minikube)

Minikube lets you quickly setup a local Kubernetes cluster. It supports the use of Virtual Machines, containers and even bare metal as its driver.

Installation

Install minikube or minikube-gitAUR for those that prefer the latest development version.

QEMU in Minikube

To use QEMU in minikube, the following packages are required:

Additionally the current user needs to be in the libvirt user group.

Start the libvirtd.service unit and check its unit status for any issues.

Then set the kvm2 provider in minikube:

minikube config set driver kvm2

And start it:

minikube start

Rootless Docker

See Docker#Rootless Docker daemon for docker setup.

Configure Internet sharing#Enable packet forwarding to allow outbound network requests from pods.

Start minikube:

minikube start --driver=docker --container-runtime=containerd

Test network:

kubectl run -it --rm --restart=Never --image alpine tmp -- sh
ping 1.1.1.1
ping archlinux.org
ping host.minikube.internal