

Minikube, is a small local Kubernetes cluster that runs on your laptop. When you want to start learning Kubernetes but you don’t want to use a full-on cluster, like AWS EKS, you can start with minikube.

Use minikube to launch a local Kubernetes cluster in a virtual machine

I’m going to be opinionated in this article, and choose minikube. They all do pretty much the same thing, which is to create a small Kubernetes cluster. Minikube: this is an instance of Kubernetes running inside a virtual machine, container, or on “bare metal” (i.e. It’s intended mainly for edge and IoT devices, but it’s also pretty good to run as a tiny, low-overhead developer cluster. K3s: - this is a micro-distribution of Kubernetes from Rancher. Kind aka “ Kubernetes- in- Docker”: You can use this to create a local test cluster. When you want to set up a local Kubernetes cluster for development, you’ve got, well, a few options: Setting up your Kubernetes cluster: so many choices… Finished for the day? You can shut down the cluster.Alternative: creating a test Pod with YAML.Run a quick example: create a Pod which prints a message.Get a quick birds-eye view in the Kubernetes Dashboard.Use kubectl to make your first interaction with the cluster.Use minikube start to boot up the cluster.Set up virtualization, so minikube can launch a cluster in a virtual machine.Use minikube to launch a local Kubernetes cluster in a virtual machine.Setting up your Kubernetes cluster: so many choices….
Docker for mac kubernetes vs minikube how to#
We’ll cover the important things: how to run a Kubernetes cluster locally on Fedora, how to interact with it, and how to run a quick smoke test. Here’s my opinionated guide to getting set up with developing for Kubernetes on Fedora.
