fmtok8s-frontend

by joaquinito2051

Helm chartv0.1.3

FMTOK8s Frontend Service Helm chart for Kubernetes

About this chart

From Monolith to K8s :: Frontend Helm Chart

To install this chart you need to run:

helm repo add fmtok8s https://github.com/salaboy/helm
helm repo update
helm install frontend fmtok8s/fmtok8s-frontend

Options

  • Enable Prometheus Service Monitor: prometheus.enabled=false, by default is set to false
  • Enable Knative Service deployment: knative.enable=false, by default is set to false

Running helm tests

This project uses helm unittest plugin to run tests.

After installing unittest plugin, run the following command (on root folder):

    helm unittest helm/fmtok8s-frontend --helm3

Deploy fmtok8s-frontend with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has fmtok8s-frontend on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartfmtok8s-frontend is pinned at v0.1.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply