Kubernetes is a complete container orchestration platform, allowing engineers to run a fleet of containers across multiple machines. Minikube is a simplified version that makes the process of running it locally on a single machine easier. The official Kubernetes docs maintain an Install Tools page with installation instructions, but installation instructions have been repeated here for your reference.
Minikube is available by installing a Debian package (RPM packages are also available). Kubectl, on the other hand, can be installed by downloading a binary and putting it in your $PATH. Run the following commands to install Minikube and Kubectl on a Debian-based (including Ubuntu) machine:
$curl -LO https://storage.googleapis.com/minikube/releases\/latest/minikube_1.9.1-0_amd64.deb$sudo dpkg -i minikube_1.9.1-0_amd64.deb$curl -LO https://storage.googleapis.com/kubernetes-release\/release/v1.18.2/bin/linux/amd64/kubectl$chmod +x ./kubectl$sudo mv kubectl /usr/bin/
Docker Desktop already comes with Kubernetes! That said, by default it’s disabled. To enable it, launch the Docker Desktop tool by clicking the Docker icon in your menu bar and then clicking the Preferences option. In the screen that comes up, click the Kubernetes tab. Finally, click the Enable Kubernetes checkbox and then click Apply & Restart. It may take a couple of minutes, but the UI should update and say that Kubernetes is running.
Next, you’ll want to install Minikube, a tool that simplifies some of the operations of running Kubernetes on your local computer. Run the following commands to get that squared away:
$ brew install minikube