dirigible

by Dirigible Labs

Helm chartv10.6.37App 10.6.37EPL-2.0Verified publisher

Eclipse Dirigible provides both development tools (Web IDE) and runtime environment for In-System Development and Low-Code/No-Code Development.

About this chart

Eclipse Dirigible

Eclipse Dirigible is a cloud development platform providing development tools (Web IDE) and runtime environment (Java based) for In-System Development and Low-Code/No-Code Development.

Overview

This chart bootstraps a Eclipse Dirigible deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.19+
  • Helm 3+

Setup

Add the Eclipse Dirigible chart repository:

helm repo add dirigible https://eclipse.github.io/dirigible
helm repo update

Deployment

Basic:

helm install dirigible dirigible/dirigible

Note: This will install Eclipse Dirigible Deployment and Service with ClusterIP only.

To access the Dirigible instance execute the command that was printed in the console, similar to this one:

export POD_NAME=$(kubectl get pods --namespace default -l "app.kubernetes.io/name=dirigible,app.kubernetes.io/instance=dirigible" -o jsonpath="{.items[0].metadata.name}")
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl --namespace default port-forward $POD_NAME 8080:8080    

Navigate to: http://127.0.0.1:8080

Login with: dirigible/dirigible

Kubernetes

Basic:

helm install dirigible dirigible/dirigible \
--set ingress.enabled=true \
--set ingress.host=<ingress-host>

Note: This will expose the Dirigible instance through Ingress host (http://...) .

Basic with PostgreSQL:

helm install dirigible dirigible/dirigible \
--set ingress.enabled=true \
--set ingress.host=<ingress-host> \
--set database.enabled=true

Note: This will install also PostgreSQL database with 1Gi storage and update the Dirigible datasource configuration to consume the database.

Custom Configurations

The deployment configuration can be customized by specifying the customization parameters with the helm install command using the --values or --set arguments. Find more information in the configuration section of this document.

Upgrading

Upgrade the chart deployment using:

helm upgrade dirigible dirigible/dirigible

The command upgrades the existing dirigible deployment with the most latest release of the chart.

TIP: Use helm repo update to update information on available charts in the chart repositories.

Uninstalling

Uninstall the dirigible deployment using:

helm uninstall dirigible

The command uninstall the release named dirigible and frees all the kubernetes resources associated with the release.

Configuration

The following table lists all the configurable parameters expose by the Dirigible chart and their default values.

Generic

NameDescriptionDefault
dirigible.imageCustom Dirigible image""
image.repositoryDirigible image repodirigiblelabs/dirigible
image.pullPolicyImage pull policyIfNotPresent
service.typeService typeClusterIP
service.portService port8080
replicaCountNumber of replicas1
imagePullSecretsImage pull secrets[]
nameOverrideName override""
fullnameOverrideFullname override""
podSecurityContextPod security context{}
nodeSelectorNode selector{}
tolerationsTolerations[]
affinityAffinity{}
resourcesResources{}

Basic

NameDescriptionDefault
volume.enabledVolume to be mountedtrue
volume.storageVolume storage size1Gi
database.enabledDatabase to be deployedfalse
database.imageDatabase imagepostgres:14
database.driverDatabase JDBC driverorg.postgresql.Driver
database.storageDatabase storage size1Gi
database.usernameDatabase usernamedirigible
database.passwordDatabase passworddirigible
ingress.enabledIngress to be createdfalse
ingress.annotationsIngress annotations{}
ingress.hostIngress host""
ingress.tlsIngress tlsfalse

Keycloak

NameDescriptionDefault
keycloak.enabledKeycloak environment to be usedfalse
keycloak.installKeycloak to be installedfalse
keycloak.nameKeycloak deployment namekeycloak
keycloak.imageKeycloak imagejboss/keycloak:16.1.1
keycloak.usernameKeycloak usernameadmin
keycloak.passwordKeycloak passwordadmin
keycloak.replicaCountKeycloak number of replicas1
keycloak.realmKeycloak realm to be setmaster
keycloak.clientIdKeycloak clientId to be useddirigible
keycloak.database.enabledKeycloak database to be usedfalse
keycloak.database.enabledKeycloak database to be usedtrue
keycloak.database.imageKeycloak database imagepostgres:13
keycloak.database.storageKeycloak database storage size1Gi
keycloak.database.usernameKeycloak database usernamekeycloak
keycloak.database.passwordKeycloak database passwordkeycloak

Usage

Specify the parameters you which to customize using the --set argument to the helm install command. For instance,

helm install dirigible dirigible/dirigible --set ingress.enabled=true --set ingress.host=my-ingress-host.com

The above command sets the ingress.host to my-ingress-host.com.

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,

helm install dirigible dirigible/dirigible --values values.yaml

Tip: You can use the default values.yaml.

Deploy dirigible with OpenTenant

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