This script will enable you to run your application locally in kubernetes so that your environment replicates production.
Runtheinstall.shscript
$ ./install.sh
-
This script will automate the following:
- Installing prerequisites.
- Setup minikube and addons.
- Installing operators.
-
A description of each stage is detailed below.
-
Prerequisites
In order to ensure versions are consistant across devices we use a tool called asdf to install and manage application versions for us, similar to
rvmornvm.brew: Install from herevirtualbox: can be installed withbrew install --cask virtualboxasdf: can be installed withbrew install asdfminikubeplugin:asdf plugin-add minikubeskaffoldplugin:asdf plugin-add skaffoldkubectlplugin:asdf plugin-add kubectl
-
Setup minikube and addons
Minikube is a tool to run a kubernetes cluster on your local machine allowing you to simulate networking as it would exist in NP and prod. We also enable 2 addons for minikube which allow us to use ingress resources, and add a DNS resolver to allow using the ingresses locally.