Kubernetes - sheaphillips/common-hosted-form-service GitHub Wiki

Description

Optionally, you can develop locally on Kubernetes which is how CHEFS is deployed in production.

Prerequisites

Kubernetes

You'll need to install Kubernetes on your machine, in this tutorial, we'll be using minikube. You can follow this install guide for your operating system.

MacOS

First install Docker as your driver, and have Docker running.

brew install minikube

minikube start

Terraform

Follow the install guide for your operating system to install Terraform.

Setup

Initialize Terraform:

terraform init

Apply the Terraform file to deploy it:

terraform apply

Tunnel

minikube tunnel