Difficulty: Beginner
Estimated Time: 20 minutes

Minikube

Minikube Kubernetes

Minikube is a method for creating a local, single-node Kubernetes cluster for development and testing. Setup is completely automated and doesn’t require a cloud provider account.

This scenario takes you through the basics of using Minikube. In the following steps you will learn:

  • how to install Minikube,
  • how to configure Minikube,
  • how the Minikube CLI tool differs from the Kubernetes KubeCtl tool,
  • how to inspect a cluster,
  • how addons work.

Key Features

  • Runs locally and free
  • Runs on Mac, Linux and Windows machines
  • Looks and feels like Kubernetes targeted for larger clusters
  • The community's common way to get started
  • Use locally for testing and learning
  • Supplies convenience addons for common solutions found in many clusters
  • Works well with virtual machines such as VirtualBox
  • Administer the single node cluster from the command line tool
  • Well documented and supported by the community

Minikube is not a full blown high-available cluster and should never be considered for production deployments or where security, performance and stability is expected. However, it's a very approachable tool to learn the core concepts of Kubernetes.

More about Minikube is documented here.

Conclusion

Minikube runs locally on your laptop for free and it a great way to learn and experiment with Kubernetes. While it's just a single node solution, it provides much of the same experiences found on larger multi-node clusters.

Other courses based on Minikube follow this introduction. Now that you understand Minikube, you are ready to start exploring Kubernetes.

Lessons Learned

With these steps you have learned:

  • about Minikube installation,
  • about Minikube configuration,
  • how Minikube CLI tool differs from the Kubernetes KubeCtl tool,
  • about various cluster inspection techniques,
  • about the conveniences Minikube addons.

References


For a deeper understanding of these topics and more join me, Jonathan Johnson, for a transcendent experience on the No Fluff Just Stuff Software Symposium Tour.

Minikube

Step 1 of 7

Minikube Installation

Versions

This Katacoda scenario provides a recent version of the Minikube command line tool (CLI). Katacoda has provided you a Linux virtual machine completely capable of serving up Minikube in the Bash shell to the right.

After this course, if you want to also run Minikube locally follow these installation instructions.

Check the current version of Minikube that Katacoda has provided.

minikube version

This should be reasonably close to the latest release. On average a new Minikube version is released once a month and it has a boat load of GitHub stars.

minikube update-check

The current settings can be listed.

minikube config view

In the next step Minikube will be started.

Terminal
Kubernetes Dashboard
Grafana Dashboard