Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Helm chart for FME Flow

A Helm chart to deploy FME Flow (2024.1 and newer) on Kubernetes, built on top of the camptocamp/helm-application chart.

Migrating an existing deployment from the Safe Software fmeflow chart? See MIGRATION.md.

Components

Service Kind Description
core StatefulSet The dbinit initContainer (database schema creation/migration) and the core, web (UI, port 8080) and fmeutility containers
queue StatefulSet The FME Flow queue
websocket StatefulSet The web UI notifications
engine-standard Deployment The STANDARD engine group
engine-dynamic Deployment The DYNAMIC engine group (disabled by default)

All the object names are generated from the Helm release name (the helm-application naming conventions), several FME Flow instances can be deployed in the same namespace with different release names (each instance needs its own database, system share and hostname).

Include this chart as dependency of your own chart

With the OCI repository (recommended, this is what ArgoCD uses):

dependencies:
  - name: fmeflow
    repository: oci://ghcr.io/camptocamp/helm-fmeflow
    version: <version-number-here>

The chart values are then under the fmeflow: key, the helm-application values are under the fmeflow.fmeflow: key.

Configuration

See the examples and the comments in values.yaml.

FME Flow version

All the images use the same tag, set it in every container, or override the fmeflow-version YAML anchor usage with your own values, for example:

fmeflow:
  fmeflow:
    services:
      core:
        initContainers:
          dbinit:
            image:
              tag: '2026.3.1'
        containers:
          core:
            image:
              tag: '2026.3.1'
          web:
            image:
              tag: '2026.3.1'
          fmeutility:
            image:
              tag: '2026.3.1'
      queue:
        containers:
          queue:
            image:
              tag: '2026.3.1'
      websocket:
        containers:
          websocket:
            image:
              tag: '2026.3.1'
      engine-standard:
        containers:
          engine:
            image:
              tag: '2026.3.1'

The sha property of the images can be used to pin the digests (filled by the image hash automation in the argocd-gs-*-apps repositories).

Deployment wide configuration

The external hostname and the FME Flow tuning live in a ConfigMap (fmeflow.fmeflow.configMaps.content) injected as environment variables in the containers, override the values there instead of overriding every container:

fmeflow:
  fmeflow:
    configMaps:
      content:
        EXTERNALHOSTNAME:
          value: fme.example.com
        AZUREPOSTGRESQL:
          value: 'true' # Azure Database for PostgreSQL, the username (in the
          # database Secret) must then be in the <user>@<host> format
        POSTGRESQLSSL:
          value: 'true'

Database

The database connection and credentials are read from a Secret with these keys:

Key Environment variable Used by
hostname PGSQLHOSTNAME all the components
port PGSQLPORT all the components
database PGSQLDATABASENAME all the components
username PGSQLUSERNAME all the components
password PGSQLPASSWORD all the components
admin-username PGSQLADMINUSER the dbinit initContainer
admin-password PGSQLADMINPASSWORD the dbinit initContainer
admin-database PGSQLADMINDATABASE the dbinit initContainer

Recommended: enable the ExternalSecret rendered by the chart, its target Secret name is generated from the release name and the PGSQL* environment variables are automatically linked to it (self-external-secret-database):

fmeflow:
  fmeflow:
    externalSecrets:
      database:
        enabled: true
        refreshInterval: 1h
        secretStoreRef:
          kind: SecretStore
          name: my-secret-store
        data:
          hostname:
            remoteRef:
              key: my-pg-host
          port:
            remoteRef:
              key: my-pg-port
          database:
            remoteRef:
              key: my-fmeflow-database
          username:
            remoteRef:
              key: my-fmeflow-username
          password:
            remoteRef:
              key: my-fmeflow-password
          admin-username:
            remoteRef:
              key: my-admin-username
          admin-password:
            remoteRef:
              key: my-admin-password
          admin-database:
            remoteRef:
              key: my-admin-database

The remote references can be shared between the keys (for example admin-username and username pointing to the same remote key), see the external-db-traefik example.

Alternative: manage the Secret yourself (an ExternalSecret in your own chart, a SealedSecret, ...), and override the name of the PGSQL* environment variables (type: secret) in the containers that use them: core, web, fmeutility and dbinit (plus the admin-* keys for dbinit), and every engine service.

Storage

The FME Flow system share is a PersistentVolumeClaim (fmeflow.fmeflow.persistentVolumeClaims.data) mounted by all the components in /data/fmeflowdata, it should be ReadWriteMany when the components can run on different nodes. Use fullnameOverride to reuse an existing claim (see MIGRATION.md).

Ingress and TLS

Enable the top level ingress and the ingress of the core (web UI, path /) and websocket (path /websocket) services, the TLS certificate is issued by cert-manager with the Ingress annotations:

fmeflow:
  fmeflow:
    ingress:
      enabled: true
      ingressClassName: traefik
      annotations:
        cert-manager.io/cluster-issuer: letsencrypt-prod
        traefik.ingress.kubernetes.io/router.tls: 'true'
      hostGroups:
        main:
          hosts:
            - fme.example.com
          tls:
            enabled: true
            secretName: fme-tls
    services:
      core:
        ingress:
          enabled: true
      websocket:
        ingress:
          enabled: true

Image pull secrets

The FME Flow images are on Docker Hub (safesoftware/*), reference existing docker registry secrets with fmeflow.fmeflow.global.image.pullSecrets.

Health checks

The liveness/readiness/startup probes are enabled by default, disable them by setting the probes to {} in the corresponding containers.

Contributing

Install the pre-commit hooks (we use prek):

prek install --allow-missing-config --config=.pre-commit-config.yaml

The golden files in tests/ are generated from the examples/ by the helm-template-gen pre-commit hook, they can also be regenerated with:

make gen-expected

To run an example on a local cluster (k3d/kind), see the Makefile:

make example-basic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages