flomesh-console
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
-
Add helm repo:
helm repo add flomesh-console https://ethinx.github.io/flomesh-console-charts -
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=NodePortIf 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=NodePortif the cluster has ingress enabled, you could configure ingress during installation with option
ingress.enabled=trueand set your ingress host withingress.hosthelm 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartflomesh-console is pinned at v0.70.0-30-ubi8 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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