flomesh-console

by joaquinito2051

Helm chartv0.70.0-30-ubi8App 0.70.0-30-ubi8

A Helm chart to install flomesh-console on Kubernetes

About this chart

Installation guide

[[TOC]]

Prerequisite

Before installing flomesh-console, you need to setup a database beforehand:

  • MySQL >= 5.7
  • PostgreSQL >= v12

and create a database named flomesh, otherwide you need to set the database name.

Install the console

  1. Add helm repo:

    helm repo add flomesh-console https://ethinx.github.io/flomesh-console-charts
    
  2. Install the repo

    If you are using MySQL

    helm install \
    	--create-namespace \
    	--namespace flomesh-console \
    	flomesh-console \
    	flomesh-console/flomesh-console \
    	--set console.tag=1.0-16 \
    	--set database.host=<db addr> \
    	--set database.user=<db user> \
    	--set database.password=<db password> \
    	--set service.type=NodePort
    

    If you are using PostgreSQL

    helm install \
    	--create-namespace \
    	--namespace flomesh-console \
    	flomesh-console \
    	flomesh-console/flomesh-console \
    	--set console.tag=1.0-16 \
    	--set database.type=postgres \
    	--set database.host=<db addr> \
    	--set database.port=5432 \
    	--set database.user=<db user> \
    	--set database.password=<db password> \
    	--set service.type=NodePort
    

    if the cluster has ingress enabled, you could configure ingress during installation with option ingress.enabled=true and set your ingress host with ingress.host

    helm install \
    	--create-namespace \
    	--namespace flomesh-console \
    	flomesh-console \
    	flomesh-console/flomesh-console \
    	--set console.tag=1.0-16 \
    	--set database.host=<db addr> \
    	--set database.user=<db user> \
    	--set database.password=<db password> \
    	--set ingress.enabled=true \
    	--set ingress.host=<your domain name here>
    

Deploy flomesh-console with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has flomesh-console 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 chartflomesh-console is pinned at v0.70.0-30-ubi8 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