Docker Desktop
In my opinion, Docker Desktop is the best way to get a local development cluster on your Mac or Windows laptop. With a few easy steps, you get a single-node Kubernetes cluster that you can develop and test with. I use it nearly every day.
It works by creating a virtual machine (VM) on your laptop and starting a single-node Kubernetes cluster inside that VM. It also configures your kubectl
client with a context that allows it to talk to the cluster. Finally, you get a simple GUI that lets you perform basic operations such as switching between all of your kubectl
contexts.
Note
A kubectl context is a bunch of settings that the kubectl
command uses to know which cluster to issue commands to.
Here are the steps:
- Point your web browser to www.docker.com and choose Products > Docker Desktop.
- Click the download button for either Mac or Windows.
You may need to log in to the Docker Store. Creating an account is free, and so is the product.
- Open...