Skip to Content
Quarkus Cookbook
book

Quarkus Cookbook

by Alex Soto Bueno, Jason Porter
July 2020
Intermediate to advanced
392 pages
7h 20m
English
O'Reilly Media, Inc.
Book available
Content preview from Quarkus Cookbook

Appendix A. Minikube

All the recipes in the book that involve a Kubernetes cluster have been tested in minikube; however, they should also work in any other Kubernetes cluster.

Minikube is a tool that makes it easy to run Kubernetes locally instead of in a remote Kubernetes cluster.

In this book, minikube 1.7.3 and Kubernetes 1.17.3 has been used; but again, any other version should be fine because no advanced techniques are used. Minikube requires a hypervisor to be installed. We recommend you use the VirtualBox hypervisor. In our experience, this is the most portable and stable way to run minikube.

How you install minikube, VirtualBox, and kubectl might depend on the system you are running, so we are providing the links where you can find the instructions to install each of these components:

After installing all the software, you can start minikube by opening a terminal window and running the following:

minikube start --vm-driver=virtualbox --memory='8192mb' \
    --kubernetes-version='v1.17.3'

ߙ䠠[serverless] minikube v1.7.3 on Darwin 10.15.3
✨  Using the virtualbox driver based on user configuration
⌛  Reconfiguring existing host ...
ߔ䠠Starting existing virtualbox VM for "default" ...
ߐ㠠Preparing Kubernetes v1.17.3 on Docker 19.03.6 ...
ߚࠠLaunching Kubernetes ...
ߌEnabling addons: dashboard, default-storageclass, storage-provisioner
ߏ䠠Done! kubectl is now configured to use "default"

Then, configure the docker CLI to use the minikube docker host: ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java Cookbook, 4th Edition

Java Cookbook, 4th Edition

Ian F. Darwin
Vert.x in Action

Vert.x in Action

Julien Ponge
React Cookbook

React Cookbook

David Griffiths, Dawn Griffiths
JavaScript Cookbook, 3rd Edition

JavaScript Cookbook, 3rd Edition

Adam D. Scott, Matthew MacDonald, Shelley Powers

Publisher Resources

ISBN: 9781492062646Errata PageSupplemental Content