Development Kubernetes cluster under 3 minutes


Before building our first cluster, we will need to install Vagrant¹ and VirtualBox². Vagrant is an excellent tool for describing development environments in a declarative way and VirtualBox is used to deploy those environments. Both applications are available for Windows, macOS, and Linux.


Download the following file to a new directory:

  • 5 —get and execute k3s installation script
  • 6 — get and execute Helm installation script (Helm is the package manager for Kubernetes)
  • 9–11 — install Longhorn — Longhorn is highly available persistent storage for Kubernetes. A Helm package storing persistent data to Longhorn, can be easily deployed to a public cloud provider like AWS or GCP by replacing storage type Longhorn for AWSElasticBlockStore or GCEPersistentDisk.
  • 17 — IP address to access services deployed on your new Kubernetes cluster from hosting OS
  • 21–22 — the size of virtual machine



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Tomáš Sapák

Tomáš Sapák

DevOps engineer, automation, and orchestration enthusiast. Love working with AWS and OpenStack.