jfbus

by Helm

Helm chartv101.386.26App 1.386.26

JFrog jfbus Service Helm Chart

About this chart

Jfbus Helm package

Getting started - Build the helm package

This is the basic helm configuration. One can verify the configuration using:

helm lint .

To package the helm chart, run:

helm repo add helm-essentials https://entplus.jfrog.io/artifactory/api/helm/helm-essentials --username $artifactory_user --password $artifactory_password
helm dependency update
helm package .

Optional: To push the helm chart to the JFrog Artifactory, run:

curl -u $artifactory_user:$artifactory_password -T jfbus-<version>.tgz "https://entplus.jfrog.io/artifactory/jfbus-helm-jfbus-local/"

Example:
curl -u $artifactory_user:$artifactory_password -T jfbus-0.0.2.tgz "https://entplus.jfrog.io/artifactory/jfbus-helm-jfbus-local/"

verify

helm repo add helm-essentials https://entplus.jfrog.io/artifactory/api/helm/helm-essentials --username $artifactory_user --password $artifactory_password
helm search repo jfbus

JFrog Deployment

The following job is used to deploy: https://entplus-rt.jfrogdev.org/job/devops/job/platform/job/mt-services-dev-cell/

We use region dev-aps1 - as we have a dev-db in this region. DEV_CELL: is the name of the cell, use: jfbus-dev-cell MT_SERVICE: mt-jfbus

CONFIG_BRANCH / CONFIG_TAG: is the branch/tag of the jfbus-config.

Jfbus Config

https://github.jfrog.info/projects/JFROG/repos/jfbus-config/browse

This configuration is merged with the helm values to create the final configuration per environment. Example:

helm template my-jfbus-release . -f values.yaml -f /Users/igorg/projects/jfbus-config/mt-jfbus/saas-helm-values/values-jfrog-saas.yaml > final.yaml

Relevant Fields

mt-jfbus.yaml:

  • ingress_host, domains: Ingress configurations, this will expose the public URL to the world.
  • docker_repo_name, docker_repository, app_version: The location of Jfbus image
  • chart_version: The version of the helm chart - See build package above.

Deploy jfbus with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has jfbus 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 chartjfbus is pinned at v101.386.26 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